Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: HEADS UP: terminfo imported into -current



On 03/02/2010 17:17, Brian Buhrow wrote:
        Hello.  How is this an improvement over termcap? which is a single
place where terminal definitions are defined, as opposed to a tree of
definitions?

My terminfo implementaion also supports a single place of definitons
netbsd-5 has /usr/share/misc/termcap which is used to generate /usr/share/misc/termcap.db

-current has /usr/share/misc/terminfo which is used to generate /usr/share/misc/terminfo.db

I hope you  remembered the window(1) utility when you
imported this change.  The window(1) utility provides its own terminal
definition, and when you ssh to other machines in a window, you need the
.termcap entry to work.

A quick look at the code suggests this is to purely set the number of columns and lines in the window. A lot of applications respect $COLUMNS and $LINES - would it not be better (and more portable) to set those?

Do you provide a captoinfo utility?

No

Thanks

Roy


Home | Main Index | Thread Index | Old Index