Voytek Eymont wrote:
> 1.
> if I get a 'problem' on a console, such as:
> 
> I can't get out of an editor...
> and, after a while, I've tried every possible sequence I can think off,
> and, I'm still inside an editor....
> 
> how do I kill whatever on say console 2 ?

1. Open a new console or a terminal session.
2. In that terminal type "ps ax" and look for a line that contains the
name of the editor program
   lets says its vim [well if it was nedit or any other gui one would
know how to get out of it :-) ]
3. note down the 'process number' of that program
4. type "kill -9 process_number"

One might also be able to type instead:
killall -9 vim
(if it was vim)

Once you do this the offending ediitor should promptly vanish from that
terminal.

You can always test this out beforehand, just open a vi session with a
file called crap ie "vi crap" in a terminal and practice killing it.

Mike
-- 
Mike Lake
Uni of Technol., Sydney


UTS CRICOS Provider Code:  00099F

DISCLAIMER
========================================================================
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
========================================================================


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to