bug-bash
[Top][All Lists]
Advanced

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

Re: bash 3.0 ignores intr character


From: Chet Ramey
Subject: Re: bash 3.0 ignores intr character
Date: Wed, 11 Aug 2004 17:24:16 -0400
User-agent: Mozilla Thunderbird 0.7.3 (Macintosh/20040803)

Tim Mooney wrote:

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

Description:
        [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".

This isn't a new change.  The code in question was inserted many years
ago.


        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.

No.  Something else is at fault.  I'm traveling and don't have access to
Solaris 2.8, but can't reproduce it right now on the systems to which I
do have access.

Does ^C work to interrupt a normal process?  For example, can you
interrupt a `sleep' job with ^C?

When running a system call tracer like `truss', does pressing ^C while
readline is active even generate a SIGINT?  The idea is that a SIGINT is
generated by the terminal driver and handled by readline, not that
readline has something bound to ^C that simulates the effects of SIGINT.

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/




reply via email to

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