bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: browse in ed


From: Andrew L. Moore
Subject: Re: browse in ed
Date: Tue, 7 Feb 2006 02:45:35 -0800 (PST)

I believe that the browse function you request for GNU ed already
exists.  We just use the letter `z' instead of `b'.   Syntax appears
to be the same.  From the manual:

       (.+1)zn Scrolls  n lines at a time starting at addressed line.  If n is
               not specified, then the current window size is used.  The  cur-
               rent address is set to the last line printed.

The z command is recognized by some older UNIX programs where paging
makes sense - e.g., to scan message headers in mail(1).

Mnemonic:  z is scroll-shaped (also, the last letter you'd think to
           use for browsing/paging...)
-AM

PS - GNU ed has a paging misfeature that has been removed in the upcoming
     release.
PPS - There is an upcoming release.





reply via email to

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