9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Roman V. Shaposhnick" <vugluskr@unicorn.math.spbu.ru>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] passwd and ^D/^C
Date: Tue, 22 Oct 2002 22:05:36 +0400	[thread overview]
Message-ID: <20021022220536.B31933@unicorn.math.spbu.ru> (raw)
In-Reply-To: <c3405e2a25a5ba233491bcffd6c2364e@9srv.net>

On Tue, Oct 22, 2002 at 11:14:15AM -0400, a@9srv.net wrote:
> // Is there something I can set/do to send a kill signal to this process...
>
> from within rio (the windowing system), type delete. there
> is no job control in the shell, so if you've not got rio
> working, you're outta luck (when working on the console,
> i generally background things like ping with & so i can
> kill them explicitly).

  When you're remotely logged into P9 box using telnet protocol,
  you can use 0x7f key ( BackSpace/Del key on some UNIX'es ) to kill a process.

  From sys/src/cmd/ip/telnetd.c:

/*
 *  Read from the network up to a '\n' or some other break.
 *
 *  If in binary mode, buffer characters but don't
 *
 *  The following characters are special:
 *      '\r\n's and '\r's get turned into '\n's.
 *      ^H erases the last character buffered.
 *      ^U kills the whole line buffered.
 *      ^W erases the last word
 *      ^D causes a 0-lenght line to be returned.
 *      Intr causes an "interrupt" note to be sent to the children.
 */


Thanks,
Roman.


  reply	other threads:[~2002-10-22 18:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-22 15:14 a
2002-10-22 18:05 ` Roman V. Shaposhnick [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-22 15:16 Fco.J.Ballesteros
2002-10-22 15:10 John Saylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021022220536.B31933@unicorn.math.spbu.ru \
    --to=vugluskr@unicorn.math.spbu.ru \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).