# HG changeset patch # User Dan Nicolaescu # Date 1272745409 25200 # Node ID d3747256698084bb1aa4e0949cfd15c78070a738 # Parent 01b4cde1b57b4ca6deb3e0a2f176735ef5d530b6 Clean up IRIX code. * m/iris4d.h (TERMINFO, FIRST_PTY_LETTER): Move definitions ... * s/irix6-5.h (TERMINFO, FIRST_PTY_LETTER): ... here. diff -r 01b4cde1b57b -r d37472566980 src/ChangeLog --- a/src/ChangeLog Sat May 01 13:19:41 2010 -0700 +++ b/src/ChangeLog Sat May 01 13:23:29 2010 -0700 @@ -1,5 +1,9 @@ 2010-05-01 Dan Nicolaescu + Clean up IRIX code. + * m/iris4d.h (TERMINFO, FIRST_PTY_LETTER): Move definitions ... + * s/irix6-5.h (TERMINFO, FIRST_PTY_LETTER): ... here. + Clean up AIX code. * m/ibmrs6000.inp: Remove file, unused. * m/ibmrs6000.h (IBMR2AIX): Remove, unused. diff -r 01b4cde1b57b -r d37472566980 src/m/iris4d.h --- a/src/m/iris4d.h Sat May 01 13:19:41 2010 -0700 +++ b/src/m/iris4d.h Sat May 01 13:23:29 2010 -0700 @@ -42,15 +42,6 @@ #define DATA_START 0x10000000 #define DATA_SEG_BITS 0x10000000 -/* Use terminfo instead of termcap. */ - -#define TERMINFO - -/* Letter to use in finding device name of first pty, - if system supports pty's. 'a' means it is /dev/ptya0 */ - -#undef FIRST_PTY_LETTER -#define FIRST_PTY_LETTER 'q' #if _MIPS_SZLONG != 64 /* fixme: should there be 64-bit definitions? (The ones below aren't OK.) */ diff -r 01b4cde1b57b -r d37472566980 src/s/irix6-5.h --- a/src/s/irix6-5.h Sat May 01 13:19:41 2010 -0700 +++ b/src/s/irix6-5.h Sat May 01 13:23:29 2010 -0700 @@ -44,6 +44,16 @@ /* Make process_send_signal work by "typing" a signal character on the pty. */ #define SIGNALS_VIA_CHARACTERS +/* Use terminfo instead of termcap. */ + +#define TERMINFO + +/* Letter to use in finding device name of first pty, + if system supports pty's. 'a' means it is /dev/ptya0 */ + +#undef FIRST_PTY_LETTER +#define FIRST_PTY_LETTER 'q' + /* No need to use sprintf to get the tty name--we get that from _getpty. */ #define PTY_TTY_NAME_SPRINTF /* No need to get the pty name at all. */