(getsose): Port from obsolete termcap to terminfo. The old code
manually stripped off padding, which is evil. The new code does nothing when the stdout is not connected to a terminal. (SO, smso, SE, rmso): Rename, static linkage. (putso, putse): New. (screen): Use it.
This commit is contained in:
parent
c3915edb54
commit
fbf9f15bbb
3 changed files with 48 additions and 62 deletions
|
@ -61,7 +61,15 @@ extern char *SE;
|
|||
HANDLE hStdIn;
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define getsose() ((void)0)
|
||||
#define putso() ((void)0)
|
||||
#define putse() ((void)0)
|
||||
#else
|
||||
void getsose(void);
|
||||
void putso(void);
|
||||
void putse(void);
|
||||
#endif
|
||||
int recvline(int s, char *buf);
|
||||
int expect(int s, int match, char *buf);
|
||||
int handleintr(int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue