From: Vladimir E. <vo...@vo...> - 2012-11-02 05:28:42
|
Araki, Thanks for your replay as it's hard to find information in English regarding mlterm. See my comments in-line below. Regards, Vlad. On Fri, 2012-11-02 at 06:58 +0900, Araki Ken wrote: > Hi, > > From: Vladimir Elisseev <vo...@vo...> > Subject: [Mlterm-dev-en] few question regarding mlterm initial configuration > Date: Tue, 30 Oct 2012 09:25:20 +0100 > Message-ID: <135...@vo....home> > > > - Home/End keys and well as some Ctrl+Fx keys aren't working (I've tried > > to adjust termcap, but can't find the proper key codes) > > If the value of TERM environmental variable is xterm and infocmp returns > as follows > > $ infocmp xterm | grep khome > khome = \EOH > > , how about adding a following option to ~/.mlterm/termcap ? > > xterm:\ > kh=\EOH > Initially I've user TERM=mlterm-256color where Home/End keys waren't working, but if I use TERM=rxvt-unicode-256color, at least Home/End keys are working properly. Nevertheless, I don't understand why (khome is the same for both terminals): infocmp rxvt-unicode-256color | grep home home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, infocmp mlterm-256color | grep home enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H, khome=\E[7~, kich1=\E[2~, kind=\E[a, kmous=\E[M, knp=\E[6~, > Control+F1 ... Control+F4 combinations are assigned to shortcut keys > by default. > If you want to disable these short cut keys, add following lines to > ~/.mlterm/key. > > Control+F1=UNUSED > Control+F2=UNUSED > Control+F3=UNUSED > Control+F4=UNUSED > This was exactly the reason! I didn't try to reassign these keys, but when I've tried to open new tty using corresponding key combination it doesn't work. > > - While pseudo graphic characters displayed properly it the plain > > terminal, they don't work as expected in tmux/screen > > Does it work on xterm with tmux/screen ? > I think tmux doesn't deal with graphic characters correctly. > As I mentioned already, I've been using rxvt and pseudo graphics works fine there with tmux/screen. > > - How to make 265 colors working properly? I've adjusted the colors > > file, so it includes all the colorXXX=#XXXXXX lines and tried to use > > TERM with mlterm-256colors/xterm-256colors, but unsuccessfully... > > 256 colors are supprted without any configuration of ~/.mlterm/color. > Does http://frexx.de/xterm-256-notes/data/256colors2.pl work ? > This script works perfectly fine. While base color definitions in ~/.mlterm/color works fine, if I define additional colors there like "color25=#005faf" they are not picked up. > BTW, does "xterm-256colors" exist in terminfo ? > (Whether it exists or not can be tested by "infocmp xterm-256colors".) > > How about using TERM with "xterm-256color" ? > > Regards, > --- > Araki Ken > ara...@us... |