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

Re: How to *not* restore screen after viewing man pages in X



  BillM> When I view a man page or run vi or nano from xterm or Konsole and then
  BillM> exit, the screen is restored to the way it was before I started the
  BillM> program.
  BillM> 
  BillM> This doesn't happen when not running X.  How do I
  BillM> disable this?  I like to be able to scroll down in a man
  BillM> page, exit, and leave that text viewable.

  Matijs> Weird ... the problem doesn't happen on my machine at all. However, I
  Matijs> use gnome-terminal, not xterm, so that might make a difference.
  Matijs>
  Matijs> ...
  Matijs>
  Matijs> Yes, after installing and running xterm, I can confirm that. Is there
  Matijs> someone who knows why?

Look at the xterm resource "titeInhibit".  Set it to True to stop
the xterm from resetting after less.

You can test it like this:

  xterm -xrm "XTerm*titeInhibit:True"

and then put it in your .Xdefaults file (or whatever you favor).

HTH,

- Bill
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Bill Benedetto     <bbenedetto@goodyear.com>    The Goodyear Tire & Rubber Co.
I don't speak for Goodyear and they don't speak for me.  We're both happy.


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: