Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site rna.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!cmcl2!rna!dan From: dan@rna.UUCP (Dan Ts'o) Newsgroups: net.sources.bugs Subject: Mods to less... Message-ID: <423@rna.UUCP> Date: Sun, 14-Jul-85 23:10:35 EDT Article-I.D.: rna.423 Posted: Sun Jul 14 23:10:35 1985 Date-Received: Wed, 17-Jul-85 06:28:10 EDT Organization: Rockefeller Neurobiology Lines: 37 I liked the pager "less" recently posted to net.sources, of course, most importantly its ability to go backwards. However a number of "features" I didn't like and have changed. Most try to make it more compatible with more(1) - less supports the -s option to squeeze multiple empty lines. This feature is used by man(1) which has been changed to look for alternative pagers in $PAGER and $MANPAGER. - less understands ^F, ^B, ^U, ^D as VI/more commands for f, b, u, d. - less understands "v" to jump into $EDITOR or VI. - less will quit or go to the next file after hitting the EOF of a file twice in a row. The distributed less can only be exited by "q". - less will act like cat(1)/more(1) if its standard output is not a terminal. Otherwise commands like: less file > junk will just sit there as will (depending on man), man topic | lpr If people are interested in these mods, I will post them... Perhaps someone with System 5 could tell me how pg(1) handles these and similar issues... Cheers, Dan Ts'o Dept. Neurobiology Rockefeller Univ. 1230 York Ave. NY, NY 10021 212-570-7671 ...cmcl2!rna!dan