zsh-workers
 help / color / mirror / code / Atom feed
* Re: FreeBSD 5.0 and zsh 3.0.7 rare bug
       [not found] ` <20000701230320.K26119@daemon.ninth-circle.org>
@ 2000-07-01 22:37   ` Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2000-07-01 22:37 UTC (permalink / raw)
  To: Jeroen Ruigrok/Asmodai, zsh-workers; +Cc: will

(Discussion redirected to zsh-workers.)

On Jul 1, 10:56pm, Jeroen Ruigrok/Asmodai wrote:
} Subject: FreeBSD 5.0 and zsh 3.0.7 rare bug
}
} For some weird reason every now and then my output got arsed.

Arsed?

} After some inspection I came to the discovery that zsh sometimes out of
} itself sets stty's icrnl option.  Which obviously messes up output.  I
} have no idea what can cause this.

The setting of icrnl shouldn't have any effect on output; the `i' is for
*input*, that is, translate input carriage returns to newlines.

Zsh plays some games with icrnl and inlcr so that type-ahead is handled
properly with respect to the key-bindings for ctrl-M and ctrl-J.  There
is a lengthy comment in zle_main.c to explain about this in detail.

On Jul 1, 11:03pm, Jeroen Ruigrok/Asmodai wrote:
} Subject: Re: FreeBSD 5.0 and zsh 3.0.7 rare bug
}
} Something I missed:
} 
} stty:
} 
} -icrnl
} 
} AND
} 
} -onlcr

That's not zsh's fault; the only thing zsh does with onlcr is to force
it to be *on*, unless the FreeBSD porters have changed something in
zle_main.c:zsetterm().

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


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

only message in thread, other threads:[~2000-07-01 22:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20000701225612.J26119@daemon.ninth-circle.org>
     [not found] ` <20000701230320.K26119@daemon.ninth-circle.org>
2000-07-01 22:37   ` FreeBSD 5.0 and zsh 3.0.7 rare bug Bart Schaefer

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