| Author |
Message |
Geoff Wing *nix forums beginner
Joined: 13 Feb 2005
Posts: 2
|
Posted: Sun Feb 13, 2005 3:35 am Post subject:
Re: zsh: print -n 'this line' prints nothing
|
|
|
shea martin <smartin@arcis.com> typed:
: Christian Schneider wrote:
:> Thus spake shea martin (smartin@arcis.com):
:>>zsh output:
:>>% print -n 'this line'
:>>% print -n 'one\ntwo'
:>>one
:> setopt nopromptcr
This is FAQ 3.23
: for some reason I had tried setopt no_prompt_cr.
That should work, otherwise you would have had an error.
For the option name: it's case insensitive, underscores are ignored, and
"unsetopt promptcr" = "setopt nopromptcr".
Regards,
Geoff |
|
| Back to top |
|
 |
Shea Martin *nix forums beginner
Joined: 06 Apr 2005
Posts: 47
|
Posted: Sat Feb 12, 2005 9:11 pm Post subject:
Re: zsh: print -n 'this line' prints nothing
|
|
|
Christian Schneider wrote:
| Quote: | Thus spake shea martin (smartin@arcis.com):
zsh output:
% print -n 'this line'
% print -n 'one\ntwo'
one
% print $ZSH_VERSION
4.2.1
% print -n $ZSH_VERSION
%
setopt nopromptcr
|
thanks,
for some reason I had tried setopt no_prompt_cr.
~S |
|
| Back to top |
|
 |
Christian Schneider *nix forums beginner
Joined: 01 Mar 2005
Posts: 17
|
Posted: Sat Feb 12, 2005 8:08 pm Post subject:
Re: zsh: print -n 'this line' prints nothing
|
|
|
Thus spake shea martin (smartin@arcis.com):
| Quote: | zsh output:
% print -n 'this line'
% print -n 'one\ntwo'
one
% print $ZSH_VERSION
4.2.1
% print -n $ZSH_VERSION
%
|
setopt nopromptcr
--
$ du -shx /usr/bin/zsh => 416K # Christian 'strcat' Schneider
$ man zshall | wc -l => 26796 # [ Zsh Manpages ]
zshbuiltins(1), zshcompwid(1), zshcompsys(1), zshcompctl(1), zshexpn(1),
zshmisc(1), zshmodules(1), zshoptions(1), zshparam(1), zshzle(1) zshall(1). |
|
| Back to top |
|
 |
Shea Martin *nix forums beginner
Joined: 06 Apr 2005
Posts: 47
|
Posted: Sat Feb 12, 2005 7:34 pm Post subject:
zsh: print -n 'this line' prints nothing
|
|
|
zsh output:
% print -n 'this line'
% print -n 'one\ntwo'
one
% print $ZSH_VERSION
4.2.1
% print -n $ZSH_VERSION
%
Is this a bug with my zsh install?
Thanks,
~S |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|