Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!milano!bigtex!james From: james@bigtex.cactus.org (James Van Artsdalen) Newsgroups: gnu.bash.bug Subject: XOFF & bash 0.99 Message-ID: <17926@bigtex.cactus.org> Date: 10 Jun 89 22:50:25 GMT Organization: Institute of Applied Cosmology, Austin TX Lines: 33 If a process is run from bash, and XOFF (^S) is pressed as that process exitsm bash will resume and place the console is raw mode. The result is that you can't press (^Q) and restart the output: the terminal is effectively hung. My "solution" is to turn on output whenever ^Q is pressed. I have no idea how to do this in BSD or Xenix. I assume that there is a better way... *** /tmp/,RCSt1a25527 Sat Jun 10 17:49:56 1989 --- /tmp/,RCSt2a25527 Sat Jun 10 17:49:58 1989 *************** *** 1825,1831 **** rl_quoted_insert (count) int count; { ! int c = rl_getc (in_stream); rl_insert (count, c); } --- 1825,1835 ---- rl_quoted_insert (count) int count; { ! int c; ! #ifdef SYSV ! ioctl(fileno(in_stream), TCXONC, 1); ! #endif ! c = rl_getc (in_stream); rl_insert (count, c); } -- James R. Van Artsdalen james@bigtex.cactus.org "Live Free or Die" Dell Computer Co 9505 Arboretum Blvd Austin TX 78759 512-338-8789