Re: Cygwin, ssh, and top

2005-10-17 Thread Chris Taylor
Larry Hall (Cygwin) wrote: I think what David is saying here is that if there weren't a bug in Debian 3.1 terminal settings, this would work either way, just as it did in 3.0. Regardless of the workarounds for the bug, there is still a bug and it's worthwhile getting it fixed, if for no other

Re: Cygwin, ssh, and top

2005-10-17 Thread Chris Taylor
Chris Taylor wrote: True, but he also seems to be under the impression that cygwin bash is only cygwin bash when you start it from an unaltered cygwin.bat - ie using cmd.exe, which is most assuredly not the case. In the meantime.. *tests with debian sid and etch* Works perfectly with both

RE: Cygwin, ssh, and top

2005-10-17 Thread David Christensen
Chris Taylor wrote: he also seems to be under the impression that cygwin bash is only cygwin bash when you start it from an unaltered cygwin.bat - ie using cmd.exe, which is most assuredly not the case. Yup. I plead ignorance. # Reconstructed via infocmp from file:

Re: Cygwin, ssh, and top

2005-10-16 Thread David Rothenberger
On 10/15/2005 8:43 PM, David Christensen wrote: René Berber wrote: Yes but... the problem is caused by the terminfo data you showed: columns is not defined. Try echo $COLUMNS... now export COLUMNS=80; top; does it work? COLUMNS is getting set someplace: [EMAIL PROTECTED]:~$ echo

RE: Cygwin, ssh, and top

2005-10-16 Thread David Christensen
David Rothenberger wrote on cygwin: Try setting COLUMNS to 79 with the comment export COLUMNS=79. I had this problem when I ran the Cygwin ssh client from bash *in a CMD.EXE window*. For some reason, Debian miscalculated the COLUMNS size; it was 1 column too large. When I manually set COLUMNS

Re: Cygwin, ssh, and top

2005-10-16 Thread Chris Taylor
David Christensen wrote: Invoking rxvt from a Cygwin Bash shell and then ssh'ing into Debian and customized Slackware gives me the same results as Putty -- e.g. everything works on Debian 3.0 and 3.1, and the customized Slackware is messed up. My preference is still that Cygwin bash ssh work

Re: Cygwin, ssh, and top

2005-10-16 Thread Larry Hall (Cygwin)
Chris Taylor wrote: David Christensen wrote: snip My preference is still that Cygwin bash ssh work correctly with Debian 3.1, and I believe the problem is with whatever package provides terminal stuff in Debian 3.1. I'll try to find the package and file a bug report. It should be

Cygwin, ssh, and top

2005-10-15 Thread David Christensen
Christensen [mailto:[EMAIL PROTECTED] Sent: Friday, October 14, 2005 5:46 PM To: cygwin@cygwin.com Subject: problems with top using Cygwin ssh to Debian 31r0a Cygwin: When I use Cygwin to ssh into a Debian 3.1 stable (Sarge) machine and run top, the newlines seem to be double-expanded -- e.g

Re: Cygwin, ssh, and top

2005-10-15 Thread Brian Dessent
David Christensen wrote: 3. Setting Cygwin TERM to xterm and logging in to either Debian machine has no effect on top, and now the cursor keys are broken. You're setting TERM before connecting? Have you verified that the setting is indeed changed once you are logged on to the remote? You

RE: Cygwin, ssh, and top

2005-10-15 Thread David Christensen
Brian Dessent wrote on cygwin: You're setting TERM before connecting? Yes. Have you verified that the setting is indeed changed once you are logged on to the remote? Yes. You might try vt102 as well. Also, consider using rxvt with Cygwin I prefer that the machines I log into work

Re: Cygwin, ssh, and top

2005-10-15 Thread René Berber
David Christensen wrote: [snip] if you are using the stock CMD.EXE window. I use Cygwin Bash. Using rxvt has the advantage that one of its parameters enables changing TERM. I suspect it has something to do with the lines/columns settings. Try resizing the window before running top to make it

RE: Cygwin, ssh, and top

2005-10-15 Thread David Christensen
René Berber wrote: Yes but... the problem is caused by the terminfo data you showed: columns is not defined. Try echo $COLUMNS... now export COLUMNS=80; top; does it work? COLUMNS is getting set someplace: [EMAIL PROTECTED]:~$ echo $COLUMNS 80 Any other ideas? David --