9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Scott Schwartz <schwartz@bio.cse.psu.edu>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Adding history to Rio's windows
Date: Thu, 28 Sep 2000 19:29:30 -0400	[thread overview]
Message-ID: <20000928232931.782.qmail@g.bio.cse.psu.edu> (raw)
In-Reply-To: Message from Skip Tavakkolian <skipt@real.com>  of "Thu, 28 Sep 2000 16:07:09 PDT." <3.0.5.32.20000928160709.00ac9100@mail.real.com>

A clean way to do history would be to have the window system tag each bit
of text with a set of tokens.  You'd want a token for user input, a token
for program output, and probably also tokens for font, size, and color.
Given that, an external history command could figure out what the last
user input was directly, instead of having to grep for the prompt in a
text buffer.  (The Tk text widget is a working example of such a thing.)



  parent reply	other threads:[~2000-09-28 23:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <skipt@real.com>
2000-09-28 23:07 ` Skip Tavakkolian
2000-09-28 23:06   ` Boyd Roberts
2000-09-29  4:48     ` Skip Tavakkolian
2000-09-29 20:44       ` Boyd Roberts
2000-09-30  2:30         ` rob pike
2000-09-30 11:02           ` Skip Tavakkolian
2000-09-28 23:29   ` Scott Schwartz [this message]
2000-10-01  0:25   ` Richard Uhtenwoldt
     [not found] <rsc@plan9.bell-labs.com>
2000-09-29  5:01 ` Russ Cox
2000-09-29  5:26   ` Scott Schwartz
2000-09-29 20:52   ` Boyd Roberts

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=20000928232931.782.qmail@g.bio.cse.psu.edu \
    --to=schwartz@bio.cse.psu.edu \
    --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).