aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-06-13 00:49:50 +0000
committerRichard M. Stallman1997-06-13 00:49:50 +0000
commitac567c95179116d49b02f22e1e850e6d7b0ee2ce (patch)
tree98409c0b664bc8c76ed9184ffb8a2a78750b8849 /src
parent303b5b3f0f2de500d03eb347ab09a79214bc3ace (diff)
downloademacs-ac567c95179116d49b02f22e1e850e6d7b0ee2ce.tar.gz
emacs-ac567c95179116d49b02f22e1e850e6d7b0ee2ce.zip
(init_sys_modes): Enable VSTART and VSTOP if flow_control.
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index b6d87714820..5197317b5f9 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1375,6 +1375,15 @@ init_sys_modes ()
1375 tty.main.c_cc[VSUSP] = 255; 1375 tty.main.c_cc[VSUSP] = 255;
1376 tty.main.c_cc[VDSUSP] = 255; 1376 tty.main.c_cc[VDSUSP] = 255;
1377#endif /* IBMR2AIX */ 1377#endif /* IBMR2AIX */
1378 if (flow_control)
1379 {
1380#ifdef VSTART
1381 tty.main.c_cc[VSTART] = '\021';
1382#endif /* VSTART */
1383#ifdef VSTOP
1384 tty.main.c_cc[VSTOP] = '\023';
1385#endif /* VSTOP */
1386 }
1378 /* Also, PTY overloads NUL and BREAK. 1387 /* Also, PTY overloads NUL and BREAK.
1379 don't ignore break, but don't signal either, so it looks like NUL. 1388 don't ignore break, but don't signal either, so it looks like NUL.
1380 This really serves a purpose only if running in an XTERM window 1389 This really serves a purpose only if running in an XTERM window