summaryrefslogtreecommitdiffstats
path: root/lib/libtermcap/termcap.h
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* The __set_ospeed() function is coded against the speed_t type declaredjb1998-05-051-2/+2
| | | | | | | | in termios.h, but it's prototype in termcap.h and the main file use the underlying definition (which is now an int, not a long for compatibility with NetBSD). Really termcap.h should use speed_t too, but I guess that this might break sources that don't include termios.h first.
* 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
* Declare the documented (modulo a spelling error) interfacebde1997-04-131-1/+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 ...).
* 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-101-2/+2
| | | | | | | | | 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)
* General -Wall warning cleanup, part I.jkh1996-07-121-2/+2
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* Do a little trick which covers 99% cases: initialize ospeedache1995-08-051-3/+1
| | | | | | | 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-041-3/+5
| | | | | | | | | 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.
* tputs: (char) -> (int)ache1994-12-101-2/+2
|
* Fix tputs declarationache1994-12-091-2/+2
|
* Add $Id$ache1994-12-041-1/+1
|
* Add termcap.h & tparmache1994-12-041-0/+51
OpenPOWER on IntegriCloud