Re: screen restore after curses program

From: Wiseguy (noone_at_uber.usachoice.net)
Date: 09/30/04


Date: 30 Sep 2004 01:04:24 -0500

Bit Twister <BitTwister@localhost.localdomain> tried to express:
> On Wed, 29 Sep 2004 14:38:23 -0700, Average Joe wrote:
>> After I quit from man, emacs, mutt, slrn, or any other curses? program,
>> the screen is restored to what it was before I executed the program. How
>> do I change this behavior to not restore the screen?
>>
>> After I man something I like to still see the results of what I man'd on
>> screen so I can use it as reference.
>
> Create one or more icons on your desktop to launch other xterms, or do
> an xterm & to spin up other terminals.

For the man problem it is important to know that man uses 'more' or in
the case of linux 'less'. 'less' has a specific option that keeps
it from reseting the terminal upon exit. I think something like

export LESS=-X

will have the desired effect without relying on X11.

I haven't responded directly to the OP because his post hasn't shown
up on this newserver yet.

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----



Relevant Pages

  • Re: screen restore after curses program
    ... >> After I quit from man, emacs, mutt, slrn, or any other curses? ... >> do I change this behavior to not restore the screen? ... > Create one or more icons on your desktop to launch other xterms, ... > an xterm & to spin up other terminals. ...
    (comp.os.linux)
  • Re: screen restore after curses program
    ... >> After I quit from man, emacs, mutt, slrn, or any other curses? ... >> do I change this behavior to not restore the screen? ... > Create one or more icons on your desktop to launch other xterms, ... > an xterm & to spin up other terminals. ...
    (alt.linux)
  • Re: screen restore after curses program
    ... >> After I quit from man, emacs, mutt, slrn, or any other curses? ... >> do I change this behavior to not restore the screen? ... > Create one or more icons on your desktop to launch other xterms, ... > an xterm & to spin up other terminals. ...
    (linux.redhat)
  • Re: screen restore after curses program
    ... >> After I quit from man, emacs, mutt, slrn, or any other curses? ... >> do I change this behavior to not restore the screen? ... Or if you are using xterm, ... Other terminals might have different ways ...
    (linux.redhat)
  • Re: screen restore after curses program
    ... >> After I quit from man, emacs, mutt, slrn, or any other curses? ... >> do I change this behavior to not restore the screen? ... Or if you are using xterm, ... Other terminals might have different ways ...
    (comp.os.linux)