comparison src/s/aix3-1.h @ 1374:3d87587ddc4e

(PTY_ITERATION, etc.): Defined. (FIRST_PTY_LETTER): Deleted.
author Richard M. Stallman <rms@gnu.org>
date Fri, 09 Oct 1992 21:47:10 +0000
parents c4400ec7bee0
children df8b67adcee3
comparison
equal deleted inserted replaced
1373:7fc9bbcae71b 1374:3d87587ddc4e
63 63
64 /* Default is to set interrupt_input to 0: don't do input buffering within Emacs */ 64 /* Default is to set interrupt_input to 0: don't do input buffering within Emacs */
65 65
66 /* #define INTERRUPT_INPUT */ 66 /* #define INTERRUPT_INPUT */
67 67
68 /* Letter to use in finding device name of first pty, 68 /* In AIX, you allocate a pty by opening /dev/ptc to get the master side.
69 if system supports pty's. 'p' means it is /dev/ptyp0 */ 69 To get the name of the slave side, you just ttyname() the master side. */
70 70
71 #define FIRST_PTY_LETTER 'p' 71 #define PTY_ITERATION for (c = 0; !c ; c++)
72 #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc");
73 #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd));
72 74
73 /* 75 /*
74 * Define HAVE_TERMIO if the system provides sysV-style ioctls 76 * Define HAVE_TERMIO if the system provides sysV-style ioctls
75 * for terminal control. 77 * for terminal control.
76 */ 78 */