[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash 3.0 ignores intr character

From: Tim Mooney
Subject: bash 3.0 ignores intr character
Date: Wed, 11 Aug 2004 16:02:28 -0500 (CDT)

Configuration Information [Automatically generated, do not change]:
Machine: alphaev56
OS: osf5.1
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='alphaev56' 
-DCONF_OSTYPE='osf5.1' -DCONF_MACHTYPE='alphaev56-dec-osf5.1' 
-DCONF_VENDOR='dec' -DLOCALEDIR='/local/gnu/share/locale' -DPACKAGE='bash' 
-DSHELL -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  -I/local/gnu/include 
-std -O3 -g3 -tune host -arch host -Olimit 3000 -portable -readonly_strings 
-msg_disable inlinestoclsmod,valuepres,longlongtype
uname output: OSF1 dogbert V5.1 2650 alpha
Machine Type: alphaev56-dec-osf5.1

Bash Version: 3.0
Patch Level: 0
Release Status: release

        [I tried posting this to gnu.bash.bug twice, but neither post has
        shown up that I can see].

        bash 3.0 has a change to readline regarding special characters, as
        mentioned in a post to gnu.bash.bug with a Subject: of
        "unix-filename-rubout doesn't work".

        I think Chet's reasoning is sound regarding why the change was made,
        but it seems to have completely broken intr-handling in bash 3.0.
        My normal .inputrc sets vi-mode, but with or without a .inputrc the
        ^C character is completely ignored on both Tru64 UNIX 5.1b and
        Solaris 2.8 (LP64 mode).  Pressing ^C has no visible effect with
        bash 3.0.  I just tested on mips4-sig-irix6.5.22m (LP64 mode), and
        the problem happens there as well.

        This doesn't happen for me on Linux -- pressing ^C works as it did
        with 2.05b.004.

        Execute bash 3.0 and press ^C.  Nothing happens.

        My stty settings (on Tru64):
#2 disc;speed 38400 baud; 24 rows; 80 columns
erase = ^H; werase = ^W; kill = ^U; intr = ^C; quit = ^\; susp = ^Z
dsusp = ^Y; eof = ^D; eol = <undef>; eol2 = <undef>; stop = ^S
start = ^Q; lnext = ^V; discard = ^O; reprint = ^R; status = <undef>
time = 0; min = 1
-parenb -parodd cs8 -cstopb -hupcl -cread -clocal -crtscts 
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc 
ixon -ixany -ixoff imaxbel 
isig icanon -xcase echo echoe -echok -echonl -noflsh -mdmbuf -nohang 
-tostop echoctl -echoprt echoke -altwerase iexten -nokerninfo 
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tabs -onoeot tab3 

        On Solaris:

speed 9600 baud; 
rows = 24; columns = 80; ypixels = 312; xpixels = 560;
csdata ?
eucw 1:0:0:0, scrw 1:0:0:0
intr = ^c; quit = ^\; erase = ^?; kill = ^u;
eof = ^d; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^q; stop = ^s; susp = ^z; dsusp = ^y;
rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;
parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crtscts -crtsxoff
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc 
-ixon -ixany -ixoff -imaxbel 
isig icanon -xcase echo echoe echok -echonl -noflsh 
-tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten 
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel 

        on IRIX:

speed 38400 baud; line = 1; 24 rows; 80 columns
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^@; old-swtch = 
^@; susp = ^Z
lnext = ^V; werase = ^W; rprnt = ^R; flush = ^O; stop = ^S; start = ^Q; dsusp = 
parenb -parodd cs8 -cstopb hupcl cread -clocal -cnew_rtscts -loblk 
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc 
-ixon -ixany -ixoff -imaxbel 
isig icanon iexten -xcase echo echoe echok echoke echoctl -echoprt -echonl
-noflsh -flusho -pendin -tostop 
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]