zsh-users
 help / color / mirror / code / Atom feed
From: Dan Nelson <dnelson@xnet.com>
To: zsh-users@math.gatech.edu
Subject: When does single_line_zle get set?
Date: Sun, 25 Jun 1995 21:46:07 -0500 (CDT)	[thread overview]
Message-ID: <199506260246.VAA18308@cyclone.xnet.com> (raw)


I just compiled zsh-2.6beta9 (was using 2.6beta-3), and now, on initial
login shells, single_line_zle mode gets set on me.  I login to an ISP via
modem, and my terminal defaults to 'unknown'.  It seems that zsh notices
this and sets single_line_zle (-M) on me.

According to the zshzle man page:

: There are two display modes.  The first, multiline mode, is the default. 
: It only works if the TERM parameter is set to a valid terminal type that
: can move the cursor up.  The second, single line mode, is used if TERM is
: invalid or incapable of moving the cursor up, or if the SINGLE_LINE_ZLE
: option is set.  This mode is similar to ksh, and uses no termcap sequences. 

The shell, however, sets the SINGLE_LINE_ZLE option _if_ "TERM is invalid or
capable of moving the cursor up".  Not quite what the man page states.

I don't quite understand why the change was made.  Anyone logging in on a
machine that sets the terminal type to 'dumb/network/unknown' must now
manually unset single_line_zle mode.

	-Dan Nelson
	dnelson@xnet.com


                 reply	other threads:[~1995-06-26  2:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=199506260246.VAA18308@cyclone.xnet.com \
    --to=dnelson@xnet.com \
    --cc=zsh-users@math.gatech.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.
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).