On 2006-07-11 12:09:45 -0700, Ian Brandt wrote: [...] > >> Backing up a little, I'd edit that line to show > >> > >> macosx|generic color xterm, > >> > >> and remove the $HOME/.terminfo/x/xterm-color and > >> $HOME/.terminfo/n/nxterm, > >> rerun tic. Then > >> > >> infocmp macosx xterm-color > >> > >> would show whatever changes were made other than the sgr string. > > Here is the result: > > $ infocmp macosx xterm-color > comparing macosx to xterm-color. > comparing booleans. > comparing numbers. > comparing strings. > hts: '\EH', NULL. > is2: '\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>', > '\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8'. > kdch1: '\E[3~', '\177'. > kend: NULL, '\E[4~'. > kfnd: '\E[1~', NULL. > khome: NULL, '\E[1~'. > kslt: '\E[4~', NULL. > meml: NULL, '\El'. > memu: NULL, '\Em'. > rs2: '\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>', > '\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8'. [...] > I compiled your terminfo on my Debian box, and ssh'd over with TERM > set to 'nsterm'. A few initial observations: > > - Color is lost at the Bash prompt. > - Horizontal borders in Aptitude (e.g. in the search or quit > dialogs) become '?' characters. > - Delete works at the bash prompt, but in Aptitude it prints '^[[3~'. > - Backspace works in Aptitude, whereas with xterm-color it printed '^?'.
You should set TERM to 'macosx'. If things don't work, just fix them in the terminfo data and rerun tic. Note: you shouldn't use the ncurses that come with Mac OS X. They are buggy. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / SPACES project at LORIA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]