Ticket #2496 (new enhancement)

Opened 13 years ago

Last modified 11 years ago

return "Force subshell execution" option (-r in comand line)

Reported by: asy Owned by:
Priority: major Milestone: Future Releases
Component: mc-core Version: 4.7.5
Keywords: Cc: gotar@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by andrew_b) (diff)

Hello.

This can be found in git log:

commit 915136719d4bf5c4ceb383b3629e62086f5bfdd7
Author: Pavel Roskin <proski@…>
Date: Sat Mar 22 05:28:08 2003 +0000

  • command.c (enter): Check subshell state early and return if inactive before clearing the command line.
  • main.c (force_subshell_execution): Remove magic, unusable, undocumented command line option "-r".

Or in old text changelog:

2003-03-22 Adam Byrtek <alpha@…>

  • command.c (enter): Check subshell state early and return if inactive before clearing the command line.
  • main.c (force_subshell_execution): Remove magic, unusable, undocumented command line option "-r".

What do you think about resurrection this ? This option is supported in mc package in AltLinux? now: http://www.sisyphus.ru/ru/srpm/Sisyphus/mc/patches/4

Attachments

mc-4.8.6-alt-forceexec.patch (2.7 KB) - added by asy 11 years ago.
mc-4.8.16-alt-forceexec.patch (2.6 KB) - added by asy 8 years ago.

Change History

comment:1 Changed 13 years ago by asy

Example of behavour with -r option:

  1. run "cat" from mc's command line
  2. press Ctrl+o (return to pannels)
  3. select any file described in mc.ext (for example foo.avi)
  4. press Enter

behavour: mc will to run "mplayer foo.avi"

without "-r" mc will to show the message "The shell is already running a command"

comment:2 Changed 13 years ago by gotar

  • Cc gotar@… added

Changed 11 years ago by asy

comment:3 Changed 11 years ago by andrew_b

  • Description modified (diff)
  • Branch state set to no branch

comment:4 Changed 11 years ago by andrew_b

  • Description modified (diff)
  • Milestone changed from 4.8 to Future Releases

Changed 8 years ago by asy

Note: See TracTickets for help on using tickets.