vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I've got a Gentoo 1.4 system that I recently set up, but there seems to be some sort of problem with the terminal capabilities detection part of it. If I'm on a local console or xterm, things are fine. But when I telnet from my Windows 2000 machine to it, the display is never quite right. I've used both the telnet program that comes with Win2k, and also the one from Win98. With the Win2k telnet, the screen height is not set right. For example, if I run "top", it'll show one too many lines than what my terminal can display at once. As the screen redraws, it might jump around a bit, with this line usually missing: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ Command If I run "splitvt", it complains about not having a certain terminal capability. (forget which one offhand) If I'm in the jed editor (like emacs), when I hold down the down arrow, which normally would just give a repeating bell sound, I often get the following sort of codes: [B2;1H[B2;1H[B2;1H (which I guess is some sort of coded representation for three of the bell sounds) With the Win98 Telnet program, I get similar problems. Primarily the height detection is wrong. Although my Win98 telnet window is set for a height of 50 lines, it only seems to be using half of it. Does anybody know what the problem might be? I never had these sorts of problems when telnetting to my Debian machine. thanks! -WD |
| |||
| On Thu, 3 Jul 2003, Neptune wrote: > Try using real software... > > To telenet/ssh use putty (freeware): > http://www.chiark.greenend.org.uk/~sgtatham/putty/ Or install cygwin on your win2k box (don't forget to include openssh of course) spufi |
| |||
| spufi wrote: > > On Thu, 3 Jul 2003, Neptune wrote: > >>Try using real software... >> >>To telenet/ssh use putty (freeware): >>http://www.chiark.greenend.org.uk/~sgtatham/putty/ > > > Or install cygwin on your win2k box (don't forget to include openssh of > course) Yeah, I'm finding that the cygwin telnet works considerably better. The only main quirk I've noticed with it so far is that when I run "top" on my Gentoo box, there are extra spaces between each line for the processes. Like this: Cpu(s): 0.0% user, 0.7% system, 0.0% nice, 99.3% idle Mem: 506744k total, 486496k used, 20248k free, 154664k buffers Swap: 506036k total, 340k used, 505696k free, 149120k cached 24297 wd 16 0 900 900 704 R 3.9 0.2 0:00.03 top 1 root 15 0 480 480 424 S 0.0 0.1 0:14.06 init 2 root 15 0 0 0 0 S 0.0 0.0 0:00.13 keventd 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd_CPU0 4 root 15 0 0 0 0 S 0.0 0.0 0:00.10 kswapd 5 root 15 0 0 0 0 S 0.0 0.0 0:00.13 kscand 6 root 25 0 0 0 0 S 0.0 0.0 0:00.00 bdflush 7 root 15 0 0 0 0 S 0.0 0.0 0:00.23 kupdated 8 root 15 0 0 0 0 S 0.0 0.0 0:00.00 kreiserfsd Any way to fix that? -WD |
| |||
| On Thu, 03 Jul 2003 15:58:51 GMT, Will Dormann <wdormann@yahoo.com> wrote: > Yeah, I'm finding that the cygwin telnet works considerably better. Cygwin uses Unix-telnet (doh Might I add that you *REALLY* should consider using SSH instead of telnet. If it comes to security Telnet simply sucks. Any decent sniffer can intercept your passwords if you stick to telnet. > The only main quirk I've noticed with it so far is that when I run "top" > on my Gentoo box, there are extra spaces between each line for the > processes. Like this: Cygwin is using its own "cygwin" TERM-layout. For some things it doesn't work well for some packages (like mc). Try fiddling with "export TERM=<termtype here>" and see if this works better. you can find predefined term-types in /usr/share/terminfo |
| |||
| Spufi <spufi@nospam.linuxmail.org> wrote in message news:<oprrr8qzv4wis8yf@news.ardatis.com>... > On Thu, 03 Jul 2003 15:58:51 GMT, Will Dormann <wdormann@yahoo.com> wrote: > > > Yeah, I'm finding that the cygwin telnet works considerably better. > > Cygwin uses Unix-telnet (doh > Might I add that you *REALLY* should consider using SSH instead of telnet. > If it comes to security Telnet simply sucks. Any decent sniffer can > intercept your passwords if you stick to telnet. Well, anybody doing sniffing would need to be in my house, so I don't think I have much to worry about there.... -WD |
| ||||
| This can all get very complicated. Gentoo uses terminfo to describe serial terminals. The right definition is found based on the setting of $TERM. It might be that gentoo has something wrong for whatever $TERM is set to. it might be that cygwin has a bug in its telnet program. If TERM is something like cygwin or cygterm, try setting it to VT100 or ansi. Alternatively, you can get an ok X server for cygwin (see the cygwin web site) and then use xterm and ssh to connect. Should work a bit better. Good Luck, Ethelred On Thu, 03 Jul 2003 15:58:51 +0000, Will Dormann wrote: > spufi wrote: > >> >> On Thu, 3 Jul 2003, Neptune wrote: >> >>>Try using real software... >>> >>>To telenet/ssh use putty (freeware): >>>http://www.chiark.greenend.org.uk/~sgtatham/putty/ >> >> >> Or install cygwin on your win2k box (don't forget to include openssh of >> course) > > > > Yeah, I'm finding that the cygwin telnet works considerably better. > The only main quirk I've noticed with it so far is that when I run "top" > on my Gentoo box, there are extra spaces between each line for the |