Commit Graph

11 Commits

Author SHA1 Message Date
Bruce Evans
4a127b0ff9 Declare the documented (modulo a spelling error) interface
`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 ...).
1997-04-13 11:41:59 +00:00
Peter Wemm
7e546392b5 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
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.
1997-01-14 07:20:47 +00:00
Peter Wemm
2fdc74a617 Change the last -Wall cleanup so that the tputs declaration doesn't
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)
1996-09-10 12:42:10 +00:00
Jordan K. Hubbard
51295a4d3e General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 18:57:58 +00:00
Andrey A. Chernov
021e5b9d1f Do a little trick which covers 99% cases: initialize ospeed
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.
1995-08-05 21:22:07 +00:00
Andrey A. Chernov
2f0c493d09 Add non-standard function: _set_ospeed(speed)
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.
1995-08-04 06:39:55 +00:00
Andrey A. Chernov
6d1385d8be tputs: (char) -> (int) 1994-12-10 22:01:25 +00:00
Andrey A. Chernov
f13e0e1455 Fix tputs declaration 1994-12-09 21:59:06 +00:00
Andrey A. Chernov
d6761eb4f8 Add $Id$ 1994-12-04 02:49:24 +00:00
Andrey A. Chernov
fc98213f95 Add termcap.h & tparm 1994-12-04 02:41:41 +00:00