Thread View: gnu.bash.bug
2 messages
2 total messages
Started by James Van Artsdalen
Sat, 10 Jun 1989 22:50
XOFF & bash 0.99
Author: James Van Artsdalen
Date: Sat, 10 Jun 1989 22:50
Date: Sat, 10 Jun 1989 22:50
33 lines
1371 bytes
1371 bytes
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
Re: XOFF & bash 0.99
Author: James Van Artsdalen
Date: Sun, 11 Jun 1989 03:27
Date: Sun, 11 Jun 1989 03:27
11 lines
873 bytes
873 bytes
In <17926@bigtex.cactus.org>, I wrote: > *** /tmp/,RCSt1a25527 Sat Jun 10 17:49:56 1989 > --- /tmp/,RCSt2a25527 Sat Jun 10 17:49:58 1989 > *************** > *** 1825,1831 **** Er, yes, that's readline.c. You mean Larry Wall can't handle this? :-) -- James R. Van Artsdalen james@bigtex.cactus.org "Live Free or Die" Dell Computer Co 9505 Arboretum Blvd Austin TX 78759 512-338-8789
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads