On Fri, 30 Jan 2009, Donald Chai wrote: > > On Jan 29, 2009, at 8:54 PM, bill lam wrote: > >> On Thu, 29 Jan 2009, Donald Chai wrote: >>> You can replace that line with: >>> ESCDELAY = esc_delay; >> >> Thanks! >> >> I found 2 further issues >> 1. on my ubuntu, $TERM is xterm (actually it is 256 color), but dvtm >> cannot detect it and makes it a 8 (or 16?) color rxvt. > > You probably need to set TERM to xterm-256color. If 'infocmp xterm' > says you have 8 colors, ncurses and dvtm will think your terminal only > supports 8 colors. If you don't have the proper terminfo files, then be > prepared for some fun with 'infocmp' and 'tic'. >
After install terminfo for xterm-256color, echo $TERM inside xterm now gives xterm-256color, but after enter dvtm, echo $TERM now gives rxvt-256color, why not xterm-256color?. Moreover colors are displayed incorrectly. This is worse than using the previous xterm setting. >> 2. if start dvtm from dmenu typing "xterm -e dvtm" there is always an >> extra ^Z placed in ttyin so that when I start to type any >> character, the ^Z appear and I have to delete it, >> However if I start dvtm from xterm, it is OK. > > Change config.mk to use ncursesw (LIBS_UTF8). > I already built with unicode $ldd dvtm linux-vdso.so.1 => (0x00007fffa7ffe000) libc.so.6 => /lib/libc.so.6 (0x00007f869f99c000) libutil.so.1 => /lib/libutil.so.1 (0x00007f869f799000) libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f869f552000) /lib64/ld-linux-x86-64.so.2 (0x00007f869fd0e000) libdl.so.2 => /lib/libdl.so.2 (0x00007f869f34e000) -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 唐詩303 李商隱 嫦娥 雲母屏風燭影深 長河漸落曉星沈 嫦娥應悔偷靈藥 碧海青天夜夜心