Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Looks like "zpty -r" is adding 0x0d characters...
- X-seq: zsh-users 9507
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: Looks like "zpty -r" is adding 0x0d characters...
- Date: Tue, 18 Oct 2005 02:29:48 +0000
- In-reply-to: <20051017211318.GA576@DervishD>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20051017211318.GA576@DervishD>
A pty opened with zpty is just like any other tty device, i.e., it
has various settings that can be viewed and changed with "stty".
The values of those settings do not necessarily correspond to those
of the controlling tty of the process.
For example, try:
zpty settings stty -a
zpty -r settings
You'll probably find "onlcr" in that output, which means "for output,
translate newline to carriage return-newline".
If you don't want this to happen, the program that zpty runs on the
pseudo-terminal needs to do the equivalent of "stty -onlcr".
Messages sorted by:
Reverse Date,
Date,
Thread,
Author