Commit Graph

40 Commits

Author SHA1 Message Date
hoek
8e86db4f63 Document another (less-virulent) CRLF-related bug. 1999-05-02 18:17:23 +00:00
hoek
f1cf11464c 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
hoek
914fbad87e Ignore (effectively) SIGTSTP if we're already in the process of tstoping. 1998-08-03 03:11:09 +00:00
hoek
c6f8c1ac57 Fix coredump when two signals are sent in rapid succession.
PR:		bin/5721
Submitted by:	Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>

Also, add "volatile" to a variable modified by signal handlers (coincidentally,
the same variable involved in the above fix, although this isn't related
to the reported problem).
1998-07-31 04:05:11 +00:00
hoek
e53259c876 Fix compilation for the case where neither ioctl(TIOCGWINSZ)
nor ioctl(WIOCGETD) exist.  This case doesn't occur under FreeBSD.

PR:		bin/5996
Submitted by:	Max Euston <meuston@jmrodgers.com>
1998-07-26 16:15:26 +00:00
hoek
e15b79593e Really delete -# option. 1998-07-25 05:58:04 +00:00
hoek
14feb7af61 Nuke obsolote and broken -# option.
Order options.

PR:		bin/5996
Submitted by:	Max Euston <meuston@jmrodgers.com>
1998-07-25 05:56:49 +00:00
hoek
1a99878b02 Keep "-c" (top_scroll) through viewing help.
PR:		bin/5996
Submitted by:	Max Euston <meuston@jmrodgers.com>
1998-07-25 05:28:32 +00:00
hoek
e215c2fc19 Fix bug from last commit: don't SEGV when reading as part of a pipe. 1998-07-04 01:22:07 +00:00
hoek
a0377d88f2 Use '-e' when viewing helpfile. 1998-07-03 23:01:33 +00:00
hoek
78fd5d8a82 Prevent recursive help)elp)elping. 1998-07-03 17:12:10 +00:00
steve
aa2a06ad6f sprintf -> snprintf to avoid potential buffer overflow.
PR:		6907
Submitted by:	Archie Cobbs <archie@whistle.com>
1998-06-14 16:03:40 +00:00
charnier
1bf317d31f .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
jb
90101d60e8 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
eivind
0fc63481b2 Fix fencepost error.
PR:		4170
Submitted by:	Harlan Stenn <Harlan.Stenn@pfcs.com>
1997-08-12 14:42:39 +00:00
charnier
be7b4ad6c6 Add usage(). 1997-07-29 06:42:33 +00:00
bde
7f1e5e7fba Removed inconsistent declaration of malloc(). `make world' with DESTDIR
set to something other than "/" now actually works.
1997-04-23 10:16:58 +00:00
imp
cd84ece5fd compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
joerg
a4daaaacd7 Make more not immediately exit on a short file, if the -e option is
given.  This makes more -e basically usable at all when your termcap
entry supports an alternate screen buffer (like xterm-r6).

I wonder whether we should make more -e the default.  Oure more seems
to be the only one on the world with this funny behaviour.

2.2 candidate

Submitted by:	dawes@rf900.physics.usyd.edu.au (David Dawes)
1997-03-02 18:55:42 +00:00
peter
aef78d145b Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
ache
d47d8cad95 include ctype.h to pick isprint macro 1997-01-12 13:34:13 +00:00
ache
55fd4760f4 Pick collate info for RE character ranges 1996-08-11 16:22:47 +00:00
adam
1fec2f0485 Document the CRLF bug 1996-01-22 03:48:47 +00:00
adam
aebad79f91 'more | cat' was producing spurious output from an unused buffer 1996-01-22 01:30:03 +00:00
ache
919c7de63d Add setlocale LC_CTYPE 1995-10-24 05:18:36 +00:00
mpp
936867619b Fix a bug in a recent commit that broke more so that it
would no longer properly detect when "vi" was being called,
and thus would not call vi with the "+line#" argument.
1995-10-05 22:26:43 +00:00
peter
4a6353f94b Make more pass +linenumber to vi (and emacs), even if $EDITOR is used.
Closes PR#441, but with a more generic method.
1995-10-04 09:33:39 +00:00
ache
84003be56a Remove _set_ospeed, trick done in tgetent now 1995-08-05 21:25:28 +00:00
ache
65958a6f46 Replace wrong ospeed setting (overflows) with new _set_ospeed
function.
1995-08-04 06:58:45 +00:00
bde
8a5789682c Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
peter
9dce997d6d Oops! Andrey pointed out tht setlocale(LC_CTYPE, "") doesn't actually
work for locale's with multibyte characters.  Backing this out....
cvs diff -c -r1.1 -r1.2 main.c | patch -R
Reviewed by:
Submitted by:
Obtained from:
1995-07-18 01:03:46 +00:00
peter
16d939e739 Make 'more' sensative to the current locale for it's ctype calls.
Reviewed by:
Submitted by:	Thomas Gellekum, with minor cosmetic changes from me.
Obtained from:
1995-07-17 12:37:50 +00:00
rgrimes
79e59e9123 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
wollman
21020c88f2 more now uses POSIX regular expressions and no longer needs libcompat. 1995-02-21 03:46:48 +00:00
ache
5d3bd309c1 Back out part of ctype fixes, unneded with new ctypoe 1994-10-09 15:40:07 +00:00
ache
f68308c2d8 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
rgrimes
a4fe30f94c Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 22:01:45 +00:00
csgr
166a740171 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
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00