Re: Stop gnome-terminal from clearing screen
- From: Karsten Bräckelmann <guenther@xxxxxxxxxxxxx>
- Date: Mon, 07 Jan 2008 19:02:14 +0100
On Fri, 2008-01-04 at 18:33 +0000, Ian Collier wrote:
On Wed, Dec 26, 2007 at 07:47:10PM +0100, Karsten Bräckelmann wrote:
On Sun, 2007-12-23 at 15:42 -0800, Bill Moseley wrote:
Is this the only method to stop gnome-terminal from clearing on
program exit at this time?
http://fixlog.blogspot.com/2006/09/stop-gnome-terminal-screen-clear.html
By "this" you are talking about the proposed sledge-hammer way of faking
a vt220 terminal by moving and symlinking? Clearly, no.
Indeed, and the comments to that blog are much more informative than the
blog itself.
As the last comment points out, if you are on a Red-Hat-flavoured system
then simply "export TERM=xterm1" will work. Otherwise, the "right" way
to go about this is to decompile the terminal description, edit it, and
recompile, as noted in the penultimate comment.
Pretty much exactly, what I posted before. :) Except for that TERM
value. Didn't check the behavior of "xterm1", but the known to exist
"linux" terminal works. The conclusion in either case is, to simply set
the variable as desired.
Another way of disabling the alternate screen is to run "screen" inside
every terminal.
Incidentally, I don't find the alternate screen annoying at all - in
fact I miss it when it's not there.
Same for me. :) I prefer the xterm style of not overwriting my
screen...
guenther
--
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list
- References:
- Re: Stop gnome-terminal from clearing screen
- From: Ian Collier
- Re: Stop gnome-terminal from clearing screen
- Prev by Date: Re: CSV NOt adjusting template
- Next by Date: Re: CSV NOt adjusting template
- Previous by thread: Re: Stop gnome-terminal from clearing screen
- Next by thread: Locking gnome panel orientation for 2.16.1
- Index(es):
Relevant Pages
|
|