summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add copyright.c to be always linked inAndrey A. Chernov1994-10-094-4/+32
| | | | Notes: svn path=/head/; revision=3455
* Restore leading tabsAndrey A. Chernov1994-10-091-2/+2
| | | | Notes: svn path=/head/; revision=3450
* Sync with ctype.h (EOF, sign extention fixes)Andrey A. Chernov1994-10-081-0/+17
| | | | Notes: svn path=/head/; revision=3434
* libncurses addedAndrey A. Chernov1994-10-071-1/+2
| | | | Notes: svn path=/head/; revision=3413
* Moved from ports with several enhancementsAndrey A. Chernov1994-10-07127-0/+18028
| | | | Notes: svn path=/cvs2svn/branches/zmbenhal/; revision=3410
* libmytinfo added.Andrey A. Chernov1994-10-061-1/+1
| | | | | | | PS: don't forget 'make beforeinstall' if you want to play with it Notes: svn path=/head/; revision=3402
* Moved from ports + several enhacmenetsAndrey A. Chernov1994-10-0642-0/+8143
| | | | Notes: svn path=/cvs2svn/branches/ross_ridge/; revision=3400
* Back out ospeed change (why all bugs discovered immediately _after_ commitsAndrey A. Chernov1994-10-061-4/+2
| | | | | | | and no one before?) Notes: svn path=/head/; revision=3395
* Oops, back out ospeed fix, I forget that flushing can occurse _after_Andrey A. Chernov1994-10-061-5/+27
| | | | | | | usleep, too quick commit :-( Notes: svn path=/head/; revision=3394
* Enable PC back, because it is ouside visibleAndrey A. Chernov1994-10-061-2/+2
| | | | Notes: svn path=/head/; revision=3392
* ospeed/PC code ifdefed out, our libtermcap use usleep nowAndrey A. Chernov1994-10-061-2/+4
| | | | Notes: svn path=/head/; revision=3389
* Change padding mechanism to use usleep, old variant not worksAndrey A. Chernov1994-10-061-27/+5
| | | | | | | | | | 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. Notes: svn path=/head/; revision=3388
* Disable direct ioctls to /dev/tty, search only stdin/stdoutAndrey A. Chernov1994-10-031-22/+17
| | | | | | | | | 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. Notes: svn path=/head/; revision=3335
* Little regex code cleaness, idea from jgreco@ns.sol.netAndrey A. Chernov1994-10-021-3/+2
| | | | Notes: svn path=/head/; revision=3298
* Fix bug with 8-bit chars sign extention (ctype not works)Andrey A. Chernov1994-10-021-4/+6
| | | | Notes: svn path=/head/; revision=3288
* Rewritten using POSIX regexAndrey A. Chernov1994-10-023-3/+29
| | | | | | | | Add 57600 and 115200 speeds Correct termcap path Notes: svn path=/head/; revision=3285
* Move skey.h back where it belongsPaul Traina1994-09-292-2/+44
| | | | Notes: svn path=/head/; revision=3207
* Install improved skey access codePaul Traina1994-09-293-2/+474
| | | | Notes: svn path=/head/; revision=3204
* Use same configuration file, /etc/host.conf, for both gethost* andGarrett Wollman1994-09-261-7/+9
| | | | | | | | | 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.) Notes: svn path=/head/; revision=3136
* Fixed YP networks map support.Garrett Wollman1994-09-261-7/+24
| | | | Notes: svn path=/head/; revision=3108
* Don't include sys/exec.h.David Greenman1994-09-251-1/+0
| | | | Notes: svn path=/head/; revision=3101
* remove need for -DDEBUG from resolver code (conflict with db/hash)Paul Traina1994-09-257-77/+38
| | | | Notes: svn path=/head/; revision=3094
* get* rework and new bind codePaul Traina1994-09-2515-1090/+2785
| | | | Notes: svn path=/head/; revision=3070
* Document getvfsent() and kin.Garrett Wollman1994-09-252-2/+232
| | | | Notes: svn path=/head/; revision=3062
* Fix so that people who don't have LKMs compiled in their kernels don'tGarrett Wollman1994-09-251-0/+8
| | | | | | | | get hosed: vfsisloadable() always returns false if /dev/lkm cannot be opened for writing. Notes: svn path=/head/; revision=3061
* Call reduced (8-bit only) startup_setlocale()Andrey A. Chernov1994-09-241-2/+3
| | | | Notes: svn path=/head/; revision=3051
* Make not-so-space-eaten locale version:Andrey A. Chernov1994-09-2412-290/+525
| | | | | | | | split modules to bring only neccessary functions, eliminate sprintf, make reduced startup_locale version. Notes: svn path=/head/; revision=3050
* Fix bug in %i format, second argument not incrementedAndrey A. Chernov1994-09-241-1/+4
| | | | Notes: svn path=/head/; revision=3049
* Fix bug with scroll region parameters (x changed to y)Andrey A. Chernov1994-09-241-3/+3
| | | | Notes: svn path=/head/; revision=3048
* Added $Id$David Greenman1994-09-244-0/+8
| | | | Notes: svn path=/head/; revision=3044
* If sysctl() fails, return "/kernel" so as not to screw people who haven'tGarrett Wollman1994-09-241-2/+2
| | | | | | | updated their kernels yet. Notes: svn path=/head/; revision=3042
* Get rid of _PATH_UNIX completely; use getbootfile(3) instead.Garrett Wollman1994-09-242-4/+3
| | | | | | | | | | 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. Notes: svn path=/head/; revision=3041
* Added getbootfile(3), for an easy C interface to the kern.bootfile MIBGarrett Wollman1994-09-233-13/+140
| | | | | | | variable. This one's even documented! Notes: svn path=/head/; revision=3040
* Don't define LITTLE_ENDIAN is already defined.David Greenman1994-09-231-0/+2
| | | | Notes: svn path=/head/; revision=3020
* Added *ran48 functions, and put them in the correct place this time.Garrett Wollman1994-09-2313-2/+476
| | | | | | | Obtained from: 1.1.5 Notes: svn path=/head/; revision=3016
* Pass -q and -u flags to modload so that it shuts up and doesn't leaveGarrett Wollman1994-09-221-1/+1
| | | | | | | modules lying around. Notes: svn path=/head/; revision=3001
* Make iso_addr's output conform to modern conventions for NSAPPaul Traina1994-09-221-18/+16
| | | | | | | | representation. Original code by pst but ported in as part of enhancements to BIND 4.9.2 and returned to Vixie. Notes: svn path=/head/; revision=2978
* Attention to all cc hackers, here workaround for gcc 2.6.0Andrey A. Chernov1994-09-221-2/+4
| | | | | | | | optimizer bug (old code works without -O and don't works with -O) old !(x & y) != !(a & b) changed to !!(x & y) != !!(a & b) Notes: svn path=/head/; revision=2973
* Fix mvcur typo bug from my previous fixAndrey A. Chernov1994-09-221-1/+1
| | | | Notes: svn path=/head/; revision=2972
* Fix stupid memory-allocation error.Garrett Wollman1994-09-221-3/+9
| | | | Notes: svn path=/head/; revision=2970
* Added VFS functions: getvfsvbyname, getvfsbytype, getvfsent, setvfsent,Garrett Wollman1994-09-222-1/+235
| | | | | | | | endvfsent, vfsisloadable, vfsload. Someday these will even be documented. Notes: svn path=/head/; revision=2963
* Document YP support.Garrett Wollman1994-09-202-29/+51
| | | | Notes: svn path=/head/; revision=2937
* My implementation of YP group file support, modeled after theGarrett Wollman1994-09-201-6/+210
| | | | | | | password file support done yesterday. Notes: svn path=/head/; revision=2936
* Second half of YP security hole fix. Needs updated passwordGarrett Wollman1994-09-201-5/+12
| | | | | | | database in order to operate. Notes: svn path=/head/; revision=2935
* Re-implement YP password file support from scratch. This implementationGarrett Wollman1994-09-201-3/+215
| | | | | | | correctly handles +user entries and + entries with local overrides. Notes: svn path=/head/; revision=2917
* Maintain pw_fields, and output same to password database.Garrett Wollman1994-09-201-0/+17
| | | | | | | | | | | | | | !!!!!!!! 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. Notes: svn path=/head/; revision=2916
* Function in this module bloodly called 'gethostname' and linkedAndrey A. Chernov1994-09-191-2/+2
| | | | | | | | | 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. Notes: svn path=/head/; revision=2908
* Added beforeinstall rule to install .h files. We might need some .mkPoul-Henning Kamp1994-09-191-0/+14
| | | | | | | support for this kind of thing. Look at src/Makefile target "includes". Notes: svn path=/head/; revision=2882
* Change level of setlocale hack enabling from compile option STARTUP_LOCALEAndrey A. Chernov1994-09-192-9/+5
| | | | | | | | | to check (via getenv) environment variable "ENABLE_STARTUP_LOCALE" at runtime. Submitted by: me per Bruce suggestion Notes: svn path=/head/; revision=2879
* Add (#ifdef'ed by STARTUP_LOCALE) following line to crt0.cAndrey A. Chernov1994-09-182-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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 Notes: svn path=/head/; revision=2869