On Mon, Jan 24, 2011 at 12:56:02PM -0800, Bill Longman wrote

> You can always call it back up. The other window, that is. Just
> Ctrl-middle-click the xterm and choose "Show alternate screen".
> 
> Presto.
> 
> It's saved my bacon more than once....

  Yes that works.  There's an even better option listed when I middle-
click.  The option "Enable Alternate Screen Switching" is checked by
default on my system.  Unchecking it disables alternate screen
switching, which does what I was asking for.  Thanks for pointing me in
the right direction.

  The ultimate solution is to make this a default.  Once I realized this
was an xterm setting, I plowed through "man xterm" and discovered...

> titeInhibit (class TiteInhibit)
>     Specifies whether or not xterm should remove ti and te termcap
>     entries (used to switch between alternate screens on startup of
>     many screen-oriented programs) from  the  TERMCAP string.   If
>     set,  xterm  also  ignores the escape sequence to switch to the
>     alternate screen.

  A Google search found
http://www.linux.org/docs/ldp/howto/XWindow-User-HOWTO/moreconfig.html
which includes the ~/.Xdefaults incantation...

 ! Do not clear the screen after the program exits
 XTerm*VT100*titeInhibit: true


-- 
Walter Dnes <waltd...@waltdnes.org>

Reply via email to