aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-11-22 19:24:38 +0000
committerRichard M. Stallman1994-11-22 19:24:38 +0000
commitb97ab886b80d512bc56fc486a2d5047ac07b975a (patch)
treeff52a3f770c1c0f2d19c05d537a14b2a815d233e
parent5d771766ab10a84bb0bb7e114a735b5b62776b98 (diff)
downloademacs-b97ab886b80d512bc56fc486a2d5047ac07b975a.tar.gz
emacs-b97ab886b80d512bc56fc486a2d5047ac07b975a.zip
(init_sys_modes): Tes AIXHFT, not AIX.
(reset_sys_modes): Test AIXHFT. (hft_init, hft_reset): Test AIXHFT, not AIX.
-rw-r--r--src/sysdep.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index ff5de4f390c..1bd221c1ba8 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1386,7 +1386,7 @@ init_sys_modes ()
1386 if (!flow_control) tcflow (input_fd, TCOON); 1386 if (!flow_control) tcflow (input_fd, TCOON);
1387#endif 1387#endif
1388 1388
1389#ifdef AIX 1389#ifdef AIXHFT
1390 hft_init (); 1390 hft_init ();
1391#ifdef IBMR2AIX 1391#ifdef IBMR2AIX
1392 { 1392 {
@@ -1398,7 +1398,7 @@ init_sys_modes ()
1398 write (1, "\033[20l", 5); 1398 write (1, "\033[20l", 5);
1399 } 1399 }
1400#endif 1400#endif
1401#endif 1401#endif /* AIXHFT */
1402 1402
1403#ifdef VMS 1403#ifdef VMS
1404/* Appears to do nothing when in PASTHRU mode. 1404/* Appears to do nothing when in PASTHRU mode.
@@ -1597,7 +1597,7 @@ reset_sys_modes ()
1597 clear_end_of_line (FRAME_WIDTH (selected_frame)); 1597 clear_end_of_line (FRAME_WIDTH (selected_frame));
1598 /* clear_end_of_line may move the cursor */ 1598 /* clear_end_of_line may move the cursor */
1599 cursor_to (FRAME_HEIGHT (selected_frame) - 1, 0); 1599 cursor_to (FRAME_HEIGHT (selected_frame) - 1, 0);
1600#ifdef IBMR2AIX 1600#if defined (IBMR2AIX) && defined (AIXHFT)
1601 { 1601 {
1602 /* HFT devices normally use ^J as a LF/CR. We forced it to 1602 /* HFT devices normally use ^J as a LF/CR. We forced it to
1603 do the LF only. Now, we need to reset it. */ 1603 do the LF only. Now, we need to reset it. */
@@ -1643,7 +1643,7 @@ reset_sys_modes ()
1643 dos_ttcooked (); 1643 dos_ttcooked ();
1644#endif 1644#endif
1645 1645
1646#ifdef AIX 1646#ifdef AIXHFT
1647 hft_reset (); 1647 hft_reset ();
1648#endif 1648#endif
1649 1649
@@ -4851,7 +4851,7 @@ srandom (seed)
4851} 4851}
4852#endif /* VMS */ 4852#endif /* VMS */
4853 4853
4854#ifdef AIX 4854#ifdef AIXHFT
4855 4855
4856/* Called from init_sys_modes. */ 4856/* Called from init_sys_modes. */
4857hft_init () 4857hft_init ()
@@ -4943,7 +4943,7 @@ hft_reset ()
4943 hftctl (0, HFSKBD, &buf); 4943 hftctl (0, HFSKBD, &buf);
4944} 4944}
4945 4945
4946#endif /* AIX */ 4946#endif /* AIXHFT */
4947 4947
4948#ifdef USE_DL_STUBS 4948#ifdef USE_DL_STUBS
4949 4949