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 \
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

Reply via email to