I'm sorry for my inexperience with termcap/terminfo entries, but unless I misunderstood, your original response didn't fully answer my question. I wanted to install a termcap entry for rxvt-unicode. Now you told me how to install a terminfo entry, and I hadn't even realized that openbsd used terminfo (so thank you), but there still isn't a termcap entry. The infocmp program outputs a termcap entry, but I'm not sure what to do with it. -- Russell Harmon RTP Computer Science House
On Sun, Apr 4, 2010 at 06:01, Nicholas Marriott <nicholas.marri...@gmail.com > wrote: > Sometimes I wonder why I bother... > > > On Sun, Apr 04, 2010 at 05:55:01AM -0400, Russell Harmon wrote: > > The output of the infocmp command isn't valid in /etc/termcap. It > doesn't > > even use the same syntax! > > -- > > Russell Harmon > > RTP Computer Science House > > > > On Sun, Apr 4, 2010 at 05:42, Nicholas Marriott > > <[1]nicholas.marri...@gmail.com> wrote: > > > > OpenBSD uses its own terminfo database format, but the default paths > are > > searched as well so you can just use tic(1): > > > > $ ftp -o rxvt-unicode.terminfo \ > > [2] > http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt-unicode.terminfo?revision=1.26 > > $ sudo TERMINFO=/usr/share/terminfo tic -x rxvt-unicode.terminfo > > $ ls -l /usr/share/terminfo/r/rxvt-unicode > > -rw-r--r-- **1 root **wheel ** 2.1K Apr **4 10:40 > > /usr/share/terminfo/r/rxvt-unicode > > $ infocmp rxvt-unicode > > # ** ** ** Reconstructed via infocmp from file: > > /usr/share/terminfo/r/rxvt-unicode > > rxvt-unicode|rxvt-unicode terminal (X Window System), > > ... > > > > Job done. > > On Sun, Apr 04, 2010 at 04:44:11AM -0400, Russell Harmon wrote: > > > I want to add a custom termcap entry for rxvt-unicode. Is the > proper > > way > > > simply editing /etc/termcap? I notice that it is a symlink to > > > /usr/share/misc/termcap. Perhaps I should delete the symlink and > copy > > it > > > from there into /etc? > > > > > > I tried editing in my termcap entry, but when I do, and run the > > following > > > command, I get errors: > > > > > > # tset -IsQ rxvt-unicode > > > TERM=rxvt-unicode; > > > tset: termcap names not colon terminated: No such file or > directory > > > TERMCAP='# > > > > > > -- > > > Russell Harmon > > > RTP Computer Science House > > > > > > > References > > > > Visible links > > 1. mailto:nicholas.marri...@gmail.com > > 2. > http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt-unicode.terminfo?revision=1.26