From: "Hongzheng Wang" <wanghz@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: [9fans] Does sam accepts interrupt signal
Date: Thu, 27 Mar 2008 23:12:47 +0800 [thread overview]
Message-ID: <b954b2060803270812p63863829q23edbf036afbbf8e@mail.gmail.com> (raw)
Hi,
The UNIX standard editor ed, which also exists in Plan 9, accepts the
interrupt signal. When it listens an interrupt signal, ed will print
a `?' and returns to its command level. Frankly, it is a very
convenient feature since the user could not loose himself, especially
for a line editor. But it seems that sam does not handle the
interrupt signal.
I have encountered such a case several times: after operating for a
long time when both mouse language and command language are used
together, sam appears to forget the state (in fact it's I that forget
it) and treat my input as plain text. In this case, no matter putting
a single dot or completing with a `/' could not save me. As a result,
I usually have to look backward in command window to see what exactly
the last command is. Well, I know it may be my fault encountering
such problems. But I think it could be simply solved if sam's
operations could be asynchronously interrupted.
So, is there a feature like this in sam, which I ignored? Or, is
there any other better method to solve similar problems?
Thanks :-)
--
HZ
next reply other threads:[~2008-03-27 15:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-27 15:12 Hongzheng Wang [this message]
2008-03-27 15:46 ` Charles Forsyth
2008-03-29 5:03 ` Hongzheng Wang
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=b954b2060803270812p63863829q23edbf036afbbf8e@mail.gmail.com \
--to=wanghz@gmail.com \
--cc=9fans@9fans.net \
/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).