From: MINAMI H. <mi...@ch...> - 2002-07-03 05:20:55
|
Hi I've committed HOME/END key support to CVS. Now mlterm recognizes HOME/END and you can specify the code sequence for those keys using configuration file. By default, no code sequence is sent for HOME/END (those keys are ignored). It can be changed by setting the value for "kh" (for HOME) and "@7" (for END) in mlterm/termcap. For the format of the config file, see the "Terminal Behavior Configuration File" section in the mlterm's man page. The value to be specified can be read from your terminfo/termcap database. If you are using termcap, use the value of kh/@7 field. In the case of terminfo, use khome/kend instead. For example, if you are using mlterm on debian + XFree86 4.x, "infocmp xterm" says that khome=\EOH and kend=\EOF for TERM=xterm. So add xterm:kD=\E[3~:kb=^?:kh=\EOH:@7=\EOF:ut to your.mlterm/termcap (or modify /etc/mlterm/termcap if you like) and test whether HOME/END works when TERM is set to xterm. # You can NOT use HOME/END under TERM=kterm on debian for now. # Because this feature is worthless when terminfo/termcap entry for your TERM # does not contain the definition of kh/@7 (khome/kend)... regards, MINAMI Hirokazu <mi...@ch...> |