Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2007 18:20:31 GMT
From:      Ighighi <ighighi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/113996: misc/mc: Midnight Commander cannot cd into directories with underscores using latest bash shell
Message-ID:  <200706241820.l5OIKVRX035208@www.freebsd.org>
Resent-Message-ID: <200706241830.l5OIU8IT004892@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113996
>Category:       ports
>Synopsis:       misc/mc: Midnight Commander cannot cd into directories with underscores using latest bash shell
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 24 18:30:08 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ighighi
>Release:        6.2-STABLE
>Organization:
>Environment:
FreeBSD orion 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jun 22 10:21:38 VET 2007     root@orion:/usr/obj/usr/src/sys/CUSTOM  i386
>Description:
The recently added bash shell (version 3.2.17) prevents Midnight Commander
(available in misc/mc) from changing to directories with underscores.

>How-To-Repeat:
When in mc(1), try to cd to any directory containing an underscore.  A message like this will appear:
Warning: Cannot change to /home/ighighi/amsn_received.

Running "mc -u" (--nosubshell) or using a different shell like zsh or the older 3.1.17 is Ok.

>Fix:
This is an issue with other OS'es as well... See:

https://savannah.gnu.org/bugs/?18136
http://bugs.archlinux.org/task/5861
http://www.google.com/search?q=mc+%22Warning%3A+Cannot+change+to%22+underscore
http://www.google.com/search?hl=en&q=mc+%22Warning%3A+Cannot+change+to%22+bash&btnG=Search
http://cvs.sv.gnu.org/viewvc/mc/mc/src/subshell.c?sortby=date&r2=1.96&r1=1.95&diff_format=u


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706241820.l5OIKVRX035208>