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

Re: xterm subtleties

> I'm trying to configure xterm so that, for example, the screen isn't
> restored after exiting less.

  Hideous behavior, no?  Anyway, you're looking in the wrong place.
  If your less (vi, emacs, etc.) is compiled to read from termcap,
  edit /etc/termcap and comment out or remove the ti and te entries.
  If it uses terminfo, you'll need to use infocmp on
  /usr/lib/terminfo/x/xterm to get an ASCII version.  Then you'll
  remove the smcup and rmcup entries and rebuild the terminfo database
  with tic.  The details are left as an exercise for the reader.

Bill Wohler <wohler@newt.com>   ph: +1-415-854-1857  fax: +1-415-854-3195
Say it with MIME.  Maintainer of comp.mail.mh and news.software.nn FAQs.
If you're passed on the right, you're in the wrong lane.

Reply to: