Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Michael Rietz <rietz@hbaxp02.mppmu.mpg.de>
Subject: xemacs-19.15 pty problem with DU4.0A
Date: 1997/04/23	[thread overview]
Message-ID: <ul267xe89xm.fsf@hbaxp02.mppmu.mpg.de> (raw)


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



                 reply	other threads:[~1997-04-23  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox