The ospeed hackery was disabled a while ago, finish the job.
This commit is contained in:
parent
28ca28a579
commit
9d383101c9
@ -9,10 +9,6 @@
|
||||
#include "def.flag.h" /* for flags.nonull */
|
||||
extern long *alloc();
|
||||
|
||||
#ifndef lint
|
||||
extern /* it is defined in libtermlib (libtermcap) */
|
||||
#endif lint
|
||||
short ospeed; /* terminal baudrate; used by tputs */
|
||||
static char tbuf[512];
|
||||
static char *HO, *CL, *CE, *UP, *CM, *ND, *XD, *BC, *SO, *SE, *TI, *TE;
|
||||
static char *VS, *VE;
|
||||
|
@ -96,7 +96,9 @@ static char sccsid[] = "@(#)hack.tty.c 8.1 (Berkeley) 5/31/93";
|
||||
|
||||
#endif USG
|
||||
|
||||
#if 0
|
||||
extern short ospeed;
|
||||
#endif
|
||||
static char erase_char, kill_char;
|
||||
static boolean settty_needed = FALSE;
|
||||
struct termstruct inittyb, curttyb;
|
||||
@ -110,7 +112,9 @@ gettty(){
|
||||
if(GTTY(&inittyb) < 0)
|
||||
perror("Hack (gettty)");
|
||||
curttyb = inittyb;
|
||||
#if 0
|
||||
ospeed = OSPEED(inittyb);
|
||||
#endif
|
||||
erase_char = inittyb.erase_sym;
|
||||
kill_char = inittyb.kill_sym;
|
||||
getioctls();
|
||||
|
Loading…
Reference in New Issue
Block a user