* [9fans] Does sam accepts interrupt signal
@ 2008-03-27 15:12 Hongzheng Wang
2008-03-27 15:46 ` Charles Forsyth
0 siblings, 1 reply; 3+ messages in thread
From: Hongzheng Wang @ 2008-03-27 15:12 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] Does sam accepts interrupt signal
2008-03-27 15:12 [9fans] Does sam accepts interrupt signal Hongzheng Wang
@ 2008-03-27 15:46 ` Charles Forsyth
2008-03-29 5:03 ` Hongzheng Wang
0 siblings, 1 reply; 3+ messages in thread
From: Charles Forsyth @ 2008-03-27 15:46 UTC (permalink / raw)
To: 9fans
it has been some time since i last used sam interactively,
but your description
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,
sounds as though you've ended up typing behind the point where sam
is actually reading input (ie, in the transcript).
try snarfing and sending a newline (or perhaps a .) to resynchronise.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] Does sam accepts interrupt signal
2008-03-27 15:46 ` Charles Forsyth
@ 2008-03-29 5:03 ` Hongzheng Wang
0 siblings, 0 replies; 3+ messages in thread
From: Hongzheng Wang @ 2008-03-29 5:03 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
OK, I see. It's helpful. Thank you~
On Thu, Mar 27, 2008 at 11:46 PM, Charles Forsyth <forsyth@terzarima.net> wrote:
> it has been some time since i last used sam interactively,
> but your description
>
> 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,
> sounds as though you've ended up typing behind the point where sam
> is actually reading input (ie, in the transcript).
> try snarfing and sending a newline (or perhaps a .) to resynchronise.
>
>
>
--
HZ
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-29 5:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-27 15:12 [9fans] Does sam accepts interrupt signal Hongzheng Wang
2008-03-27 15:46 ` Charles Forsyth
2008-03-29 5:03 ` Hongzheng Wang
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).