Andrey A. Chernov
466783eaf8
More verbose diagnostic, if fails
1994-10-31 03:03:18 +00:00
Andrey A. Chernov
6acf7a7072
Now COLS/LINES uses window cols/lines, not cols/lines from termcap entry
1994-10-31 01:48:48 +00:00
Andrey A. Chernov
c0d678dc83
Finally move DB declaration under _CURSES_PRIVATE
1994-10-28 23:38:18 +00:00
Andrey A. Chernov
986f04fb6b
Continue previous fix still
1994-10-28 23:27:57 +00:00
Andrey A. Chernov
88c2b17a8f
After some thinking better place to fix appearse curses again, not
...
vi(1). Remove DB from curses.h and still implement it provide
this variable for programs that expect it in any case.
1994-10-28 23:27:00 +00:00
Andrey A. Chernov
4b05df4e20
Rename cDB to DB back like old good BSD curses always does,
...
check ultrix for example. Real place for fix will be vi(1),
wait for next commit.
1994-10-28 23:18:26 +00:00
Poul-Henning Kamp
a1ebd387e5
Missed one reference to the DB variable.
1994-10-28 21:53:17 +00:00
Poul-Henning Kamp
1eb01a4975
Renamed a variable from 'DB' to 'cDB', so the vi(1) will compile again.
...
Nice to see that people test their fixes before they commit :-(
1994-10-28 21:39:58 +00:00
Andrey A. Chernov
3a1ed32457
Add -I${.CURDIR}
1994-10-28 06:58:04 +00:00
Andrey A. Chernov
80299b0177
Previous commit was incompleted, yet one step required
1994-10-27 23:13:53 +00:00
Andrey A. Chernov
d8f07fabd5
Fix scroll bug bringed by vi(1), from phk's flame
...
(I still wait for apologies)
1994-10-27 22:36:56 +00:00
Paul Traina
ab1a62c2a2
Remove extra newline.
1994-10-27 18:15:42 +00:00
Rodney W. Grimes
3573df98f1
>Description:
...
While trying to figure out why rlogind wasn't working right for root,
I noticed that man wouldn't come back with a man page for iruserok, but
it would for ruserok. Checking the lib/net directory's Makefile.inc
file shows that the link to the rcmd man page just isn't getting
created.
>How-To-Repeat:
Do a 'man iruserok' and notihing will come back, where a 'man ruserok'
will.
Submitted by: Brian Moore <ziff@houdini.eecs.umich.edu>
Obtained from: NetBSD-bugs mailing list
1994-10-27 16:33:49 +00:00
Bruce Evans
b5281b4b2a
Fix memchr(p, 0, 0) to return NULL instead of p.
1994-10-27 11:36:11 +00:00
L Jonas Olsson
f2b209421e
Added libf2c, the library for f2c.
1994-10-27 11:07:34 +00:00
L Jonas Olsson
5bf37e2e63
Use -DNON_UNIX_STDIO as our FILE doesn't have the usual fields.
...
Submitted by: pete@pelican.pelican.com
1994-10-26 18:53:13 +00:00
L Jonas Olsson
424c0b67ee
Merged f2c library.
1994-10-26 18:20:35 +00:00
L Jonas Olsson
09c656ca68
Library for f2c (part 2 of 2)
...
Obtained from: netlib.att.com
1994-10-26 18:17:41 +00:00
L Jonas Olsson
876f9d8347
Library for f2c. (part 1 of 2)
...
Obtained from: netlib.att.com
1994-10-26 18:15:35 +00:00
Andrey A. Chernov
d8cfe10818
Optimize delwin a bit
1994-10-26 07:13:51 +00:00
Bruce Evans
1a4206dd85
Reenable sigsetjmp.S. Preserve the FP state. Rearrange offsets
...
to match setjmp.S.
1994-10-25 14:08:13 +00:00
Bruce Evans
2ff9d55483
Nuke sigsetjmp.c. sigsetjmp() can't be implemented as a C function
...
that calls setjmp(), since returning from the function usually
clobbers the saved environment.
1994-10-25 14:04:32 +00:00
Andrey A. Chernov
780bd8bd41
cfmakeraw(): set IGNBRK, clear IXOFF, INPCK per Bruce suggestion
...
Set IGNPAR, clear NOFLSH, PENDIN, TOSTOP, ECHOE, ECHOK
1994-10-22 18:12:17 +00:00
Andrey A. Chernov
4ceeaa06a8
makeraw(): forget to clear IMAXBEL, set VMIN/VTIME
1994-10-22 01:49:27 +00:00
Paul Traina
6d7d1e5932
new file does skey_getpass() support
1994-10-19 00:14:32 +00:00
Paul Traina
2ddadf840c
Include most of the logdaemon v4.4 S/key changes
1994-10-19 00:03:45 +00:00
Andrey A. Chernov
37b28ca421
Remove CPU_COLORDISP, GIO_COLOR now exists
1994-10-18 03:42:18 +00:00
Andrey A. Chernov
fb46136e56
Add new machdep variables
1994-10-17 20:50:41 +00:00
Garrett Wollman
b938dc2407
sysctl(3) can return an error (setting errno to ENOMEM) when the
...
fields in the utsname structure are too small to hold their
corresponding MIB variables. Don't return an error in this case.
1994-10-13 20:31:19 +00:00
Andrey A. Chernov
e46d877d8d
Add LDADD+= -ltermcap
1994-10-12 02:06:02 +00:00
Andrey A. Chernov
9c9986c2c8
LDADD: = -> +=
1994-10-12 01:59:06 +00:00
Andrey A. Chernov
2041b760c8
SHARED_LDADD --> LDADD
...
cmp redirection removed
1994-10-12 01:57:56 +00:00
Andrey A. Chernov
f8e42f876d
Fix two problems pointed by Bruce:
...
keys.tries generated in ${.CURDIR} which may be readonly
lib_options.{po,so} not properly rebuilded if keys.tries deleted
and no .depend
1994-10-12 01:51:27 +00:00
Andrey A. Chernov
8ea50e34cb
Implement meta bit in more cosher way after contacting with zmbenhal
...
Shut up compiler warning
1994-10-11 16:36:53 +00:00
Andrey A. Chernov
372c5ad47c
Change link to symbolic link (term.h)
1994-10-10 01:03:26 +00:00
Andrey A. Chernov
6ede20071a
Merge term.h & nterm.h
1994-10-10 00:34:44 +00:00
Andrey A. Chernov
af1f5928f1
Merge term.h and nterm.h
1994-10-10 00:32:19 +00:00
Andrey A. Chernov
55ac4c2d5d
Move copyright link from initscr to newterm (initscr may be not called).
...
Small cleanup.
1994-10-09 23:31:13 +00:00
Søren Schmidt
5dfe901236
Added spare space on the usr stack. Used in ibcs2 emulation.
1994-10-09 22:03:58 +00:00
Andrey A. Chernov
5dc8d4254a
Generate term.h only once, not each beforeinstall.
...
Add 'update_term_h' target for manual update
1994-10-09 18:39:01 +00:00
Andrey A. Chernov
f404a9f3aa
Split all binaries from makefile now
1994-10-09 17:50:50 +00:00
Andrey A. Chernov
9e6f124826
Preparation to split binary away, move caps to TESTS
...
Add some testing bits to TESTS directory
1994-10-09 16:37:35 +00:00
Andrey A. Chernov
bac719f599
Sync with ctype.h (remove EOF handling)
1994-10-09 11:20:55 +00:00
Andrey A. Chernov
7afcaa86db
Add copyright.c to be always linked in
1994-10-09 09:27:55 +00:00
Andrey A. Chernov
6dabd3aad2
Restore leading tabs
1994-10-09 02:09:14 +00:00
Andrey A. Chernov
4c02aebe2f
Sync with ctype.h (EOF, sign extention fixes)
1994-10-08 17:42:45 +00:00
Andrey A. Chernov
b25aa8a037
libncurses added
1994-10-07 09:28:33 +00:00
Andrey A. Chernov
c0e33523c8
Moved from ports with several enhancements
1994-10-07 08:58:58 +00:00
Andrey A. Chernov
626cdf0fd1
libmytinfo added.
...
PS: don't forget 'make beforeinstall' if you want to play with it
1994-10-06 23:41:24 +00:00
Andrey A. Chernov
abc4e99233
Moved from ports + several enhacmenets
1994-10-06 23:38:41 +00:00
Andrey A. Chernov
f5729156af
Back out ospeed change (why all bugs discovered immediately _after_ commits
...
and no one before?)
1994-10-06 21:05:23 +00:00
Andrey A. Chernov
81ea763d01
Oops, back out ospeed fix, I forget that flushing can occurse _after_
...
usleep, too quick commit :-(
1994-10-06 21:02:21 +00:00
Andrey A. Chernov
3a163b361a
Enable PC back, because it is ouside visible
1994-10-06 20:44:51 +00:00
Andrey A. Chernov
4ba0245103
ospeed/PC code ifdefed out, our libtermcap use usleep now
1994-10-06 20:36:34 +00:00
Andrey A. Chernov
82360d78e6
Change padding mechanism to use usleep, old variant not works
...
on terminals with no pad char (cons25) and quote from tputs.c says so too:
! * Too bad there are no user program accessible programmed delays.
! * Transmitting pad characters slows many
! * terminals down and also loads the system.
1994-10-06 20:32:08 +00:00
Andrey A. Chernov
7f3d874be4
Disable direct ioctls to /dev/tty, search only stdin/stdout
...
and don't return error, if non-terminals. This fix allows curses
to work into full duplex pipes under control of main program,
like good old curses does.
1994-10-03 12:58:05 +00:00
Andrey A. Chernov
6bd6acee8e
Little regex code cleaness, idea from jgreco@ns.sol.net
1994-10-02 10:54:00 +00:00
Andrey A. Chernov
006e8b41fb
Fix bug with 8-bit chars sign extention (ctype not works)
1994-10-02 02:01:21 +00:00
Andrey A. Chernov
c6acecdc95
Rewritten using POSIX regex
...
Add 57600 and 115200 speeds
Correct termcap path
1994-10-02 01:33:28 +00:00
Paul Traina
bd5d6eecd0
Move skey.h back where it belongs
1994-09-29 19:27:35 +00:00
Paul Traina
d7e9de5e6e
Install improved skey access code
1994-09-29 18:58:39 +00:00
Garrett Wollman
f64c928f58
Use same configuration file, /etc/host.conf, for both gethost* and
...
getnet* configuration. (It's highly unlikely that you'd want to do
something different, and network lookups aren't common enough to justify
their own configuration file.)
1994-09-26 22:45:10 +00:00
Garrett Wollman
6d59cf8ef2
Fixed YP networks map support.
1994-09-26 02:50:43 +00:00
David Greenman
4170723f07
Don't include sys/exec.h.
1994-09-25 21:11:36 +00:00
Paul Traina
8bdba3f880
remove need for -DDEBUG from resolver code (conflict with db/hash)
1994-09-25 17:45:41 +00:00
Paul Traina
1363f04ce1
get* rework and new bind code
1994-09-25 02:12:49 +00:00
Garrett Wollman
d3ae7f1266
Document getvfsent() and kin.
1994-09-25 01:38:30 +00:00
Garrett Wollman
07ef895025
Fix so that people who don't have LKMs compiled in their kernels don't
...
get hosed: vfsisloadable() always returns false if /dev/lkm cannot be
opened for writing.
1994-09-25 00:48:27 +00:00
Andrey A. Chernov
662bfb6660
Call reduced (8-bit only) startup_setlocale()
1994-09-24 16:01:30 +00:00
Andrey A. Chernov
2f04ec53cc
Make not-so-space-eaten locale version:
...
split modules to bring only neccessary functions,
eliminate sprintf, make reduced startup_locale version.
1994-09-24 15:59:33 +00:00
Andrey A. Chernov
cbe192eeb8
Fix bug in %i format, second argument not incremented
1994-09-24 14:16:04 +00:00
Andrey A. Chernov
50da2881de
Fix bug with scroll region parameters (x changed to y)
1994-09-24 14:15:16 +00:00
David Greenman
89730b290a
Added $Id$
1994-09-24 02:59:15 +00:00
Garrett Wollman
a2647fcdec
If sysctl() fails, return "/kernel" so as not to screw people who haven't
...
updated their kernels yet.
1994-09-24 00:10:13 +00:00
Garrett Wollman
4be4929c2b
Get rid of _PATH_UNIX completely; use getbootfile(3) instead.
...
DANGER WILL ROBINSON!
_PATH_UNIX is currently defined as the literal string "don't use this".
I am of two minds about this myself, but wanted to get something into the
tree as quickly as possible.
1994-09-24 00:08:43 +00:00
Garrett Wollman
53d733f050
Added getbootfile(3), for an easy C interface to the kern.bootfile MIB
...
variable. This one's even documented!
1994-09-23 20:22:01 +00:00
David Greenman
9826cd3dfa
Don't define LITTLE_ENDIAN is already defined.
1994-09-23 06:53:03 +00:00
Garrett Wollman
4b4b7d0556
Added *ran48 functions, and put them in the correct place this time.
...
Obtained from: 1.1.5
1994-09-23 00:37:55 +00:00
Garrett Wollman
d5ebbcdf85
Pass -q and -u flags to modload so that it shuts up and doesn't leave
...
modules lying around.
1994-09-22 22:36:57 +00:00
Paul Traina
af2c9cfd5b
Make iso_addr's output conform to modern conventions for NSAP
...
representation. Original code by pst but ported in as part of
enhancements to BIND 4.9.2 and returned to Vixie.
1994-09-22 19:31:29 +00:00
Andrey A. Chernov
fd437b2bb2
Attention to all cc hackers, here workaround for gcc 2.6.0
...
optimizer bug (old code works without -O and don't works with -O)
old !(x & y) != !(a & b) changed to !!(x & y) != !!(a & b)
1994-09-22 03:58:43 +00:00
Andrey A. Chernov
8354392e6b
Fix mvcur typo bug from my previous fix
1994-09-22 03:09:04 +00:00
Garrett Wollman
5ba34297b9
Fix stupid memory-allocation error.
1994-09-22 02:17:26 +00:00
Garrett Wollman
8e2331ca34
Added VFS functions: getvfsvbyname, getvfsbytype, getvfsent, setvfsent,
...
endvfsent, vfsisloadable, vfsload.
Someday these will even be documented.
1994-09-22 01:07:37 +00:00
Garrett Wollman
6af9798fed
Document YP support.
1994-09-20 22:02:20 +00:00
Garrett Wollman
9486c394b4
My implementation of YP group file support, modeled after the
...
password file support done yesterday.
1994-09-20 21:43:27 +00:00
Garrett Wollman
468bb86a7d
Second half of YP security hole fix. Needs updated password
...
database in order to operate.
1994-09-20 21:42:12 +00:00
Garrett Wollman
d5b7518d9c
Re-implement YP password file support from scratch. This implementation
...
correctly handles +user entries and + entries with local overrides.
1994-09-20 01:23:45 +00:00
Garrett Wollman
28ca30918a
Maintain pw_fields, and output same to password database.
...
!!!!!!!!
NB
!!!!!!!!
You MUST pwd_mkdb /etc/master.passwd before attempting to use the new
libc, or things may go wrong. (I doubt anything actually /will/ go
wrong, but the actual behavior is undefined. YOU HAVE BEEN WARNED.)
The database format is, however, backwards-compatible, so old executables
will still work.
1994-09-20 01:15:08 +00:00
Andrey A. Chernov
0b00772e37
Function in this module bloodly called 'gethostname' and linked
...
with all pgms, you can imagine results!
Change 'gethostname' -> 'ntp_gettime', I don't know what real name
must be here but try to guess.
1994-09-19 22:04:28 +00:00
Poul-Henning Kamp
345ee1c674
Added beforeinstall rule to install .h files. We might need some .mk
...
support for this kind of thing. Look at src/Makefile target "includes".
1994-09-19 05:30:33 +00:00
Andrey A. Chernov
54335ac349
Change level of setlocale hack enabling from compile option STARTUP_LOCALE
...
to check (via getenv) environment variable "ENABLE_STARTUP_LOCALE" at
runtime.
Submitted by: me per Bruce suggestion
1994-09-19 02:00:21 +00:00
Andrey A. Chernov
f32a347542
Add (#ifdef'ed by STARTUP_LOCALE) following line to crt0.c
...
(void) setlocale(LC_ALL, "");
It will be easiest way now to make national chars available
for all ctype-oriented programs at once by simple:
setenv LANG Your_National_Charset
Default case (without "LANG" environment
variable) will be fully ANSI compatible (got "C" locale).
If "LANG" variable present, extention becomes active.
Effect of this extention is great: in one time all ctype
oriented programs can accept/print national characters
without any touching source/binary code, it is big win, IMHO.
This method is fully compatible with ISO8859-* and russian koi8-r
too (in general -- with all 8-bit character sets). I think
it is very useful.
I got this idea from Xenix locale implementation.
This extention is even never compiled in, unless you set
setenv STARTUP_LOCALE
before rebuilding crt0.c or corresponding variable in /etc/make.conf
1994-09-18 22:21:04 +00:00
Garrett Wollman
69f5174d9a
Redo kernel NTP PLL support, user-mode interface.
1994-09-18 20:29:55 +00:00
Poul-Henning Kamp
9d8044d0d9
libmd no longer built as shared-lib, only static.
...
Renamed the beforeinstall to test.
1994-09-18 07:22:08 +00:00
Paul Richards
691071ff1c
Added support for kernel profiling to mcount.c
1994-09-15 16:00:41 +00:00
Andrey A. Chernov
a7f57b7141
Add sanity check for "no previous regular expression" state,
...
bringed by 'more'
1994-09-14 22:25:15 +00:00
Andrey A. Chernov
a5b8a93b59
Fix bug with searching "" pattern, cause 'more' always shows
...
next line on "/<Enter>" instead of searching next pattern
1994-09-14 21:35:31 +00:00
Garrett Wollman
a040910f9b
Use latest Arthur Olson timezone code rather than that supplied with
...
4.4. The code is almost identical to the 4.4 versions, but this organization
should make it easier to merge new versions in the future.
1994-09-13 21:26:08 +00:00
Doug Rabson
5b65bca24e
Added SYSV ipc system calls.
1994-09-13 14:52:45 +00:00