aboutsummaryrefslogtreecommitdiff
path: root/lib/libtermcap/termcap.h
Commit message (Collapse)AuthorAgeFilesLines
* To avoid confusion, zap libtermcap. ncurses provides both curses, termcapPeter Wemm1999-11-261-53/+0
| | | | | | | and termlib (terminfo) support. Notes: svn path=/head/; revision=53712
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* The __set_ospeed() function is coded against the speed_t type declaredJohn Birrell1998-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. Notes: svn path=/head/; revision=35756
* Changed speed_t from long to unsigned long. POSIX.1 requires anBruce Evans1998-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 Notes: svn path=/head/; revision=34522
* Declare the documented (modulo a spelling error) interfaceBruce Evans1997-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 ...). Notes: svn path=/head/; revision=24869
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22993
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Change the last -Wall cleanup so that the tputs declaration doesn'tPeter Wemm1996-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) Notes: svn path=/head/; revision=18209
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-121-2/+2
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17141
* Do a little trick which covers 99% cases: initialize ospeedAndrey A. Chernov1995-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. Notes: svn path=/head/; revision=9938
* Add non-standard function: _set_ospeed(speed)Andrey A. Chernov1995-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. Notes: svn path=/head/; revision=9887
* tputs: (char) -> (int)Andrey A. Chernov1994-12-101-2/+2
| | | | Notes: svn path=/head/; revision=5025
* Fix tputs declarationAndrey A. Chernov1994-12-091-2/+2
| | | | Notes: svn path=/head/; revision=5022
* Add $Id$Andrey A. Chernov1994-12-041-1/+1
| | | | Notes: svn path=/head/; revision=4943
* Add termcap.h & tparmAndrey A. Chernov1994-12-041-0/+51
Notes: svn path=/head/; revision=4940