Ticket #4096 (new defect)
mc with ncurses after #3954
Reported by: | kloczek | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Future Releases |
Component: | mc-tty | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description (last modified by andrew_b) (diff)
After fixing handling mouse by mc compiled with ncurses under #3954 I've started using on one of my computer such binary to observe current behaviour.
Looks like mc with ncurses is generally OK however it is some number of some minor issues.
Here is summary list of the effects which I found so far:
1) Under windows putty all ascii frames gone and instead frames are displayed "x" characters. Under gnome-terminal it is OK. Both terminals are using xterm-256color so I'm assuming that this must be result of some terminal settings.
2) keys like home or key combinations like alt-N, alt-P or alt-H are handled with some delay. With alt-N/alt-P in input line is displayed first cleaned and after the delay is displayed correct text of line from history list.
That delay and input line updating in two stages is possible to observe under windows putty and gnome-terminal. That effect is a bit annoying because it causes slowing down interaction with mc. IMO that effect is kind of critical.
I'm not sure what is causing that palette of the colours on the same terminal when mc is compiled with SLang and ncurses but probably it is caused by a bit different internal colours mapping by those two libraries. Probably that could be accepted as known issue and to provide the same colours ncurses code should be changed.
Change History
comment:2 Changed 4 years ago by kloczek
gnome-terminal "stty -a" output:
$ stty -a speed 38400 baud; rows 55; columns 238; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0; -parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc
Putty "stty -a" output: