mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-09 11:54:12 +03:00
* execute.c (toggle_panels): Fix error. show_output_starts_shell=1
is not working * cmd.c (view_other_cmd): Likewise.
This commit is contained in:
parent
259bc3957b
commit
e3698948a4
@ -1,3 +1,11 @@
|
|||||||
|
2004-09-12 Pavel Shirshov <pavelsh@mail.ru>
|
||||||
|
|
||||||
|
* execute.c (toggle_panels): Fix error. show_output_starts_shell=1
|
||||||
|
is not working
|
||||||
|
* cmd.c (view_other_cmd): Likewise.
|
||||||
|
|
||||||
|
From Petr Hadraba <hadrabap@volny.cz>
|
||||||
|
|
||||||
2004-09-10 Jakub Jelinek <jakub@redhat.com>
|
2004-09-10 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* view.c (get_byte): Fix avoid dying if file is too large
|
* view.c (get_byte): Fix avoid dying if file is too large
|
||||||
|
@ -919,7 +919,7 @@ view_other_cmd (void)
|
|||||||
{
|
{
|
||||||
static int message_flag = TRUE;
|
static int message_flag = TRUE;
|
||||||
|
|
||||||
if (!xterm_flag && !console_flag && !use_subshell) {
|
if (!xterm_flag && !console_flag && !use_subshell && !output_starts_shell) {
|
||||||
if (message_flag)
|
if (message_flag)
|
||||||
message (1, MSG_ERROR,
|
message (1, MSG_ERROR,
|
||||||
_(" Not an xterm or Linux console; \n"
|
_(" Not an xterm or Linux console; \n"
|
||||||
|
@ -235,7 +235,7 @@ toggle_panels (void)
|
|||||||
_("Type `exit' to return to the Midnight Commander"));
|
_("Type `exit' to return to the Midnight Commander"));
|
||||||
fprintf (stderr, "\n\r\n\r");
|
fprintf (stderr, "\n\r\n\r");
|
||||||
|
|
||||||
my_system (EXECUTE_AS_SHELL, shell, NULL);
|
my_system (EXECUTE_INTERNAL, shell, NULL);
|
||||||
} else
|
} else
|
||||||
get_key_code (0);
|
get_key_code (0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user