zsh-users
 help / color / mirror / code / Atom feed
From: Ray Andrews <rayandrews@eastlink.ca>
To: Kurtis Rader <krader@skepticism.us>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: print color escapes
Date: Thu, 01 Jan 2015 19:48:17 -0800	[thread overview]
Message-ID: <54A61501.9050603@eastlink.ca> (raw)
In-Reply-To: <CABx2=D8M5Sj5AG_RAJh4uymv1SyGM2DRz+fFZwv=_H74-yR41Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]

On 01/01/2015 06:58 PM, Kurtis Rader wrote:
> On Thu, Jan 1, 2015 at 6:39 PM, Ray Andrews <rayandrews@eastlink.ca 
> <mailto:rayandrews@eastlink.ca>> wrote:
>
>
>
> The "hardware terminal" you refer to was itself a computer that 
> executed code. The only difference between it and the "terminal 
> emulator" you're likely using today is that the former was embedded in 
> a piece of hardware with a very narrow function

Exactly what I was saying.

> The whole point of the ANSI X3.64 standard (as partially implemented 
> by the DEC VT100) was to implement  a vi style of insert versus 
> control mode. The CSI sequence (ESC [) switched the terminal from 
> "insert" to "control" mode. And once the control command (e.g., clear 
> screen) was recognized and acted upon the input mode reverted to "insert".
>
Yeah, ESC is rather obviously a 'control' mode.  What I was thinking is 
that it would end only at the same ESC code again--a toggle--which 
would/might make the control codes themselves a bit shorter and sweeter. 
Or not.  Maybe it really is easier to have the codes self terminate. 
Anyway, that's never going to change of course, but interesting to think 
about.

      reply	other threads:[~2015-01-02  3:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-01  5:47 Ray Andrews
2015-01-01  6:35 ` Bart Schaefer
2015-01-01 19:24   ` Ray Andrews
2015-01-01 21:29     ` Bart Schaefer
2015-01-01 23:02       ` Ray Andrews
2015-01-01 23:26         ` Bart Schaefer
2015-01-02  2:30           ` Ray Andrews
2015-01-02  2:45             ` Kurtis Rader
2015-01-02  3:50               ` Ray Andrews
2015-01-02  4:18                 ` Bart Schaefer
2015-01-02 17:43                   ` Ray Andrews
2015-01-02  1:21         ` Kurtis Rader
2015-01-02  2:39           ` Ray Andrews
2015-01-02  2:58             ` Kurtis Rader
2015-01-02  3:48               ` Ray Andrews [this message]

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=54A61501.9050603@eastlink.ca \
    --to=rayandrews@eastlink.ca \
    --cc=krader@skepticism.us \
    --cc=zsh-users@zsh.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).