diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1998-03-18 18:53:00 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-03-18 18:53:00 +0000 |
commit | 50b0e6ce97291d2f55622b534877f88908715908 (patch) | |
tree | 4cde940101fdec2702231036c4bbd2ce4566e20a /net/ztelnet/files/patch-an | |
parent | vim --> vim4 (diff) |
Split patch-aa into patches for the individual *_26_* files that are patched.
Forgotten by: steve
Notes
Notes:
svn path=/head/; revision=10222
Diffstat (limited to 'net/ztelnet/files/patch-an')
-rw-r--r-- | net/ztelnet/files/patch-an | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/net/ztelnet/files/patch-an b/net/ztelnet/files/patch-an new file mode 100644 index 000000000000..985077342f0e --- /dev/null +++ b/net/ztelnet/files/patch-an @@ -0,0 +1,72 @@ +diff -uNr ../ztelnet/telnet/sys_bsd.c ./telnet/sys_bsd.c +--- ../ztelnet/telnet/sys_bsd.c Tue Sep 19 23:35:50 1995 ++++ ./telnet/sys_bsd.c Wed Dec 3 02:35:18 1997 +@@ -43,13 +43,16 @@ + #include "externs.h" + #include "types.h" + +-/* PMS: BYPMS is added */ +-#if defined(CRAY) || (defined(USE_TERMIO) && !defined(SYSV_TERMIO)) || defined(BYPMS) ++#if defined(CRAY) || (defined(USE_TERMIO) && !defined(SYSV_TERMIO)) + #define SIG_FUNC_RET void + #else + #define SIG_FUNC_RET int + #endif + ++#ifdef SIGINFO ++extern SIG_FUNC_RET ayt_status(); ++#endif ++ + int + tout, /* Output file descriptor */ + tin, /* Input file descriptor */ +@@ -65,16 +68,9 @@ + # define old_tc ottyb + + #else /* USE_TERMIO */ +- +-#ifdef BYPMS +-struct termios old_tc = { 0 }; +-extern struct termios new_tc; +-#else + struct termio old_tc = { 0 }; + extern struct termio new_tc; +-#endif /* PMS */ + +-#ifndef BYPMS + # ifndef TCSANOW + # ifdef TCSETS + # define TCSANOW TCSETS +@@ -100,7 +96,6 @@ + # endif + # endif /* TCSANOW */ + #endif /* USE_TERMIO */ +-#endif /* PMS */ + + static fd_set ibits, obits, xbits; + +@@ -166,11 +161,11 @@ + * 1 Do add this character + */ + ++void xmitAO(), xmitEL(), xmitEC(), intp(), sendbrk(); + int + TerminalSpecialChars(c) + int c; + { +- void xmitAO(), xmitEL(), xmitEC(), intp(), sendbrk(); + + if (c == termIntChar) { + intp(); +@@ -382,11 +377,7 @@ + struct sgttyb sb; + int lmode; + #else /* USE_TERMIO */ +-#ifdef BYPMS +- struct termios tmp_tc; +-#else + struct termio tmp_tc; +-#endif /* PMS */ + #endif /* USE_TERMIO */ + int onoff; + int old; |