mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
commit
7b65f413e4
2 changed files with 10 additions and 1 deletions
5
INSTALL
5
INSTALL
|
|
@ -252,6 +252,11 @@ not `/usr/local'. It is recommended to use the following options:
|
|||
|
||||
./configure --prefix=/boot/common
|
||||
|
||||
On macOS, automake and autoconf are not part of the default OS. In
|
||||
order to overcome this, you should install them manually. For example:
|
||||
|
||||
brew install automake autoconf
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
|
|
|
|||
|
|
@ -537,7 +537,11 @@ int tty_connect(void)
|
|||
int status;
|
||||
|
||||
/* Open tty device */
|
||||
fd = open(option.tty_device, O_RDWR | O_NOCTTY );
|
||||
#ifdef __APPLE__
|
||||
fd = open(option.tty_device, O_RDWR | O_NOCTTY | O_NONBLOCK );
|
||||
#else
|
||||
fd = open(option.tty_device, O_RDWR | O_NOCTTY);
|
||||
#endif
|
||||
if (fd < 0)
|
||||
{
|
||||
error_printf_silent("Could not open tty device (%s)", strerror(errno));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue