Skip to content

savannah: ';' separated UNIX commands started from cd #73

Description

@mc-butler

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/73
Reporter valera

Original: http://savannah.gnu.org/bugs/?21211

Submitted by:Valera Veryazov <valera>Submitted on:Mon 01 Oct 2007 07:35:13 PM UTC
Category:CoreSeverity:3 - Normal
Status:PostponedPrivacy:Public
Assigned to:NoneOpen/Closed:Open
Release:All versionsOperating System:GNU/Linux

Original submission:

not a critical bug, but annoying (exists in all mc versions)..
cd ..; make; cd -
doesn't work.
However, adding any command in front of 'cd', e.g. 'ls; cd ..; make;
cd -' fix the problem.

Comment 1 by Pavel Tsekov <ptsekov> at Tue 02 Oct 2007 08:52:18 AM UTC:

A quote from command.c:

[...]
Advanced users should be encouraged to use "\cd" instead of "cd" if 
they want the behavior they are used to in the shell.
[...]

I am not going to fix this for 4.6.2 - I am not sure I'll be able to
find a proper solution right now. Of course patches are welcomed. 
People interested in fixing this should start looking at command.c.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: vfsVirtual File System supportprio: mediumHas the potential to affect progress

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions