id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3063	subshell history is poisoned with cwd's in csh	drookie		"% uname -a
FreeBSD bsdrookie.norma.com. 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r251990M: Mon Jul 15 15:57:40 YEKT 2013     emz@bsdrookie.norma.com.:/usr/obj/usr/src/sys/GENERIC  amd64

% mc -V
GNU Midnight Commander 4.8.8
Built with GLib 2.34.3
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

% history
     1  20:24   mc
     2  20:24   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
     3  20:24   set echo_style=both ; alias precmd 'echo $cwd:q >>/tmp/mc-drookie/mc.pipe.60740;kill -STOP $$'
     4  20:24   cd ""`printf ""%b"" '\0057sbin'`""
     5  20:25   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie\0057\0056config'`""
     6  20:25   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
     7  20:25   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie\0057\0056config\0057mc'`""
     8  20:25   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie\0057\0056config'`""
     9  20:25   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
    10  20:27   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
    11  20:27   set echo_style=both ; alias precmd 'echo $cwd:q >>/tmp/mc-drookie/mc.pipe.74065;kill -STOP $$'
    12  20:27   mc
    13  20:27   cd ""`printf ""%b"" '\0057bin'`""
    14  20:27   ./chmod
    15  21:52   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
    16  21:52   set echo_style=both ; alias precmd 'echo $cwd:q >>/tmp/mc-drookie/mc.pipe.87093;kill -STOP $$'
    17  21:52   mc
    18  21:52   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
    19  21:52   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
    20  21:52   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
    21  21:52   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
    22  21:52   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
    23  21:52   set echo_style=both ; alias precmd 'echo $cwd:q >>/tmp/mc-drookie/mc.pipe.87112;kill -STOP $$'
    24  21:52   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
    25  21:52   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
    26  21:52   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
    27  21:53   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie\0057\0056cache'`""
    28  21:53   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
    29  21:53   cd ""`printf ""%b"" '\0057usr\0057home\0057drookie'`""
    30  21:56   uname -a
    31  21:56   mc -V
    32  21:56   unset LANG
    33  21:56   mc -V
    34  21:56   set
    35  21:57   unsetenv LANG
    36  21:57   mc -V
    37  21:57   history

% echo $HISTCONTROL
ignoreboth

So, when I press up/down arrows this stuff appears in my CLI. This works fine under Linux/Solaris, but obviously, not FreeBSD.

I tried different shell with same result.
"	defect	closed	major		mc-core	4.8.8	duplicate		iav@…			no branch	
