changeset 108206:d37472566980

Clean up IRIX code. * m/iris4d.h (TERMINFO, FIRST_PTY_LETTER): Move definitions ... * s/irix6-5.h (TERMINFO, FIRST_PTY_LETTER): ... here.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 01 May 2010 13:23:29 -0700
parents 01b4cde1b57b
children f015ae3fb447
files src/ChangeLog src/m/iris4d.h src/s/irix6-5.h
diffstat 3 files changed, 14 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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  <dann@ics.uci.edu>
 
+	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.
--- 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.)  */
--- 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.  */