Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normal screen scrolling non-functional in non-display mode #29

Open
blakemcbride opened this issue Oct 16, 2024 · 10 comments
Open

Normal screen scrolling non-functional in non-display mode #29

blakemcbride opened this issue Oct 16, 2024 · 10 comments

Comments

@blakemcbride
Copy link

If I bring up teco-64 in non-display mode with a large existing file e.g. teco-64 myfile.txt and then execute 100v`` the display wraps on the last line leaving teco-64 unusable. However, if I start with teco-64 -d myfile.txt it works as expected.

Although teco-64 starts by default in non-video mode, it appears to be enabling some aspect of video mode that prevents normal non-video screen scrolling from working.

@blakemcbride blakemcbride changed the title Normal screen scrolling disabled in non-display mode Normal screen scrolling non-functional in non-display mode Oct 16, 2024
@LdBeth
Copy link

LdBeth commented Oct 21, 2024

well, could you provide a file that can reproduce the problem, and the libncurses version on your system?

@blakemcbride
Copy link
Author

Hi.

Any large file (10K+ characters) will do. I am using libncurses version 6.4.

Thanks!

Blake

@LdBeth
Copy link

LdBeth commented Oct 21, 2024

It seems the problem description is confusing me a bit. teco64 -D file starts with display mode, and -1W would do the same thing. I did find 100v a large file in display mode could mess up the ncurses display, but without display mode everything works fine to me using a terminal emulator.

@blakemcbride
Copy link
Author

If you just run it exactly as I describe in my initial report, you'll see.

@blakemcbride
Copy link
Author

Were you able to reproduce the issue following my original description?

@LdBeth
Copy link

LdBeth commented Nov 3, 2024

I cannot notice anything messes up display, even when opens a binary executable and 100v, so I suppose it might be specific to the terminal emulator you use.

@blakemcbride
Copy link
Author

Okay. I will provide a detailed example ASAP. Thanks for the help!!

@blakemcbride
Copy link
Author

blakemcbride commented Nov 3, 2024

Hi.

You can get the file I am working with at: https://blakemcbride.us/files/file.txt

The following works as expected:

teco-64 -d file.txt
100v``
ex``

The following has a display line problem on the last line:

teco-64 file.txt
100v``

Thanks!

@LdBeth
Copy link

LdBeth commented Nov 4, 2024

I think you might have changed the configuration so your default is start with ncurses, where I did notice such thing as a display problem, and -d disables ncurses which is the "normal" text only output mode. Anyway, I'll start debugging and see if I can fix that.

@LdBeth
Copy link

LdBeth commented Nov 4, 2024

While I'm still figuring the ncurse thing out, I did find a workaround to clear the mess when you accidentally cause TECO-64 to type too much to the display:

^U (Ctrl u) which would clear up the prompt, and W-1W`` to restart display mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants