Midnight Commander LIGHT a klavesy

Břetislav Kubesa bretislav.kubesa at centrum.cz
Sun Nov 7 18:44:10 CET 2004


Zdravim vsechny,

mozna blbina,ale pro me neresitelny problem.
Nefunguji mi v mc-light (midnight commander klon) funkcni (znaky [11~)a 
kurzorove klavesy (vidim znaky OA, OB) po pripojeni pres Putty a po su na 
roota.
Pokud dam su -m, tak klavesy funguji(tedy beze zmeny prostredi,logicke,kdyz 
to na 1. uctu bezi). Bohuzel pokud klavesy nefunguje, nejsem schopen se ani 
dostat do "uceni" klaves pres ESC+n.

Pokud se podivam do promennych pro prvniho uzivatele, vidim >
BASH=/usr/local/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="00" [2]="13" [3]="0" [4]="release" 
[5]="i386-portbld-freebsd5.2")
BASH_VERSION='3.00.13(0)-release'
BLOCKSIZE=K
COLUMNS=120
DIRSTACK=()
EUID=1001
FTP_PASSIVE_MODE=YES
GROUPS=()
HISTFILE=/home/kubesa/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/kubesa
HOSTNAME=xxxx
HOSTTYPE=i386
IFS=$' \t\n'
LINES=42
LOGNAME=kubesa
MACHTYPE=i386-portbld-freebsd5.2
MAIL=/var/mail/kubesa
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=freebsd5.2
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/kubesa/bin
PIPESTATUS=([0]="0")
PPID=40916
PS1='[\u@\h:\w] $ '
PS2='> '
PS4='+ '
PWD=/home/kubesa
SHELL=/usr/local/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
SSH_CLIENT='xxxip 4237 22'
SSH_CONNECTION='xxxip 4237 192.168.100.107 22'
SSH_TTY=/dev/ttyp1
TERM=xterm
UID=1001
USER=kubesa
_=set

Po su -l (full login)>

BASH=/usr/local/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="00" [2]="13" [3]="0" [4]="release" 
[5]="i386-portbld-freebsd5.2")
BASH_VERSION='3.00.13(0)-release'
BLOCKSIZE=K
COLUMNS=120
DIRSTACK=()
EUID=0
FTP_PASSIVE_MODE=YES
GROUPS=()
HISTFILE=/root/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/root
HOSTNAME=xxxx
HOSTTYPE=i386
IFS=$' \t\n'
LINES=42
MACHTYPE=i386-portbld-freebsd5.2
MAIL=/var/mail/root
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=freebsd5.2
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
PIPESTATUS=([0]="0")
PPID=43095
PS1='[\u@\h:\w] # '
PS2='> '
PS4='+ '
PWD=/root
SHELL=/usr/local/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
TERM=xterm
UID=0
USER=root
_=mc

Terminaly tedy zustavaji stejne, proc se to potom chova jinak ? ;-)
Diky za kazdou radu.

BK 




More information about the Users-l mailing list