unable use subshell, Not an xterm or Linux console; the panels cannot be toggled.



Hello.
 
I usage Ubuntu server 14.04.01 LTS 64bit.
I connect to server via SSH and get problem in mc apps (mcedit & mcview), unable to switch subshell (press ctrl+o), I see message “Not an xterm or Linux console; the panels cannot be toggled.”
 
# env
SHELL=/bin/bash
TERM=linux
 
==== strace mcview ==== press ctrl+o ====
Process 28940 attached
select(4, [3], NULL, NULL, NULL
)        = 1 (in [3])
rt_sigaction(SIGINT, {SIG_IGN, [], SA_RESTORER, 0x7f224d928bb0}, NULL, 8) = 0
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
select(4, [3], NULL, NULL, {10, 0})     = 1 (in [3], left {9, 999998})
read(3, "\17", 1)                       = 1
ioctl(0, TIOCLINUX, 0x7fffabc0aa68)     = -1 ENOTTY (Inappropriate ioctl for device)
access("/home/x-files/.local/share/mc/history", R_OK) = 0
stat("/home/x-files/.local/share/mc/history", {st_mode=S_IFREG|0600, st_size=10334, ...}) = 0
open("/home/x-files/.local/share/mc/history", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0600, st_size=10334, ...}) = 0
read(6, "[input-def]\n0=*\n\n[:unselect_cmd:"..., 4096) = 4096
read(6, "\n10=f\n11=NOTE\n12=Records2\n13=OLD"..., 4096) = 4096
read(6, "-4cb3-3dea-9d93-b5cc0f9ac6ba/201"..., 4096) = 2142
read(6, "", 4096)                       = 0
close(6)                                = 0
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "\33[16;49H\33[1m\33[37m\33[41m          "..., 522) = 522
rt_sigaction(SIGINT, {0x7f224ecb7e40, [], SA_RESTORER, 0x7f224d928bb0}, NULL, 8) = 0
select(4, [3], NULL, NULL, NULL
======================================
 
 
==== strace mcedit ==== press ctrl+o ====
Process 29136 attached
select(4, [3], NULL, NULL, NULL
 
)        = 1 (in [3])
rt_sigaction(SIGINT, {SIG_IGN, [], SA_RESTORER, 0x7f22a322ebb0}, NULL, 8) = 0
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
select(4, [3], NULL, NULL, {10, 0})     = 1 (in [3], left {9, 999998})
read(3, "\17", 1)                       = 1
ioctl(0, TIOCLINUX, 0x7fffbb0fc4e8)     = -1 ENOTTY (Inappropriate ioctl for device)
access("/home/x-files/.local/share/mc/history", R_OK) = 0
stat("/home/x-files/.local/share/mc/history", {st_mode=S_IFREG|0600, st_size=10334, ...}) = 0
open("/home/x-files/.local/share/mc/history", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0600, st_size=10334, ...}) = 0
read(5, "[input-def]\n0=*\n\n[:unselect_cmd:"..., 4096) = 4096
read(5, "\n10=f\n11=NOTE\n12=Records2\n13=OLD"..., 4096) = 4096
read(5, "-4cb3-3dea-9d93-b5cc0f9ac6ba/201"..., 4096) = 2142
read(5, "", 4096)                       = 0
close(5)                                = 0
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "\33[16;49H\33[1m\33[37m\33[41m          "..., 522) = 522
rt_sigaction(SIGINT, {0x7f22a45bde40, [], SA_RESTORER, 0x7f22a322ebb0}, NULL, 8) = 0
select(4, [3], NULL, NULL, NULL
======================================
 
Please find why I can’t use subshell.
 
thank you..
 
BR,
Vadim
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]