Thanks folks.  For now, I&#39;ve mod&#39;d Jim&#39;s response to:<br>alias manu=&quot;LESS=&#39;-X&#39; man<br>so I can switch between the two.<br><br>..John<br><br><div class="gmail_quote">On Mon, Jul 19, 2010 at 1:35 PM, Jim Kinney <span dir="ltr">&lt;<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">or run:<br><br>LESS=&#39;-X&#39; man foo<br><br><br>or set up an alias:<br><br>alias man=&quot;LESS=&#39;-X&#39; man&quot;<br>
<br>Nice trick. wish I&#39;d seen this a LONG time ago!<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Jul 19, 2010 at 1:25 PM, Michael B. Trausch <span dir="ltr">&lt;<a href="mailto:mike@trausch.us" target="_blank">mike@trausch.us</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>On Mon, 2010-07-19 at 10:39 -0400, Scott McBrien wrote:<br>
&gt; It&#39;s a less option to not clear the screen on exit.<br>
&gt;<br>
&gt; There is a less variable that contains commandline arguments for less.<br>
&gt; I don&#39;t remember the option off the top of my head, but it is in the<br>
&gt; less man page, as is the variable that holds the less arguments.<br>
&gt; Something like:<br>
&gt; export LESS_OPTS=&quot;-c&quot;<br>
&gt;<br>
&gt; But again, check the man page for both variable name and command opt.<br>
<br>
</div>As <a href="mailto:rs@ale.spam.futz.org" target="_blank">rs@ale.spam.futz.org</a> pointed out, use the LESS shell variable to<br>
control the behavior of the less pager.  To make it all explicit, I&#39;d do<br>
the following in your shell&#39;s startup script:<br>
<br>
MANPAGER=less<br>
LESS=&#39;-X&#39;<br>
<br>
export MANPAGER LESS<br>
<br>
Then all your shell sessions will have the same behavior.<br>
<br>
What I don&#39;t know is whether or not there will be any side effects, the<br>
man page says this:<br>
<br>
        -X or --no-init<br>
              Disables  sending  the termcap initialization and deini-<br>
<div>              tialization strings to the terminal.  This is  sometimes<br>
              desirable  if the deinitialization string does something<br>
              unnecessary, like clearing the screen.<br>
<br>
</div>It would seem to me like this could mean that you may occasionally have<br>
terminal states that less won&#39;t be able to deal with; you might have to<br>
use the reset(1) command to make things work properly in such an event.<br>
<br>
        --- Mike<br>
<div><div></div><div><br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div>-- <br><font color="#888888">-- <br>James P. Kinney III<br>I would rather stumble along in freedom than walk effortlessly in chains.<br><br><br>
</font><br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br>