Article View: comp.sys.next.sysadmin
Article #1552Re: Telnet and xterm
From: Kent Hooker
Date: Fri, 16 Oct 1992 20:58
Date: Fri, 16 Oct 1992 20:58
74 lines
3766 bytes
3766 bytes
In article <1992Oct11.194419.2552@macc.wisc.edu> anderson@macc.wisc.edu
(Jess Anderson) writes:
>
> I have a user who telnets to my NeXT using xterm (X11R4) and
> has this vexing problem about not getting a CR (just an LF)
> when he hits return. So things march across the screen,
> which is mighty inconvenient. I don't know a thing about X
> or xterm, but when I telnet from another NeXT, or from an
> Ultrix box, or from CUTCP on a DOS box, I don't see this
> problem. So I don't know how to help this guy. So please
> help me help him, whichever end of the connection the
> problem lies on.
>
> --
> Jess Anderson <> Madison Academic Computing Center <> University of
Wisconsin
> Internet: anderson@macc.wisc.edu <-best,
UUCP:{}!uwvax!macc.wisc.edu!anderson
> NeXTmail w/attachments: anderson@yak.macc.wisc.edu Bitnet:
anderson@wiscmacc
> Room 3130 <> 1210 West Dayton Street / Madison WI 53706 <> Phone
608/262-5888
Hi, Jess!
I think the problem lies either in the termcap file on your Next,
or in the environment setting that is done in the login that you
have provided him. I checked the file on my Next (/etc/termcap)
and it does seem to have an xterm definition that provides for
a carriage return (cr=^M) and a line feed (nl=^J). Also, when
I telnet into my NeXT from an Xwindow, typing terminal type xterm
gets me a window that "more" will run in, but not VI. I'm cur-
rently checking further on this as time permits - I would agree
that foreign terminals other that remote Nexts don't get a very
clean environment or very robust terminal emulation. I've appended
the chunk of my /etc/termcap file below- you might want to match
it up with yours, in case something happpened?
############################################
# Digital Equipment Corporation
############################################
# Harry Weeks, January 1986.
# These entries were taken from the Ultrix T1.2-1 `termcap' on the VAX-
# station II. The X window system terminal emulator entry is `xterm'.
# Added strings for GNU Emacs.
# Added entries for white-on-black windows.
# Modified by Kevin Layer, March 1988.
# Use neither application keypad ("\E=") nor cursor ("\E[?1h")
# modes by default--the current mode is used.
# Default is 24-line screen (80-column lines).
vt|xterm|vs100|4315x|xterm terminal emulator (X window system), VAXstation
II:\
:cr=^M:do=^J:nl=^J:bl=^G:le=^H:ho=\E[H:\
:co#80:li#24:cl=\E[H\E[2J:bs:am:xn:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:
\
:ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
:md=\E[1m:mr=\E[7m:me=\E[m:\
:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:ta=^I:pt:sf=\n:sr=\EM:\
:al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:\
:ks=:ke=:sc=\E7\
:is=\E[r\E<\E[m\E[2J\E[H\E[?7h\E[?3;4;6l:\
:rs=\E[r\E<\E[m\E[2J\E[H\E[?7h\E[?3;4;6l:\
:ti=\E7\E[?47h:te=\E[?47l\E8:\
:hs:ts=\E[?E\E[?%i%dT:fs=\E[?F:es:ds=\E[?E:\
:CV=\E[%i%oH:DC=\E[%dP:IC=\E[%d@:\
:AL=\E[%dL:DL=\E[%dM:MT:
--
Kent Hooker
University of Wisconsin-Madison
"No mask like open truth to cover lies,
As to go naked is the best disguise." William Congreve, 1670-1729
Internet: pkh@ra.adp.wisc.edu
Bitnet: khooker@wiscmacc.bitnet
Technical Details
Message-ID:
<1992Oct16.205829.10485@adp.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!uwm.edu!zazen!adp!newsReferences:
<1992Oct11.194419.2552@macc.wisc.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!uwm.edu!zazen!adp!news From: kh@den.adp.wisc.edu (Kent Hooker) Subject: Re: Telnet and xterm Message-ID: <1992Oct16.205829.10485@adp.uucp> Sender: news@adp.uucp (News dude) Organization: U of Wisconsin ADP References: <1992Oct11.194419.2552@macc.wisc.edu> Date: Fri, 16 Oct 92 20:58:29 GMT Lines: 74