mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
b8eafda329
PR: 12056 Submitted by: Nick Hibma <nick.hibma@jrc.it>
39 lines
1.5 KiB
Plaintext
39 lines
1.5 KiB
Plaintext
--- system/unix.c.orig Fri Aug 27 12:20:56 1993
|
|
+++ system/unix.c Tue Dec 28 20:01:38 1999
|
|
@@ -123,7 +123,7 @@
|
|
|
|
#if defined( BSD386 ) || defined( CONVEX ) || defined( HPUX ) || \
|
|
defined( IRIX ) || defined( LINUX ) || defined( POSIX ) || \
|
|
- defined( SVR4 ) || defined( UTS4 )
|
|
+ defined( SVR4 ) || defined( UTS4 ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ )
|
|
|
|
#include <termios.h>
|
|
|
|
@@ -144,7 +144,7 @@
|
|
tcgetattr( ttyFD, &ttyInfo );
|
|
#if defined( BSD386 ) || defined( CONVEX ) || defined( HPUX ) || \
|
|
defined( IRIX ) || defined( LINUX ) || defined( POSIX ) || \
|
|
- defined( UTS4 )
|
|
+ defined( UTS4 ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ )
|
|
ttyInfo.c_lflag &= ~ECHO;
|
|
ttyInfo.c_lflag &= ~ICANON;
|
|
#else
|
|
@@ -183,7 +183,7 @@
|
|
tcgetattr( ttyFD, &ttyInfo );
|
|
#if defined( BSD386 ) || defined( CONVEX ) || defined( HPUX ) || \
|
|
defined( IRIX ) || defined( LINUX ) || defined( POSIX ) || \
|
|
- defined( UTS4 )
|
|
+ defined( UTS4 ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ )
|
|
ttyInfo.c_lflag |= ECHO;
|
|
ttyInfo.c_lflag |= ICANON;
|
|
#else
|
|
@@ -728,7 +728,7 @@
|
|
defined( HPUX ) || defined( IRIX ) || defined( LINUX ) || \
|
|
defined( NEXT ) || defined( OSF1 ) || defined( SUNOS ) || \
|
|
defined( SVR4 ) || defined( ULTRIX ) || defined( ULTRIX_OLD ) || \
|
|
- defined( UTS4 )
|
|
+ defined( UTS4 ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ )
|
|
|
|
int htruncate( const FD theFD )
|
|
{
|