tcsh-org / tcsh

This is a read-only mirror of the tcsh code repository.
https://www.tcsh.org/
Other
229 stars 42 forks source link

terminal restores screen after a command exits #92

Closed greencardamom closed 6 months ago

greencardamom commented 6 months ago

I am seeking help with this question, replies here, or there. Thank you.

https://stackoverflow.com/questions/77791299/tcsh-terminal-redraw

greencardamom commented 6 months ago

The answer is change TERM from xterm to xterm-r5 .. no idea why.

greencardamom commented 6 months ago

Closing as resolved unless anyone wants to explain why or other solutions

zoulasc commented 6 months ago

You can add a resource to enable/disable switching to the alternate screen. From the manpage:

          Enable Alternate Screen Switching (resource titeInhibit)
                 Enable (or disable) switching between the normal and
                 alternate screens.  This corresponds to the titeInhibit
                 resource.  There is no corresponding command-line option.