Subject: Re: Telnet in NetBSD 1.4.2
To: Shane A. Dawalt <sdawalt@millennium.wright.edu>
From: Kevin P. Neal <kpneal@pobox.com>
List: netbsd-help
Date: 11/02/2000 09:46:28
On Thu, Nov 02, 2000 at 09:05:53AM -0500, Shane A. Dawalt wrote:
> 
>   I have found an odd problem with telnetd on NetBSD 1.4.2.  It gets
> irritated when connected to by Hummingbird 6.2.0 Telnet.  When I connect

Same, except I'm using Hummingbird's eXceed's "HostExplorer" (version
6.1.0) to telnet. Same software, different version. I am using NetBSD
1.4.2 on an Alpha.

> I get the normal user and password prompts, but then things hang.  I do

Then you are doing well. For the longest time I couldn't get logged in.
I had no problems telneting (same client) to a Digital UNIX box and
then rlogining to my NetBSD box. But a direct telnet to the NetBSD box
would result in no end of problems. Of course, HostExplorer doesn't
support rlogin. 

I can also use HostExplorer to telnet to HP-UX 9.05 and 10.20 boxes 
without any problems, and telnetting to Solaris 2.5.1 boxes works fine
as well. Only the NetBSD box is problematic. However, only the NetBSD
box is outside of the company firewall, which might (I have no idea) cause
problems perhaps?

> I've tried to whiddle down the options that Hummingbird uses (set screen
> size, initiate negotiation first, etc), but it hasn't helped.  I can
> successfully get logged in if I use the Win95 supplied telnet.  This

The WinNT 4 supplied telnet, well, sucks. 

> seems to exclude the possibility of a remove login configuration error
> on the unix side of things.  Anybody have any ideas??  (I haven't done
> much futzing with the defaults as provided by the binary installation
> packs.)

I finally got HostExplorer to work almost correctly. It has a bug where
sometimes when I hit return it erases some text at the beginning of
lines below the line where I hit return. Also, if I have the cursor in
a column other than 0 and hit down-arrow then my cursor appears on
column 0 but is actually in the same column it was in before (control-l
shows this to be true).

Oh, and I suggest never making shortcuts to start HostExplorer by hand.
HostExplorer has an option when saving config files to create icons; use
that instead. I had a really irritating 3270 bug that was cleared up by
using the HostExplorer-created shortcut icon instead. That was with the
3270 emulation, but you might see it with vt100 also (perhaps?).

Anyway, here are my HostExplorer config files for telnetting to my
NetBSD box:

-- begin exceed\user\hostex\profile\vt\tome.hep --
[PROFILE]
Auto Keyboard Unlock=Off
Session Name=home
Gateway Name=tome.neutralgood.org
Switching Type=418
Window Title=%s - %p (%h)
Session Terminal Type=2
VT Save Erased Screens=On
Mouse Auto Copy=On
VT Enable ISO Colors=On
Default VT Recv Path=C:\TEMP\
IND$FILE Parms=0,0,1,1,0,0,0,257,253,2000,200,430,430,0,0,"IND$FILE","","",""
Tabstops=8 16 24 32 40 48 56 64 72                    
Toolbar Commands=Dlg-Open-Session,Dlg-Close-Session,Save-Screen,?,Edit-Copy,Edit-Paste,?,Dlg-Font-Select,Font-Larger,Font-Smaller,?,Print-Screen,Dlg-Upload,Dlg-Download,Whats-This?,Dlg-Edit-Session-Profile,?,Pf1,Pf2,Pf3,Pf4,?,Delete,Clear-Display,?,Toggle-Scrollback,?,?,?,?,?,?,?,?,?,?,?,?,?,?
Toolbar Bitmap IDs=0,1,2,?,4,5,?,6,7,8,?,9,22,21,67,13,?,49,50,51,52,?,38,18,?,36,?,?,?,?,?,?,?,?,?,?,?,?,?,?
Mouse Actions=Mouse-To-Cursor,Dead-Key,Select-Extend,Select-Line,Dead-Key,Dead-Key,Show-Track-Menu,Show-Track-Menu,Select-Word,Check-Hotspot,Check-Hotspot,Check-Hotspot,Check-Hotspot,Check-Hotspot,Check-Hotspot,Check-Hotspot
VT DevMode=1025,1024,156,180,87827,1,1,2794,2159,100,1,15,600,1,1,0,3,0,0,0,0,0,0,0,chpljr21,Letter
VT Driver=winspool
VT Device=chpljr21
VT Output=Ne01:
PrtScr DevMode=1025,1024,156,180,87827,1,1,2794,2159,100,1,15,600,1,1,0,3,0,0,0,0,0,0,0,chpljr21,Letter
PrtScr Driver=winspool
PrtScr Device=chpljr21
PrtScr Output=Ne01:
Virtual Device Name=
User Name=
User Password=
WinInfo Default Restored=8 13 653 958 741 104 661 1005 0 0 939=13 8 0 0 400 0 0 0 0 3 2 2 49 TCP Terminal
WinInfo Default Maximized=12 15 1600 1161 -4 -4 1608 1208 313 29 1083=15 12 0 0 400 0 0 0 0 3 2 2 49 TCP Terminal                    
Max X=1608
Max Y=1208
VT Auto Wrap=On
VT Lines Per Screen=72
VT CR to CRLF=On
Keyboard=TOME
Toolbar=Off
Notify=On
Save Profile on Window Close=Off
Scrollback Size=1000
PC Keyboard Type=2
-- end tome.hep --

-- begin exceed\user\hostex\keymap\tome.kmv --
[KEYMAP]
Normal Entries=5
Normal0=Enter,Newline
Normal1=Enh-Up-Arrow,Up
Normal2=Enh-Right-Arrow,Right
Normal3=Enh-Left-Arrow,Left
Normal4=Enh-Down-Arrow,Down
Shift Entries=0
Ctrl Entries=26
Ctrl0=Enter,Return
Ctrl1=D,'^D'
Ctrl2=A,'^A'
Ctrl3=B,'^B'
Ctrl4=E,'^E'
Ctrl5=F,'^F'
Ctrl6=G,'^G'
Ctrl7=H,'^H'
Ctrl8=I,'^I'
Ctrl9=J,'^J'
Ctrl10=K,'^K'
Ctrl11=L,'^L'
Ctrl12=M,'^M'
Ctrl13=N,'^N'
Ctrl14=O,'^O'
Ctrl15=P,'^P'
Ctrl16=Q,'^P'
Ctrl17=R,'^R'
Ctrl18=S,'^S'
Ctrl19=T,'^T'
Ctrl20=U,'^U'
Ctrl21=V,'^V'
Ctrl22=W,'^W'
Ctrl23=X,'^X'
Ctrl24=Y,'^Y'
Ctrl25=Z,'^Z'
ShiftCtrl Entries=0
Alt Entries=0
-- end tome.kmv --

I don't know if all of the control-keys need to be in there.

If anyone has better luck then please send me config files. Thanks.
-- 
XCOMM Kevin P. Neal:  Senior, CSC, NCSU    http://www.pobox.com/~kpn/
XCOMM 
XCOMM "There are %d threatening little dwarves in the room with you."
XCOMM    -- BSD /usr/games/adventure source code.