Re: Help understanding changed terminal behavior in Leopard?
Re: Help understanding changed terminal behavior in Leopard?
- Subject: Re: Help understanding changed terminal behavior in Leopard?
- From: Mike Sliczniak <email@hidden>
- Date: Fri, 17 Oct 2008 12:47:42 -0500 (CDT)
Hi Johnathan,
Terminal.app in Leopard is a much poorer terminal emulator in Leopard than
it was in Tiger for various reasons. Basically it added tabs (perfectly
useless due to the screen program) and took away the horizontal spilt
that worked with the alternate screen while breaking many emulation
features.
What you are looking for is emulation of 'alternate screen' and I think
this is one of the features that disappeared in the Terminal.app in
Leopard. Due to other bugs in Terminal.app I have to set the TERM
enviroment variable to dtterm to get various programs to redraw correctly
so i am not 1005 sure that the alternate screen feature is missing but it
most likely is. Try setting your terminal emulation in the prefs to xterm.
On my system with TERM set to xterm and the default terminfo files xterm
running under X11.app supports the alternate screen correctly. In fact by
default if you ctrl middle click the xterm you get the VT menu and the
last option toggles the screens.
You can verify that you have this sanely in your terminfo files with this
command:
$ infocmp xterm | grep '[rs]mcup'
rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>,
sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h,
Look for rmcup and smcup to not be empty.
Also tput smcup should put you into the alternate screen and tput rmcup
should get you back (if you have term set correctly and your terminal
emulator configured right which xterm is by default).
I hope that gets you on the right track and personally I would abandon
Terminal.app.
mzs
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden