Re: [ITA] xterm 229 - X terminal emulator

2007-08-21 Thread Jari Aalto
> The following paragraph from your xterm-229.README points to nowhere.
>
> -> A complete list of control sequences supported by the X terminal
> -> emulator is provided in /usr/share/doc/xterm.

This was incorrect reference. Removed.

> /lib/X11/app-defaults directory looks strange. Other X packages install
> to /etc/X11/app-defaults.

Adjusted configure options.

> Builds fine from source otherwise,

Thank you for checking,
Jari

  wget\
http://cygwin.cante.net/xterm/xterm-229-1.tar.bz2 \
http://cygwin.cante.net/xterm/xterm-229-1-src.tar.bz2 \
http://cygwin.cante.net/xterm/setup.hint




Re: [ITA] xterm 229 - X terminal emulator

2007-08-21 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Dr. Volker Zell wrote:
> /lib/X11/app-defaults directory looks strange. Other X packages install
> to /etc/X11/app-defaults.

He needs to pass --with-app-defaults=/etc/X11/app-defaults to configure.


Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGy68wpiWmPGlmQSMRCHYnAJ94+HJ9592ZuztiAVzaM4nwbtOCLwCgvtW1
jo5FoEDhiTPQtzGgTcvWxQ8=
=4BOA
-END PGP SIGNATURE-


rxvt package default TERM value [Was: RXVT doesn't recognize ALT + Cursor keys]

2007-08-21 Thread Charles Wilson

Corinna Vinschen wrote:

Works fine, including all keys I'm used to after I replaced the
rxvt entries on the affected Linux system.


So, any opinions on what value rxvt should give for TERM, when the user 
has not specified a value[*].  Existing behavior on cygwin (and most 
other platforms) is to report 'xterm'.  rxvt-20050409-5 test release 
reports 'rxvt'.


--
Chuck




[*] there are five ways to specify the desired TERM value -- or any 
resource setting -- from highest priority down to lowest):

 (1) command line argument: -tn
 (2) ~/.Xdefaults or ~/.Xresources contains [**]
(a) prog*termName where prog is the invocation name of the
application (usually "rxvt" all lowercase)
(b) Rxvt*termName
 (3) /etc/X11/app-defaults/Rxvt contains Rxvt*termName [***]
 (4) /etc/X11/app-defaults/Rxvt contains *termName
 (5) ~/.Xdefaults or ~/.Xresources contains
(a) XTerm*termName
(b) *termName


[**] cygwin's rxvt explicitly parses these files manually.  It does not 
access the xserver's resources database, even in X11 mode.  (The 
opposite behavior can be obtained by modified some macros in 
src/feature.h and src/rxvt.h, and recompiling).


[***] could be /etc/X11/locale//app-defaults/Rxvt if locale is 
set to something, but this is untested given cygwin's (newlib's) lack of 
support for true locales.


[GTG] Re: [ITA] fvwm 2.5.21 -- F Virtual Window Manager

2007-08-21 Thread Dr. Volker Zell
> Jari Aalto writes:

> "Dr. Volker Zell" <[EMAIL PROTECTED]> writes:
>> /usr/share/man/man1/xpmroot.1 -> fvwm-root.1
>> 
>> Otherwise it builds fine from source and packaging looks good.

> Thanks for review. Corrected to the latest build (both *.1.gz)

GTG

> Jari

Ciao
  Volker


Re: [ITA] fvwm 2.5.21 -- F Virtual Window Manager

2007-08-21 Thread Jari Aalto
"Dr. Volker Zell" <[EMAIL PROTECTED]> writes:
> /usr/share/man/man1/xpmroot.1 -> fvwm-root.1
>
> Otherwise it builds fine from source and packaging looks good.

Thanks for review. Corrected to the latest build (both *.1.gz)

Jari

  wget\
http://cygwin.cante.net/fvwm/fvwm-2.5.21-1.tar.bz2 \
http://cygwin.cante.net/fvwm/fvwm-2.5.21-1-src.tar.bz2 \
http://cygwin.cante.net/fvwm/setup.hint



Re: [ITA] xterm 229 - X terminal emulator

2007-08-21 Thread Dr. Volker Zell
> Jari Aalto writes:

> Adopted from Harold. Also updated to new upstream release.

The following paragraph from your xterm-229.README points to nowhere.

-> A complete list of control sequences supported by the X terminal
-> emulator is provided in /usr/share/doc/xterm.

/lib/X11/app-defaults directory looks strange. Other X packages install
to /etc/X11/app-defaults.

Builds fine from source otherwise,

Ciao
  Volker


Re: [ITA] fvwm 2.5.21 -- F Virtual Window Manager

2007-08-21 Thread Dr. Volker Zell
> Jari Aalto writes:

> Adopted from Harold. Updated to new upstream version.

/usr/share/man/man1/xpmroot.1 -> fvwm-root.1

which only exists in the gzip'd version.

Otherwise it builds fine from source and packaging looks good.

Ciao
  Volker


Re: RXVT doesn't recognize ALT + Cursor keys

2007-08-21 Thread Corinna Vinschen
On Aug 20 23:36, Charles Wilson wrote:
> Charles Wilson wrote:
> >Thanks.  I'll include this in the next build.  In fact, I'm going to 
> >generate a test release using this patch, and --with-term=rxvt -- but 
> >without the 'make cygwin rxvt act like xterm, even though all other rxvt 
> >do not' patch.  I really think that issue is a bug in your 
> >termcap/terminfo files, because mine don't specify the things your do. 
> >I'll post an archive with my precompiled terminfo/r/rxvt* files and 
> >/etc/termcap, for testing.
> 
> rxvt-20050409-5 should propagate to the mirrors soon (as test release). 
>  Try it with the attached termcap/terminfo files.

Works fine, including all keys I'm used to after I replaced the
rxvt entries on the affected Linux system.


Thanks!
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: Please upload: mathomatic-12.7.5-1

2007-08-21 Thread Corinna Vinschen
On Aug 20 22:47, Reini Urban wrote:
> Please upload:
> 
>   http://rurban.xarch.at/cygr/mathomatic/mathomatic-12.7.5-1.tar.bz2
>   http://rurban.xarch.at/cygr/mathomatic/mathomatic-12.7.5-1-src.tar.bz2
> 
> setup.hint unchanged
> mathomatic-12.7.0-1 can be deleted (if wanted)

Done.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: RXVT doesn't recognize ALT + Cursor keys

2007-08-21 Thread Corinna Vinschen
On Aug 20 22:57, Charles Wilson wrote:
> Corinna Vinschen wrote:
> >On further looking into this, it appears that the termcap/terminfo
> >entries are wrong.  ESC O A to ESC O D are only generated after
> >entering the DEC expanded cursor mode with ESC [ ? 1 h.  The default
> >codes are ESC [ A to ESC [ D. 
> 
> 
> From what I can tell, the "expanded" codes SHOULD be
>ESC [ n A   where n is 1-9, not 0  (and '[' should be there)
> and should be emitted when in DECCKM mode.  This stuff is all handled in 
> src/command.c but it's a twisty maze that all looks the same.

No, that's not quite right.  It's O as in "O my god!", not 0 as in
01100101, and it's actually without [.  Try this with an xterm:

$ od -c
^[[D^[[A^[[B^[[C
000 033   [   D 033   [   A 033   [   B 033   [   C  \n
015
$ echo '^[[?1h'

$ od -c
^[OD^[OA^[OB^[OC
000 033   O   D 033   O   A 033   O   B 033   O   C  \n
015
$ 

See http://vt100.net/docs/vt220-rm/chapter4.html#S4.6.8 for how to
set the cursor mode, http://vt100.net/docs/vt220-rm/table3-2.html
for the escape sequences and
http://vt100.net/docs/vt220-rm/chapter2.html#S2.5.1 for the meaning
of CSI and SS3.

Unfortunately the vt220 manual isn't much help when it comes to the
"Home" and "End" keys, because it has "Find" and "Select" in it's place.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: RXVT doesn't recognize ALT + Cursor keys

2007-08-21 Thread Corinna Vinschen
On Aug 20 22:35, Charles Wilson wrote:
> I used to have to fix my /etc/termcap. But now the /etc/termcap in 
> termcap-20050421-1.tar.bz2 says:
> 
> rxvt|rxvt terminal emulator (X Window System):\
> :am:eo:km:mi:ms:xn:xo:\
> :co#80:it#8:li#24:\
> :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
> :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
> :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
> :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
> :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
> :ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
> :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
> :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
> :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
> :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
> :kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
> :md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
> :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
> :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
> :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
> :vs=\E[?25h:
> 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:

I missed to tell that I'm talking about terminfo on Linux and now that
I compare terminfo entries on different Linux distros, I see that they
disagree about the rxvt settings:

Red Hat Enterprise Linux 4:
$ rpm -qf /usr/share/terminfo/r/rxvt-basic 
ncurses-5.4-13
$ infocmp -I rxvt-basic | grep 'cu[bfu]1'
cub1=^H, cnorm=\E[?25h, cuf1=\E[C, cuu1=\E[A, dch1=\E[P, 
kcub1=\E[D, kmous=\E[M, knp=\E[6~, kpp=\E[5~, kcuf1=\E[C, 

OpenSuSE 10.2:
$ rpm -qf /usr/share/terminfo/r/rxvt-basic 
terminfo-5.5-42
$ infocmp -I rxvt-basic | grep 'cu[bfu]1'
cub1=^H, cnorm=\E[?25h, cuf1=\E[C, cuu1=\E[A, 
kich1=\E[2~, kcub1=\EOD, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
kcuf1=\EOC, kDC=\E[3$, kslt=\E[4~, kEND=\E[8$, kHOM=\E[7$, 
kLFT=\E[d, kNXT=\E[6$, kPRV=\E[5$, kRIT=\E[c, kcuu1=\EOA, 

> #2) For termcap, the arrow key spellings are:
>kd=\E[B  ku=\E[A  kl=\E[D  kr=\E[C

Same picture here:

Red Hat Enterprise Linux 4:
$ rpm -qf /etc/termcap
termcap-5.4-3
The termcap entry for rxvt-basic has
 kd=\E[B  ku=\E[A  kl=\E[D  kr=\E[C

OpenSuSE 10.2:
$ rpm -qf /etc/termcap
ncurses-5.5-42
The termcap entry for rxvt-basic has
 kd=\EOB  ku=\EOA  kl=\EOD  kr=\EOC

> So again, I don't see where you're getting ESC O A from that.  Are you 
> sure your installed termcap and terminfo files haven't been corrupted? 

Unfortunately I was playing with the OpenSuSE installation while
debugging rxvt, and I only tested Cygwin's rxvt against the SuSE box.
Apparently the termcap/terminfo entries (same as above for the other
rxvt entries) are broken on SuSE.  Weird.  That should be a lesson to
me, I guess...

> I really believe The Right Thing To Do is to ensure /etc/termcap and 
> and/usr/share/terminfo/ are up to date, rather than make rxvt's terminal 
> handling on cygwin different than on all other platforms.

Yes, I agree.

> But even there, IF you have plain old 'rxvt' in your termcap, that's 
> usually good enough unless you're a stickler for line art characters. 
> rxvt's TERM setting defaults to xterm only because it will almost ALWAYS 
> be present, and will *mostly* work.

It doesn't have to do with line art.  If cursor and home/end keys don't
work, you have, for instance, problems moving in mutt's menus.

> Comments?

I was working under the premise that different Linux distros wouldn't
differ in such essential details.  Oh well...


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat