mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
9affdae7c3
of omniBroker but under a new guise. PR: 7034 Submitted by: maintainer
73 lines
1.7 KiB
Plaintext
73 lines
1.7 KiB
Plaintext
*** ob/demo/chat/Client.cpp.orig Mon Jun 8 16:55:23 1998
|
|
--- ob/demo/chat/Client.cpp Tue Jun 23 09:57:59 1998
|
|
***************
|
|
*** 42,48 ****
|
|
#ifdef HAVE_TERMIO_H
|
|
ioctl(STDIN_FILENO, TCSETA, &TerminalSettings);
|
|
#else
|
|
! ioctl(STDIN_FILENO, TCSETS, &TerminalSettings);
|
|
#endif
|
|
|
|
//
|
|
--- 42,48 ----
|
|
#ifdef HAVE_TERMIO_H
|
|
ioctl(STDIN_FILENO, TCSETA, &TerminalSettings);
|
|
#else
|
|
! ioctl(STDIN_FILENO, TCSANOW, &TerminalSettings);
|
|
#endif
|
|
|
|
//
|
|
***************
|
|
*** 129,136 ****
|
|
ioctl(STDIN_FILENO, TCGETA, &ctl);
|
|
#else
|
|
struct termios ctl;
|
|
! ioctl(STDIN_FILENO, TCGETS, &TerminalSettings);
|
|
! ioctl(STDIN_FILENO, TCGETS, &ctl);
|
|
#endif
|
|
ctl.c_lflag &= ~(ICANON | ECHO);
|
|
ctl.c_cc[VMIN] = 1;
|
|
--- 129,136 ----
|
|
ioctl(STDIN_FILENO, TCGETA, &ctl);
|
|
#else
|
|
struct termios ctl;
|
|
! tcgetattr(STDIN_FILENO, &TerminalSettings);
|
|
! tcgetattr(STDIN_FILENO, &ctl);
|
|
#endif
|
|
ctl.c_lflag &= ~(ICANON | ECHO);
|
|
ctl.c_cc[VMIN] = 1;
|
|
***************
|
|
*** 138,144 ****
|
|
#ifdef HAVE_TERMIO_H
|
|
ioctl(STDIN_FILENO, TCSETA, &ctl);
|
|
#else
|
|
! ioctl(STDIN_FILENO, TCSETS, &ctl);
|
|
#endif
|
|
|
|
//
|
|
--- 138,144 ----
|
|
#ifdef HAVE_TERMIO_H
|
|
ioctl(STDIN_FILENO, TCSETA, &ctl);
|
|
#else
|
|
! tcsetattr(STDIN_FILENO, TCSANOW, &ctl);
|
|
#endif
|
|
|
|
//
|
|
***************
|
|
*** 179,185 ****
|
|
#ifdef HAVE_TERMIO_H
|
|
ioctl(STDIN_FILENO, TCSETA, &TerminalSettings);
|
|
#else
|
|
! ioctl(STDIN_FILENO, TCSETS, &TerminalSettings);
|
|
#endif
|
|
|
|
return status;
|
|
--- 179,185 ----
|
|
#ifdef HAVE_TERMIO_H
|
|
ioctl(STDIN_FILENO, TCSETA, &TerminalSettings);
|
|
#else
|
|
! tcsetattr(STDIN_FILENO, TCSANOW, &TerminalSettings);
|
|
#endif
|
|
|
|
return status;
|