From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,86228961b6339e60,start X-Google-Attributes: gidfee84,public From: Michael Rietz Subject: xemacs-19.15 pty problem with DU4.0A Date: 1997/04/23 Message-ID: #1/1 X-Deja-AN: 236766223 Organization: Rechenzentrum der Max-Planck-Gesellschaft in Garching Newsgroups: comp.unix.osf.osf1 X-Newsreader: Gnus v5.2.25/XEmacs 19.14 Xref: ipp-garching.mpg.de comp.emacs.xemacs:20247 Hello, I'm in trouble with the efs. Every time I try to open an ftp file system I get complains about no ptys. >From my understanding of the code the open of a pty fails but I cant't understand why. Is there a difference in treating ptys in DU3.2D and DU4.0A becaus the xemacs code didn't change. It's all in src/m/alpha.h: #ifdef OSF1 #define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */ #define PTY_NAME_SPRINTF /* none */ #define PTY_TTY_NAME_SPRINTF /* none */ #define PTY_OPEN \ do \ { \ int dummy; \ int mask = sigsetmask (SIGCHLD); \ if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \ fd = -1; \ sigsetmask (mask); \ close (dummy); \ } \ while (0) #endif /* OSF1 */ Please help. Michael -- Michael Rietz | Max-Planck-Institut fuer Physik e-mail: rietz@mppmu.mpg.de | Werner Heisenberg Institut tel:+49-(0)89 32354-242,337,415,411 | Foehringer Ring 6 fax:+49-(0)89 32354-842 or 3226704 | D-80805 Muenchen GERMANY