[Bug 200835] control-c does not behave as expected in /rescue/tcsh

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 13 13:21:31 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200835

            Bug ID: 200835
           Summary: control-c does not behave as expected in /rescue/tcsh
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: venture37 at geeklan.co.uk

Just for the sake of documentation, a cautionary tale of stupidity. It appears
that ctrl-c does not behave as intended with /rescue/tcsh. Found out on a
system when /rescue/tcsh had been copied to /bin/tcsh after losing /bin/tcsh on
a system.
When ctrl-c is pressed, instead of starting a new line, the shell terminates,
logging the user out or killing a pane in tmux.

Originally thought to be an issue with Japanese keyboard layout but it should
be reproducible with any keyboard.

install -C /rescue/tcsh /bin/tcsh
reboot
login
have one line of input (a single character followed by enter is sufficient)
press ctr-c


Debugged by hrs@ at BSDCan 2015

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list