9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jack Johnson <fragment@nas.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] irc tools
Date: Sat,  5 Oct 2002 09:34:05 -0700	[thread overview]
Message-ID: <1033835647.1799.49.camel@ketchup> (raw)
In-Reply-To: <a1eebf703eb33f0595aebc12b7c66804@plan9.bell-labs.com>

On Fri, 2002-10-04 at 17:41, Russ Cox wrote:
> I'm curious what you mean about the difference between
> acme and sam as a model for a chat client.  The only difference
> between acme and sam windows (for the purposes of this discussion)
> is that sam windows are click-to-type and acme windows aren't.
> Are you claiming that moving the mouse but not clicking is
> somehow worse than moving the mouse and clicking?

I think it would/could be in this case, but you've clarified something
for me.  See below.

> and then type something at the next prompt but don't hit enter.
>
> 	g% {sleep 5; echo -----------} &
> 	g% something
>
> becomes
>
> 	g% {sleep 5; echo -----------} &
> 	g% -----------
> 	something

Ah, now (if memory serves) this is exactly what does not happen to me
using either 9irc or a unix IRC client in dumb terminal mode, run as a
host command in Inferno.

You can imagine how annoying it would be to do:

	g% som-----------
	ething

and attempting to hold a conversation in a busy channel.  I mistakenly
extrapolated that behavior to something inherent in acme.  My sincere
apologies.

(for the record, ditching the prompt for an IRC client seems like a good
idea)

> What did you have in mind in as the "sam-style" interface?

Traditionally, sam ends up looking something like this:

	+------------------+
	|                  |
	+------------------+
	+-------------+
	|             |
	|    +-------------+
	|    |             |
	+----|             |
	     +-------------+

where the upper window is the sam window and the lower windows are file
windows (though of course the placement is arbitrary).

It would be easy enough to use the same model, maybe invert it something
like:

	+-------------+
	|             |
	|    +-------------+
	|    |             |
	+----|             |
	     +-------------+
	+------------------+
	|                  |
	+------------------+

where the upper windows were all IRC server output (either raw/basic for
development purposes or separated out by channel/person/etc.) and the
lower window was for sending text and/or commands to the active window.
My reasoning for using this mode rather than acme being the ability to
easily link the action with the result.  Active window: active
conversation.  Arbitrary placement of any of the windows wouldn't change
the user's intended result, but I can easily envision a window
arrangement in acme that would be less than intuitive (assuming we're
still talking about multiple windows per server).

I could see myself mixing conversations in an acme-oriented IRC
environment, though if you're already in acme my suggestion would just
be a waste of screen real estate, and the more thought I give it the
more I think a single window client would probably work out the best.

-Jack



  reply	other threads:[~2002-10-05 16:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-05  0:41 Russ Cox
2002-10-05 16:34 ` Jack Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-05  2:09 rob pike, esq.
2002-10-04  2:17 Russ Cox
2002-10-04  4:48 ` Jonathan Sergent
2002-10-04 16:40 ` Jack Johnson
2002-10-04 16:43   ` Scott Schwartz
2002-10-04 17:14     ` Jack Johnson
2002-10-04 17:24   ` andrey mirtchovski

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=1033835647.1799.49.camel@ketchup \
    --to=fragment@nas.com \
    --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).