Article View: comp.mail.mush
Article #708Re: prompt in curses mode.
From: Barton E. Schaefer
Date: Sun, 17 Mar 1991 07:39
Date: Sun, 17 Mar 1991 07:39
28 lines
1776 bytes
1776 bytes
In article <3596@jethro.Corp.Sun.COM> johnb@barfly.corp.sun.com
(John Benninghoff) writes:
} Is there a way to disable the ...continue... prompt in curses mode?
Depends what you mean by "disable".
In general, you don't *want* to disable the ...continue... prompt. It
keeps your screen from being redrawn in circumstances where you would
not want it redrawn -- for example, if you display a message that is
too short to go through your pager, or if you use a pager like "more"
that falls off the end of the file without stopping, ...continue...
mode leaves the message on the screen instead of wiping it out and
redrawing the headers.
If there are specific commands where you want the screen to always
get redrawn after the command executes, you can always rebind those
operations using bind-macro so that a forced redraw is done at the
end. For example:
bind-macro ! [shell-escape][getline][no-op]
The [no-op] action has exaclty one effect: it causes the screen to be
redrawn when it happens at the ...continue... prompt. (I wish I could
think of a better example -- shell escapes are one of the cases where
I would want continue mode to remain ....)
--
Bart Schaefer schaefer@zipcode.com
Z-Code Software Corporation schaefer@cse.ogi.edu
Technical Details
Message-ID:
<18748@ogicse.ogi.edu>Path:
arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think.com!mintaka!ogicse!schaeferReferences:
<3596@jethro.Corp.Sun.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think.com!mintaka!ogicse!schaefer From: schaefer@ogicse.ogi.edu (Barton E. Schaefer) Newsgroups: comp.mail.mush Subject: Re: prompt in curses mode. Message-ID: <18748@ogicse.ogi.edu> Date: 17 Mar 91 07:39:05 GMT References: <3596@jethro.Corp.Sun.COM> Organization: Oregon Graduate Institute (formerly OGC), Beaverton, OR Lines: 28