zsh-workers
 help / color / mirror / code / Atom feed
From: Wayne Davison <wayned@users.sourceforge.net>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: [PATCH] adding a new option: PROMPT_NUDGE
Date: Tue, 12 Jul 2005 12:16:47 -0700	[thread overview]
Message-ID: <20050712191647.GB27068@blorf.net> (raw)
In-Reply-To: <20050712184816.GA27068@blorf.net>

On Tue, Jul 12, 2005 at 11:48:16AM -0700, Wayne Davison wrote:
> The vt100 started a tradition where the terminal delayed the wrap at
> the end of the line to see if it was going to be followed by more
> literal characters or some cursor-movement chars.

One other complication I forgot to mention:  there were some terminals
that handled this the other way 'round -- instead of ignoring the wrap
when followed by a CR, NL, etc., they really did wrap after $COLUMNS
characters, and then ignored a NL that came right after the wrap (which
is why the termcap attribute is "xn" for ignore newline).  I think that
the vt100-compatible "firm margins" attribute may be indicated by an
"xv" in the termcap, but it's not well documented, so it seems likely
that this "xv" attribute is not going to be reliably supplied by a
variety of OSes.

So, the current "xn" logic in my posted patch seems like it is likely to
be the most compatible way to go (since I doubt anyone uses a Concept
terminal these days).

..wayne..


  reply	other threads:[~2005-07-12 19:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-11 14:47 Very wierd output problems Ulf Magnusson
2005-07-11 15:14 ` Travis Spencer
2005-07-11 17:40   ` Wayne Davison
2005-07-12  3:20     ` Bart Schaefer
2005-07-12  5:35       ` [PATCH] adding a new option: PROMPT_NUDGE Wayne Davison
2005-07-12 14:19         ` Bart Schaefer
2005-07-12 18:48           ` Wayne Davison
2005-07-12 19:16             ` Wayne Davison [this message]
2005-07-12 20:46           ` J

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=20050712191647.GB27068@blorf.net \
    --to=wayned@users.sourceforge.net \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /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).