Paul,
I logged onto a 3270 console for a SLES 12 system and invoked the vi editor. I
was able to terminate the vi session by entering
¬c (shift 6 in the Bluezone 3270 emulator)
:q
I then tied the same test on a SLES 11 SP3 system and the same commands
terminated the vi session.
I noticed that after I entered '¬c' that vi issued lines
[24;1HType :quit<Enter> to exit Vim [24;63H [24;77H [24;63H1,1
All [1;1H
I then entered ':q' to terminate the vi session as I didn't make any changes to
the file.
I am running z/VM 6.3 but I doubt that the version of z/VM makes a difference.
Harley
-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Beesley,
Paul
Sent: Wednesday, January 21, 2015 7:10 AM
To: [email protected]
Subject: Re: Interrupting Linux under z/VM session
<escape> followed by :q! doesn't work. I can't find anything that does.
Obviously vi is unique (in many ways ...) I don't think you can IPL CMS if
you've already booted z/Linux.
I may have found someone who has SSH access and am waiting for them to try and
kill my vi process.
But it would be useful to know how to get out of this via z/VM for future
occasions!
Regards and thanks
Paul
-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of John
McKown
Sent: Wednesday, January 21, 2015 12:56 PM
To: [email protected]
Subject: Re: Interrupting Linux under z/VM session
On Wed, Jan 21, 2015 at 6:12 AM, Berthold Gunreben <[email protected]> wrote:
> 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
>
I just tried that, vi on Linux/Intel, and the ^z got echoed into the file I
was editing, displaying a ^Z. I can't duplicate the OP's environment, but I
wonder why he can't just do the normal: <escape> followed by ":q!" to exit vi.
Sorry for my ignorance of Linux on z under z/VM, but isn't there some way to
use SMSG to send commands to z/Linux? I.e. to send the killall vi command from
a CMS logon?
--
While a transcendent vocabulary is laudable, one must be eternally careful so
that the calculated objective of communication does not become ensconced in
obscurity. In other words, eschew obfuscation.
111,111,111 x 111,111,111 = 12,345,678,987,654,321
Maranatha! <><
John McKown
----------------------------------------------------------------------
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/ Atos,
Atos Consulting, Worldline and Canopy The Open Cloud Company are trading names
used by the Atos group. The following trading entities are registered in
England and Wales: Atos IT Services UK Limited (registered number 01245534),
Atos Consulting Limited (registered number 04312380), Atos Worldline UK Limited
(registered number 08514184) and Canopy The Open Cloud Company Limited
(registration number 08011902). The registered office for each is at 4 Triton
Square, Regent’s Place, London, NW1 3HG.The VAT No. for each is: GB232327983.
This e-mail and the documents attached are confidential and intended solely for
the addressee, and may contain confidential or privileged information. If you
receive this e-mail in error, you are not authorised to copy, disclose, use or
retain it. Please notify the sender immediately and delete this email from your
systems. As emails may be intercepted, amended or lost, they are not secure.
Atos therefore can accept no liability for any errors or their content.
Although Atos endeavours to maintain a virus-free network, we do not warrant
that this transmission is virus-free and can accept no liability for any
damages resulting from any virus transmitted. The risks are deemed to be
accepted by everyone who communicates with Atos by email.
***************************************************************************
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be legally
privileged.
If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.
If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.
Thank You.
****************************************************************************