Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XOFF & bash 0.99

85 views
Skip to first unread message

James Van Artsdalen

unread,
Jun 10, 1989, 6:50:25 PM6/10/89
to
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 ja...@bigtex.cactus.org "Live Free or Die"
Dell Computer Co 9505 Arboretum Blvd Austin TX 78759 512-338-8789

James Van Artsdalen

unread,
Jun 10, 1989, 11:27:26 PM6/10/89
to

> *** /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? :-)

0 new messages