Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!bcm!dimacs.rutgers.edu!aramis.rutgers.edu!paul.rutgers.edu!njin!princeton!phoenix.Princeton.EDU!pfalstad From: pfalstad@phoenix.Princeton.EDU (Paul Falstad) Newsgroups: comp.unix.questions Subject: Re: WANTED: File scroller similar to less but with more features Message-ID: <6435@idunno.Princeton.EDU> Date: 20 Feb 91 16:18:39 GMT References: <15903.27c29273@levels.sait.edu.au> Sender: news@idunno.Princeton.EDU Organization: The Royal Society For Putting Things On Top Of Other Things Lines: 29 magrw@levels.sait.edu.au wrote: >I am looking for a file scroller similar to less, but with as many of the >following features as possible: > (1) CASE-INSENSITIVE string search > (2) Intelligent usage of VT100 (and/or VT220) keys such as: > (i) Cursor keys for moving around the file > (ii) PrevScrn (instead of b) > (iii) NextScrn (instead of space bar) man less reveals that the -i option causes less to ignore case. You can make it do this every time with "setenv LESS -i". man lesskey reveals that you can chance the default bindings. Example: % cat >lesskeys [press up key] back-line # prints "^[[A back-line" on my system [press dn key] forw-line # "^[[B forw-line" [prevscrn] back-screen # "^[[5~ back-screen" [nextscrn] forw-screen # "^[[6~ forw-screen" ^D % lesskey lesskeys This will create a ~/.less file, which will be consulted whenever you run less. -- Paul Falstad, pfalstad@phoenix.princeton.edu PLink:HYPNOS GEnie:P.FALSTAD I think there should be more race prejudice. LESS race prejudice. Princeton University apologizes for the content of this article.