SCOUG-HELP Mailing List Archives
Return to [ 04 | 
March | 
2004 ]
<< Previous Message << 
 >> Next Message >>
 
 
 
=====================================================  
If you are responding to someone asking for help who  
may not be a member of this list, be sure to use the  
REPLY TO ALL feature of your email program.  
=====================================================  
 
In <40477399.1D0@peterskye.com>, on 03/04/04   
   at 10:20 AM, Peter Skye  said:  
>Doesn't work here.  The command  
 
>    less -z 15 
>still displays a full window (more than 15 lines) of text.  So do  
 
As I mentioned, less might not be quite what you are looking for.  -z does  
not set the window size, it sets the scrolling rate.  This value applies  
to commands like ^B and ^F not to filling the first screen.  
 
If you do:  
 
  mode co80,15  
 
then you will get a 15 line display.  An alternative, which I mentioned  
before, is to use:  
 
  head -15 
but that's only going to slow the first 15 lines.  
 
>The less --help screen says "Commands marked with * may be preceded by a  
>number, N" but apparently that's wrong because specifying -15z gives an  
>error saying the number should be after the z.  
 
True.  You are misreading the help.  Commands are commands.  Option  
switches are option switches.  
 
>I also tried -y15 ("maximum forward scroll") but that doesn't work either  
>(it scrolls a full screen of lines just like -z15).  
 
You need to read the man page. -y does not mean what you appear to assume  
it means.  
 
>What am I doing wrong?  All I want to do is scroll 15 lines at a time  
>onto the screen.  I don't see any other options in --help that might do  
>this.  
 
-z does control the scroll rate.  There's something wrong with how you are  
testing this.  Fill your test file with line numbers so you can see how  
much movement there really is.  
 
Regards,  
 
Steven  
 
--   
----------------------------------------------------------------------  
"Steven Levine"   MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4  
www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST)  
----------------------------------------------------------------------  
 
=====================================================  
 
To unsubscribe from this list, send an email message  
to "steward@scoug.com". In the body of the message,  
put the command "unsubscribe scoug-help".  
 
For problems, contact the list owner at  
"rollin@scoug.com".  
 
=====================================================  
 
  
<< Previous Message << 
 >> Next Message >>
Return to [ 04 | 
March | 
2004 ] 
  
  
The Southern California OS/2 User Group
 P.O. Box 26904
 Santa Ana, CA  92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group.  ALL RIGHTS 
RESERVED. 
 
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International 
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
 
     |