cgd
a8d01c6140
fix an off-by-one error (it would put up to max_chars plus NUL into the string,
...
which is one too many). Also, msgc manual page says that 'def' and 'val'
can be the same string, but the way input was done (characters typed
went directly into val) meant that the contents of 'def' would be corrupted.
If the user backspaced to the beginning of the line and hit return (to accept
the default), they'd get a combination of the old default string and the
new characters they typed. alloca() a buffer an put new input there to
avoid this problem.
1999-06-19 00:00:48 +00:00
veego
635cf4e57c
It was a bad idea to call a function 'beep'.
...
Rename it to msg_beep to avoid conflicts with the new curses.h.
1999-04-25 09:10:07 +00:00
garbled
9e44e9b578
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:16:34 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
lukem
9dee5d2b46
don't install in /usr/share if NOSHARE is defined
1998-09-27 17:22:03 +00:00
tv
482063559a
.y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
...
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
perry
6abf6a014c
<stdlib.h> -> <unistd.h> to fix compiler warning
1998-02-03 03:53:39 +00:00
lukem
3c03ef2d87
use CPPFLAGS instead of CFLAGS
1997-10-22 01:47:23 +00:00
lukem
979f7a0097
fix up .Nm usage, getopt returns -1 not EOF
1997-10-19 05:19:15 +00:00
lukem
00c29d5afe
don't define WARNS=1 here
1997-10-19 04:23:02 +00:00
mycroft
5ec8e0144d
Clean up this garbage.
1997-10-11 11:37:21 +00:00
enami
5e13aa5a50
- Include <string.h> to import the proto type of strlen().
...
- Add an empty line before inclusion of local header.
1997-10-03 16:37:25 +00:00
phil
584c2298f0
Import a simple message system with 'compiled' messages. Used by
...
the net system install program.
1997-09-26 21:16:38 +00:00