public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* A proposed change to termcap??
@ 2002-07-22  7:12 Tackett, Galen
  2002-07-22  7:21 ` Nicholas Wourms
  2002-07-22  9:22 ` Christopher Faylor
  0 siblings, 2 replies; 5+ messages in thread
From: Tackett, Galen @ 2002-07-22  7:12 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

Although there is a terminfo file for rxvt-cygwin-native, the distribution's
termcap file doesn't have an entry for it. I produced the attached one via
the command:

$ infocmp -uCr rxvt-cygwin-native rxvt

For consistency should something like this be added to the termcap file?

(BTW, doing so has resolved a difficulty I described here a few days ago
under
"After pre-release setup, warning message from less." In brief--less gives a
warning for rxvt-cygwin-native, while the vanilla rxvt doesn't allow use of
line drawing characters as in midnight commander. The problem had nothing
to do with setup at all, as far as I can tell now...)


[-- Attachment #2: native-add --]
[-- Type: application/octet-stream, Size: 245 bytes --]

rxvt-cygwin-native|rxvt terminal emulator (native MS Window System port) on cygwin:\
	:ac=+\257,\256-^0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330~\376:\
	:tc=rxvt:


[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: A proposed change to termcap??
  2002-07-22  7:12 A proposed change to termcap?? Tackett, Galen
@ 2002-07-22  7:21 ` Nicholas Wourms
  2002-07-22  9:22 ` Christopher Faylor
  1 sibling, 0 replies; 5+ messages in thread
From: Nicholas Wourms @ 2002-07-22  7:21 UTC (permalink / raw)
  To: Tackett, Galen, cygwin

Hi
--- "Tackett, Galen" <Galen.Tackett@DynCorp.com> wrote:
> Although there is a terminfo file for rxvt-cygwin-native, the
> distribution's
> termcap file doesn't have an entry for it. I produced the attached one
> via
> the command:

Might I suggest that you create a patch against the termcap source package
(available on all the mirrors) to make Chris' job easier [he maintains
this package]?

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: A proposed change to termcap??
  2002-07-22  7:12 A proposed change to termcap?? Tackett, Galen
  2002-07-22  7:21 ` Nicholas Wourms
@ 2002-07-22  9:22 ` Christopher Faylor
  1 sibling, 0 replies; 5+ messages in thread
From: Christopher Faylor @ 2002-07-22  9:22 UTC (permalink / raw)
  To: cygwin

On Mon, Jul 22, 2002 at 07:46:18AM -0400, Tackett, Galen wrote:
>Although there is a terminfo file for rxvt-cygwin-native, the distribution's
>termcap file doesn't have an entry for it. I produced the attached one via
>the command:
>
>$ infocmp -uCr rxvt-cygwin-native rxvt
>
>For consistency should something like this be added to the termcap file?

rxvt uses the 'xterm' TERM setting.  That exists in /etc/termcap.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: A proposed change to termcap??
@ 2002-07-26  8:16 Tackett, Galen
  0 siblings, 0 replies; 5+ messages in thread
From: Tackett, Galen @ 2002-07-26  8:16 UTC (permalink / raw)
  To: 'Nicholas Wourms', 'cygwin@cygwin.com'

Nicholas,

I'm confused.  (So what else is new?  :)

I originally did a binary-only installation of cygwin. The resulting file
/usr/local/share/terminfo/r/rxvt-cygwin-native already contains the stuff
that my patch would put into termcap.

Is it likely that this file in the terminfo package source would differ in
some way from the one in the binary distribution of the package? 

A. If not, a patch made from them would obviously be a no-op (unless it also
would somehow cause termcap to get rebuilt).

B. If such a difference IS likely, why would the file in the binary package
differ from the one in the source package? And wouldn't it be better to just
ask someone (Chris?) to build an up-to-date binary of the package?

How do you think things should proceed?

Thanks,

Galen

P.S. (see especially the last line)

You wrote--

> Based on this comment:
> Reconstructed via infocmp from file:
> /usr/local/share/terminfo/r/rxvt-cygwin-native

This comment is an artifact of infocmp's output, and is already present for
the last five terminal types in  my originally installed termcap file.
Apparently its creator combined a previously existing set of terminal
definitions, with five more taken from a terminfo database that had an
up-to-date copy of /usr/local/share/terminfo/r/rxvt-cygwin-native.

I wonder how the current termcap file actually came to be? 

Perhaps there are other changes in the terminfo database that have not made
their way into the termcap file?


-----Original Message-----
From: Nicholas Wourms [mailto:nwourms@yahoo.com]
Sent: Friday, July 26, 2002 6:55 AM
To: Tackett, Galen
Subject: RE: A proposed change to termcap??


Galen,

The patch is right, but the file patched is wrong.  As a general rule
of thumb, if at all possible we prefer to patch the source package of
the package which distributes the problematic file.

It leads me to believe that the file is in the terminfo package. 
Thus you would need to generate a diff by downloading this source
package and using it.  Apply your changes to the source tree and then
move the sorce tree to a different name [i.e terminfo-nnnn.modified].
 Untar the source package once more and then execute the diff command
like:

diff -Naurp <original src tree dir> <modified source tree dir>
i.e. diff -urp terminfo-nnnn terminfo-nnnn.modified

That should produce a patch which Chris would accept into the
distribution.

The source package can be downloaded here:
http://mirrors.rcn.net/pub/sourceware/cygwin/release/terminfo/terminfo-5.2-3
-src.tar.bz2

Cheers,
Nicholas
--- "Tackett, Galen" <Galen.Tackett@DynCorp.com> wrote:
> Took me a while to get back to this, but:
> 
> Does the attached file look like the right kind of patch file to
> send? I
> noticed that the command I used appears as the first line of the
> diff output
> file.
> 
> (Just the format, of course, not the details--unless you're a
> willing expert
> on termcap terminal types.)
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: A proposed change to termcap??
@ 2002-07-22 10:46 Tackett, Galen
  0 siblings, 0 replies; 5+ messages in thread
From: Tackett, Galen @ 2002-07-22 10:46 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Er, I think you can use at least two other TERM settings (rxvt and
rxvt-cygwin-native). There are a bunch of differences between the
termcap descriptions of xterm and these two.

I think the xterm setting in termcap get you a vanilla ANSI-compatible
setup,
while rxvt is capable of VT102 (at least) emulation. Plus, it takes some
special finagling to get the line drawing characters to work. A week or two
back, someone here described how to set up rxvt-cygwin-native to do this.

Christopher Faylor wrote:

> rxvt uses the 'xterm' TERM setting.  That exists in /etc/termcap.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-07-26 12:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-22  7:12 A proposed change to termcap?? Tackett, Galen
2002-07-22  7:21 ` Nicholas Wourms
2002-07-22  9:22 ` Christopher Faylor
2002-07-22 10:46 Tackett, Galen
2002-07-26  8:16 Tackett, Galen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).