nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] show message number scrolls off terminal?


From: Paul Fox
Subject: Re: [Nmh-workers] show message number scrolls off terminal?
Date: Sun, 08 Feb 2015 07:51:22 -0500

ralph wrote:
 > Hi Ken,
 > 
 > > > after?  i suppose if your pager does the screen switch thing, then
 > > > it might appear to come after, but it's definitely being output
 > > > before.
 > > 
 > > Oh, definitely, but the screen switching thing done by
 > > curses/termcap/terminfo for xterm.  I thought it was pretty
 > > standardized now
 > 
 > I turn it off.  Stupid idea.  I want what's displayed in less, vi, etc.,
 > to be left on the screen when I quit because it's often context for what
 > I want to continue to do at the command line.  One way is a personal

agreed.  i disable it too.  i've never understood why i would want to
hide data that i had just finished asking to be displayed.

(i also preserve what was on the screen before invoking vi with a small
wrapper that scrolls the screen by $LINES before actually invoking vi.)

paul

 > ~/.terminfo/x/xterm, another is less's -X option, which can be in $LESS,
 > `set t_ti= t_te=' in ~/.vimrc, etc.
 > 
 > Andy, `s' is less to type than `show', given ~/bin/s.  Same for p→pick,
 > n→next, b→prev.  Also gives the opportunity to apply some local tweaks,
 > e.g.
 > 
 >     $ cat ~/bin/s
 >     #! /bin/bash
 > 
 >     noshow=
 >     [[ -t 1 ]] || noshow=-noshow
 > 
 >     exec show $noshow "$@"
 >     $
 > 
 > Cheers, Ralph.
 > 
 > _______________________________________________
 > Nmh-workers mailing list
 > address@hidden
 > https://lists.nongnu.org/mailman/listinfo/nmh-workers

=----------------------
 paul fox, address@hidden (arlington, ma, where it's 22.5 degrees)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]