This is the mail archive of the cygwin-apps mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Updated terminfo and termcap definitions [Was: Re: 1.7.1 release date? (termcap)]

2009/11/21 Charles Wilson:
>> This is a heads-up concerning changes to terminfo/termcap defintions. As
>> discussed on cygwin-developers, here's a stab at providing /etc/termcap
>> via terminfo:
> Updated versions:
> cygwin-1.5
> cygwin-1.7

Looking good, except for this minor issue:

$ etc/postinstall/
chmod: cannot operate on dangling symlink `Apple_Terminal'

Will there be an update for terminfo0 as well? A bunch of apps still
depend on it (although apparently not on the kbs entry, as backspace
works anyway).

> The cygwin-1.5 version incorporates the backspace=\177 changes for
> screen, but not the cygwin console or xterm.

I think screen goes with whatever is set in its host terminal, i.e. if
I change it to ^H in mintty (and restart), screen follows suit. Hence
it's probably better to leave it at ^H for 1.5.

> These two release improve upon yesterday's /etc/termcap replacement:
> 1) actually include all the necessary terminal dependencies, so the
> complex terminal descriptions (for, e.g., rxvt or xterm) actually work.

Yay, the termcap xterm entry now uses \e[?1049h instead of \e[?47h to
switch to the alternate screen, which means no more old alternate
screen contents showing up when invoking 'less' or 'man'.

Although, come to think of it, that doesn't happen on 1.7 anyway, so
does the 'less' there already use terminfo?

> 2) add (copy) aliases and term entries for terminals that were in the
> termcap-20050421-1 version of /etc/termcap, but are not represented in
> terminfo. ÂThis is *probably* overkill, but for now I want to ensure
> that "if it was in the old /etc/termcap, it is in the new one".

You mean "pcansi-mono25" and stuff like that? I'd drop them. If
they're not in terminfo, very few things will work correctly anyway.
If they can't be dropped now, when can they?

> 3) add entries for hi-color variations of screen, xterm, and rxvt.

Good idea. Thanks!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]