NetBSD-Bugs archive

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

bin/41954: "sh -i" regressed in 5.99



>Number:         41954
>Category:       bin
>Synopsis:       "sh -i" regressed in 5.99
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 28 18:05:00 +0000 2009
>Originator:     Aleksej Saushev
>Release:        NetBSD 5.99.15
>Organization:
>Environment:
System: NetBSD asau.local 5.99.15 NetBSD 5.99.15 (KERN) #0: Tue Aug 25 12:45:55 
MSD 2009 asau%asau.local@localhost:/tmp/obj/sys/arch/i386/compile/KERN i386
Architecture: i386
Machine: i386
>Description:
        "sh -i" behaviour changed somewhere in between 5.0 release and today,
        Emacs shell-mode doesn't function now.

        Problem occured first after userland update from one of early 5.0 stable
        snapshots to 5.99.15.
>How-To-Repeat:
        In GNU Emacs 23.1: start shell ("M-x shell <CR>"),
        press <CR> in new buffer, see the shell process exit:
        "Process shell finished".
        Same happens when you try running commands.

        Change shell used for inferior shell:
        M-: (setq explicit-shell-file-name "/bin/ksh")
        Run shell: M-x shell. Try entering commands. See how they run.

        Repeat with /usr/pkg/bin/bash. Note its behaviour is consistent with 
ksh's.
>Fix:
        Use ksh as workaround, call (setq explicit-shell-file-name "/bin/ksh")
        in .emacs



Home | Main Index | Thread Index | Old Index