On Wed, 21 Jan 2015 12:06:51 +0000
"Beesley, Paul" <[email protected]> wrote:

> Thanks for the tip, I'll try that.
> Unfortunately it doesn't get me out of my vi session. I think I'm
> stuck there forever

you might want to try 

^z
killall vi
fg

Berthold

> 
> ^c
> 
> 
>  ^22;1H^c
>              ^23;63H     ^23;77H
> -- INSERT -- ^24;63H42,1 ^24;77HBot ^23;1H
> 
> Regards and thanks
> Paul
> 
> 
> 
> -----Original Message-----
> From: Linux on 390 Port [mailto:[email protected]] On Behalf Of
> Michael MacIsaac Sent: Wednesday, January 21, 2015 11:46 AM
> To: [email protected]
> Subject: Re: Interrupting Linux under z/VM session
> 
> ^c (Shift-6 c) usually sends a Ctrl-C signal, which kills the ping.
> 
>     -Mike MacIsaac
> 
> On Wed, Jan 21, 2015 at 6:38 AM, Beesley, Paul <[email protected]>
> wrote:
> 
> > Hi
> >
> > We are running SLES10 under z/VM.
> > At the weekend, I logged onto the Linux guest via a z/VM 3270
> > session, and made the mistake of entering a PING command with no
> > count parameter so it just PINGed forever.
> > I have no SSH access so was unable to logon anywhere else to kill
> > the process. Eventually I just did a #CP LOGOFF and re-booted the
> > guest as nobody else was logged on, but this is obviously a drastic
> > solution.
> >
> > Today I have managed to get into vi which obviously doesn’t work on
> > a 3270 screen. I can no find no way out of it. If I do #CP DISC and
> > log back in again it’s still in vi.
> > There must be a way to interrupt a Linux command (like Ctrl-C on a
> > putty
> > session) but I can’t find it.
> >
> > Any offers?
> > Thanks
> > Paul

-- 
----------------------------------------------------------------------
 Berthold Gunreben                                  Build Service Team
 http://www.suse.de/                                     Maxfeldstr. 5
 SUSE LINUX GmbH                            D-90409 Nuernberg, Germany
 GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton HRB 21284 (AG Nürnberg) 

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to