Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Linux supports ptmx, too
- X-seq: zsh-workers 19196
- From: DervishD <raul@xxxxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxxxxx>
- Subject: Linux supports ptmx, too
- Date: Thu, 16 Oct 2003 16:52:46 +0200
- Mail-followup-to: Zsh Workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
Hi all :)
In Src/Modules/zpty.c you assume that /dev/ptmx is available only
if __SVR4, __sinix or __CYGWIN__ is defined. It's available too in
recent Linux. More specifically, in recent glibc's, so you should add
a test for __GLIBC__ , being __GLIBC__ at least 2, and __GLIBC_MINOR__
at least 1.
Currently, under my Linux, which supports UNIX98 pseudoterminals,
/dev/pty?? is used instead :(((( And fails since I don't have
/dev/pty nodes O:)))
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author