diff options
| author | Richard M. Stallman | 1992-10-09 21:47:10 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1992-10-09 21:47:10 +0000 |
| commit | 738949ec3adda424b62aa573668ebb885f236d10 (patch) | |
| tree | 8d64390d776a2e49314e19ccdc22cc93189ed254 /src | |
| parent | 9c106b258c552d60d192341a3ffd69f13c1c422e (diff) | |
| download | emacs-738949ec3adda424b62aa573668ebb885f236d10.tar.gz emacs-738949ec3adda424b62aa573668ebb885f236d10.zip | |
(PTY_ITERATION, etc.): Defined.
(FIRST_PTY_LETTER): Deleted.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/aix3-1.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/s/aix3-1.h b/src/s/aix3-1.h index ea94e080bc8..79706200602 100644 --- a/src/s/aix3-1.h +++ b/src/s/aix3-1.h | |||
| @@ -65,10 +65,12 @@ and this notice must be preserved on all copies. */ | |||
| 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 |