Re: Stop gnome-terminal from clearing screen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 TERMvalue. Didn't check the behavior of "xterm1", but the known to exist"linux" terminal works. The conclusion in either case is, to simply setthe 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 myscreen...
  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 listgnome-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux