Commit Graph

12 Commits

Author SHA1 Message Date
Tim Vanderhoek 20d6e5fe6e Thorough revamp of how input commands are processed. This allows customization
of user keys (documentation pending).  The only key whose semantics have
changed is the capital 'N' key, which now performs a repeat-search in the
opposite direction (just like in vi).

This commit is a little bulkier than what I had originally planned.  I'm not
completely happy with the direction it went, but it's definately an
improvement, and the alternative is to continue becoming irrelevant compared
to GNU less.  (Does anyone even _use_ /usr/bin/more these days?)
1999-09-03 22:31:21 +00:00
Peter Wemm c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Tim Vanderhoek 5bba1d262a Don't print backspaces in first column since they backup to the prev line. 1999-06-02 03:42:39 +00:00
Tim Vanderhoek 0ac2ad320e General code cleanup [incomplete]. Make the arrow keys work. 1999-05-30 18:06:58 +00:00
Tim Vanderhoek d75db65f59 Remove documentation of CRLF bug from more.1. Sync code with manpage.
PR:		bin/961 bin/7296 (fix)
Submitted by:	Garance Alistair Drosehn <gad@eclipse.acs.rpi.edu>
1999-04-29 18:03:38 +00:00
John Birrell 6216c30a1c Add #include <string.h> to get prototypes for functions that gcc
has builtin (and wants to know that the prototypes match).
1998-02-20 04:13:29 +00:00
Andrey A. Chernov faeaf734aa include ctype.h to pick isprint macro 1997-01-12 13:34:13 +00:00
Rodney W. Grimes 7799f52a32 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
Andrey A. Chernov 833f087253 Back out part of ctype fixes, unneded with new ctypoe 1994-10-09 15:40:07 +00:00
Andrey A. Chernov c8939366a1 1) Make ctype-aware expect chars in range 0200-0204 treated
as controls in any case.
2) Fix bug with incorrect column position when standouts occurse
3) Fix bug when last standouted char cause clearing next line
in standout
1994-09-22 01:19:13 +00:00
Geoff Rehmet 7ad3ea76c0 From 1.1.5.1
>From Arne Bier <csar@cs.ru.ac.za>
while running more(1), if you enter ":a" to get the name of the file being
viewed, more dumps core when you hit enter (as prompted).
This is due to more(1) attempting to find the length of a NULL string.
Submitted by:	Geoff.
1994-09-08 21:30:51 +00:00
Rodney W. Grimes 9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00