[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: telnet vs ^Z



On Fri, Jun 30, 2000 at 08:31:22PM +0000, C. Falconer wrote:
> My advice is to forget telnet, and use SSH instead.
> 
> apt-get install ssh
> on the linux machine, and get PuTTY for your other machines 
> (mac/pc/alpha/etc available)
> 
> If you can't find it email me and I'll dig up a URL

oh, i've got it alright, but don't understand how to use it yet.
i've generated keys here and there, plopped this in and that
out, but still haven't been able to connect.

but i'm only using telnet on my internal 192.168.*.* intranet;
i know it's a security disaster waiting to happen, but until
i have time to grok ssh, it's all i've got.

and i don't got ^Z.

and i doubt that ssh will solve the particular problem anyhow.


> At 04:02 PM 6/29/00 -0500, you wrote:
> >On Thu, Jun 29, 2000 at 11:51:35AM -0700, Jakob 'sparky' Kaivo wrote:
> > > Will Trillich <will@serensoft.com> writes:
> > >
> > > > i've got linux in the basement, cranking and serving
> > > > like a dream. to administer, i'm upstairs and i get
> > > > in via telnet on my local 192.168.*.* intranet.
> > > >
> > > > on the console (linux keyboard/mouse/monitor) i can
> > > > use ^Z to suspend a foreground job, just like in the
> > > > documentation.
> > > >
> > > > but ^Z seems to be ignored when i get in via telnet
> > > > even tho stty shows 'susp = ^Z'.
> > > >
> > > > now in know that tcsh has command-line settings that
> > > > can override stty items, such as '^W = werase' but
> > > > there's nothing i can see (perhaps i'm blind) that
> > > > would alter ^Z for suspend.
> > > >
> > > > what's interfering?
> > >
> > > telnet is. Before connecting, telnet is likely setting the signal
> > > handler for SIGSTOP to SIG_IGN so that it can pass the suspend
> > > character (^Z) to the romte connection. To suspend telnet, hit th
> > > escape character (^] by default) and type z (enter).
> >
> >whoops. i didn't include enough info.
> >
> >i'm not trying to suspend my local telnet session
> >(which i'm running from my mac os box). i'm trying
> >to suspend, say, the remote 'vi' or 'mutt' session.
> >my telnet does send every keystroke (except for
> >mac-specific command-key combos) to linux.
> >
> >when i type control-Z in full-screen environment
> >such as vi or mutt, i see my telnet display blank
> >and then reappear in a fraction of a second
> >(kinda like ^L in vi, but ^L does a full redraw
> >so fast you often don't even see the blink).
> >
> >..
> >
> >so when i telnet in from remote, how do i get
> >^Z to suspend the local linux process?
> >
> >
> >--
> >Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < 
> >/dev/null
> 
> 



Reply to: