This is the mail archive of the cygwin 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: urxvt-X terminfo and Bash readline


> I guess I could make it automatic even
> then, by require:ing tic0...but then everybody, even those who don't
> need it, would install tic0, the "old" terminfo0 database, and all of
> the (old) ncurses libraries that tic0 needs. Plus, that runs against my
> attempt to slowly phase out the "old" database...

Admittedly, I'm part of the unwashed masses, terminfo-wise. So I don't
know if this is kosher, but emacs seemed happy with the compiled
terminfo that I made using the new tic. The only problem I had was
that emacs was looking for it in the wrong place (I presume this is
because my emacs [the latest Cygwin build] is compiled against the old
ncurses). Would it be sufficient for the post-install script to copy
the same terminfo file (built with new tic) to *both* locations, if
the old database directory(ies) exists?

I could understand why this would be bad if terminfos compiled by the
new tic should only be compatible with programs compiled against the
new ncurses, but I don't know if that's the case (it doesn't seem to
be as far as I can tell based upon my limited testing of it so far).

>
> I know nothing of this. I didn't do anything "special" so I figure this
> is the upstream default behavior of rxvt-unicode. I plan to update
> rxvt-unicode to 8.x once cygwin-1.7 is released, so maybe we can revisit
> this issue then.

Seems plausible that it would be upstream behavior. The only reason I
even noticed this is because rxvt seems to have a bug with escape
characters in the Bash prompt. When they are there, it doesn't do the
horizontal scrolling quite right, and it looks real ugly. Otherwise
I'd have been fine with horizontal scroll mode... nah, actually I
prefer it to just wrap, but I might not have been motivated enough to
figure out why it was behaving differently from xterm if it did the
horizontal scrolling properly.

It's not a big deal since there is a straight-forward workaround. It
just might be hard for some folks to figure out what the proper
workaround is if they don't understand what drives the difference in
behavior.

Thanks for the explanations, Chuck. Much appreciated.

Cheers,

-- Dan

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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