summaryrefslogtreecommitdiffstats
path: root/lib/libtermcap
Commit message (Collapse)AuthorAgeFilesLines
* Changed speed_t from long to unsigned long. POSIX.1 requires anbde1998-03-121-2/+2
| | | | | | | | | unsigned integral type. Changing it doesn't seem to cause any sign extension bugs in /usr/src. In the kernel, this is partly because `struct speedtab' and its lookup function are too bogus to use speed_t's for speeds - they use ints. Reminded by: PR 5786
* Fixed the termcap 3.0 hacks. They were very broken in my configurationbde1997-12-191-10/+11
| | | | | | | where shared libraries are in /lib and almost everything is linked shared. First, they removed the old shared library before installing the new one. Second, they attemped a cross-device link from /lib to /usr/lib/compat.
* "un-bump" the major number for libtermcap.so. This brings -current backpeter1997-12-021-2/+13
| | | | | | | | | | | | to the same version numbers as 2.2.x. The problem with the way things were was: - if you took a 2.2.x binary, it either wouldn't run on -current or if you had the old -current version of libtermcap.so.2.1 then it could potentially be a security problem. - the alternative is to start a compat22 tree dist for -current with a uuencoded binary. This makefile hack is less cost. libtermcap.so.3.0 is provided via /usr/lib/compat to avoid transition problems.
* s/geteid/geteuid/ - it's lucky I have a large supply of left-over pointypeter1997-11-291-1/+1
| | | | hats from Tristan's last birthday party. :-]
* Work around the problems caused by calling issetugid() in libtermcap inpeter1997-11-291-2/+41
| | | | | | | | a similar way to libc. Sigh. This is not pretty but seems to work. Somthing like this was needed in preference to bogusly bumping the major library number here. The syscall(SYS_issetugid) idea is originally Bruce's.
* Restore back issetugid() usage and bump major numberache1997-08-312-4/+4
|
* Temp restore of rev 1.9ache1997-08-261-3/+3
|
* Temporarily comment out issetugid() call until everyone installs libtermcap,ache1997-08-251-2/+2
| | | | major number bumping will follows then
* Bump minor number due to issetugid()ache1997-08-241-1/+1
|
* Replace uids comparison by issetugid() callache1997-08-221-2/+2
|
* Fixed spelling of __set_ospeed (was _set_ospeed) and improvedbde1997-04-132-15/+16
| | | | nearby English.
* Declare the documented (modulo a spelling error) interfacebde1997-04-132-3/+3
| | | | | | | | `void __set_ospeed(long);' in the appropriate header. The implementation still uses speed_t instead of long. This will break properly when speed_t is fixed (speed_t shall be unsigned ...).
* Don't overflow buffers, and only open alternative termcap files if we'reimp1997-03-242-2/+8
| | | | | | | | not running setuid or setgid. Fixes PR 2586 Submitted by: Julian Assange
* Fixed wrong return type for tputs() in synopsis.bde1997-03-191-1/+1
|
* Re-order terms to avoid potential pointer overflow, and remove oneeivind1997-03-181-2/+7
| | | | | | more potential buffer overflow. Submitted by: bde
* Buffer overflow fix - closes PR bin/2983 for -current. Should reallyeivind1997-03-171-0/+14
| | | | | go into 2.2.0 Release, even at the present time. Problem spotted by Tero Kivinen <kivinen@ssh.fi> - was in BugTraq today :-(
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Change the last -Wall cleanup so that the tputs declaration doesn'tpeter1996-09-102-6/+7
| | | | | | | | | conflict with the other declarations in other files. tputs() is traditionally declared to return int, not void. curses.h has it as int. ncurses has int and actually sets the return value. This problem has been causing the ircII port to not compile. (I've only minimally tested this, I do not have libtermcap on my systems)
* oops, install termcap.h from ${.CURDIR}, not the obj dir.peter1996-08-301-2/+2
| | | | Pointed out by: asami
* cmp -s || install -c ==> install -Cpeter1996-08-301-2/+1
|
* General -Wall warning cleanup, part I.jkh1996-07-125-6/+8
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* Another round of man page cleanups.mpp1996-02-121-1/+1
| | | | Down to only about 100 items left to cleanup! :-)
* Change `install' to `${INSTALL}' so that default install flags can bebde1995-08-061-1/+1
| | | | | | | specified in the top level Makefiles. Previously I missed dozens of Makefiles that skip the install after using `cmp -s' to decide that the install isn't necessary.
* Do a little trick which covers 99% cases: initialize ospeedache1995-08-057-48/+53
| | | | | | | variable directly in tgetent by stderr or stdout output speed. It helps hide in non-standard __set_ospeed function and remove it from other sources (coming soon). Do prototype cleanup too.
* Add non-standard function: _set_ospeed(speed)ache1995-08-044-6/+89
| | | | | | | | | Basically all termios+termcap pgms needs it. It set ospeed variable using nearest-matched stty speeds, which helps termcap pgms works with non-fixed termios speeds and not duplicate ospeed switch into every pgm. Also it isn't standard function, its source code is too big to include it in whole to every termcap+termios pgm.
* Add missing entries for 38400/57600/115200 bauds to tmspc10[]ache1995-07-231-1/+2
|
* Remove trailing whitespace.rgrimes1995-05-303-12/+12
|
* Bump minor numberache1995-05-031-0/+2
|
* Continue of previous fix: eliminate backslashes too.ache1995-03-261-1/+1
|
* Compact entry returned to user:ache1995-03-261-3/+49
| | | | | | | | | 1) Eliminate spaces and double ':'. 2) Remove duplicated capabilities from tc= expansion. It is needed to not overflow historycal 1024 limit. Add range check and return -1 if entry is too big instead of corrupting user memory.
* tputs: (char) -> (int)ache1994-12-102-3/+3
|
* Fix tputs declarationache1994-12-092-3/+3
|
* Describe tparmache1994-12-041-0/+17
|
* Add $Id$ache1994-12-041-1/+1
|
* Add termcap.h & tparmache1994-12-044-9/+826
|
* Ooops, change back the LIBDIR macro to the SHLIBDIR macro for the sharedats1994-11-191-2/+2
| | | | libs as told by Bruce. Now it works.
* Makefile:ats1994-11-182-2/+3
| | | | | | | | | | Change the reference for the libtermcap libtermlib link from SHLIBDIR to LIBDIR. SHLIBDIR is undefined in the standard case. termcap.c: Initialize a local variable to zero. Otherwise an erroneous free call can happen and clobber the calling program. Seen with vi and gdb. If you have TERMCAP set with a terminal entry and set TERM with something like huhu, vi and gdb core dumps.
* Remove ${DESTDIR} from link-macros. Already applied behind the scenes.phk1994-11-181-4/+4
|
* Install shared libraries in ${SHLIBDIR} instead of in ${LIBDIR}.bde1994-11-141-4/+4
| | | | Add missing ${DESTDIR}'s.
* Forget to change = to += in previous commitache1994-11-081-1/+1
|
* Add missing link for shared libtermlibache1994-11-081-0/+4
|
* Oops, back out ospeed fix, I forget that flushing can occurse _after_ache1994-10-061-5/+27
| | | | usleep, too quick commit :-(
* Change padding mechanism to use usleep, old variant not worksache1994-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.
* Correct the man page extent.jkh1994-08-081-1/+1
| | | | Submitted by: jkh
* Do not create link for *lib_p.a if you are not installing profiled libraries.rgrimes1994-05-271-2/+4
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-279-0/+1106
OpenPOWER on IntegriCloud