mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
b94f60a58b
- cleanup patches and extra file - fix unnecessary delay(from byung) - resurrect MAINTAINER line(me) - fix distfile location - fix DESCR to correct maintainer PR: ports/18573 Submitted by: byung@nowcool.dhs.org
73 lines
1.6 KiB
Plaintext
73 lines
1.6 KiB
Plaintext
diff -uNr --exclude=*.orig work.old/ztelnet/telnet/sys_bsd.c work/ztelnet/telnet/sys_bsd.c
|
|
--- work.old/ztelnet/telnet/sys_bsd.c Wed Sep 20 08:35:50 1995
|
|
+++ work/ztelnet/telnet/sys_bsd.c Tue Jun 20 22:58:32 2000
|
|
@@ -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;
|