zsh-users
 help / color / mirror / code / Atom feed
* When does single_line_zle get set?
@ 1995-06-26  2:46 Dan Nelson
  0 siblings, 0 replies; only message in thread
From: Dan Nelson @ 1995-06-26  2:46 UTC (permalink / raw)
  To: zsh-users


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-06-26  2:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-06-26  2:46 When does single_line_zle get set? Dan Nelson

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