Quote:
Originally Posted by MTK358
It's neither of those two.
It's a terminal emulator issue. Actually it isn't an issue, because that's the way it's supposed to work.
As I understand, many terminal emulators detect if an app uses ncurses (Google if you don't know what it is), and if so, enters a special mode, and then returns to the original mode when the program exits. I'm not sure how it works if if that's really the way it works, though.
|
Hi,
I figured out why the two behaviors are different and how to switch in between them.
The behavior depends on the terminal emulation used on the Linux box (xterm, screen, ansi, etc).
The first behavior shows when using xterm terminal emulation on Linux. This means that TERM environment variable is set to "xterm".
The second behavior shows when using ansi terminal emulation on Linux. This means that TERM environment variable is set to "ansi".
To switch from the second behavior to the first:
1- Edit your .cshrc (assuming the use of csh)
2- Add the following line at the bottom:
setenv TERM "xterm"
3- source .cshrc
4- Give it a try
Thank you for your responses.
Cheers