zsh-users
 help / color / mirror / code / Atom feed
* zsh doesn't print only one symbol
@ 2018-03-04 20:22 Andrei Kovrov
  2018-03-05  6:34 ` Colin Baxter
  2018-03-05  7:55 ` Sebastian Gniazdowski
  0 siblings, 2 replies; 8+ messages in thread
From: Andrei Kovrov @ 2018-03-04 20:22 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 172 bytes --]

Hello,

echo -n "1" shows nothing

I've the latest version and bug also reproducing on 5.3

zsh --version

zsh 5.4.2 (x86_64-apple-darwin17.4.0)


-- 

---
Regards,
Andrei

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: zsh doesn't print only one symbol
  2018-03-04 20:22 zsh doesn't print only one symbol Andrei Kovrov
@ 2018-03-05  6:34 ` Colin Baxter
  2018-03-05  7:55 ` Sebastian Gniazdowski
  1 sibling, 0 replies; 8+ messages in thread
From: Colin Baxter @ 2018-03-05  6:34 UTC (permalink / raw)
  To: Andrei Kovrov; +Cc: zsh-users

>>>>> Andrei Kovrov <4sober@gmail.com> writes:

    > Hello, echo -n "1" shows nothing

    > I've the latest version and bug also reproducing on 5.3

    > zsh --version

    > zsh 5.4.2 (x86_64-apple-darwin17.4.0)

For what's it worth, I get echo -n "1"

1%

zsh --version

zsh 5.4.2 (i686-pc-linux-gnu)

Best wishes


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: zsh doesn't print only one symbol
  2018-03-04 20:22 zsh doesn't print only one symbol Andrei Kovrov
  2018-03-05  6:34 ` Colin Baxter
@ 2018-03-05  7:55 ` Sebastian Gniazdowski
  2018-03-05 17:14   ` Ray Andrews
  1 sibling, 1 reply; 8+ messages in thread
From: Sebastian Gniazdowski @ 2018-03-05  7:55 UTC (permalink / raw)
  To: zsh-users, Andrei Kovrov

On 4 marca 2018 at 21:22:22, Andrei Kovrov (4sober@gmail.com) wrote:
> Hello,
> 
> echo -n "1" shows nothing
> 
> I've the latest version and bug also reproducing on 5.3
> 
> zsh --version
> 
> zsh 5.4.2 (x86_64-apple-darwin17.4.0)

Use "setopt promptcr" to see output that doesn't end with \n.

-- 
Sebastian Gniazdowski
psprint /at/ zdharma.org


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: zsh doesn't print only one symbol
  2018-03-05  7:55 ` Sebastian Gniazdowski
@ 2018-03-05 17:14   ` Ray Andrews
  2018-03-05 17:54     ` Jérémie Roquet
  2018-03-05 18:27     ` Bart Schaefer
  0 siblings, 2 replies; 8+ messages in thread
From: Ray Andrews @ 2018-03-05 17:14 UTC (permalink / raw)
  To: zsh-users

On 04/03/18 11:55 PM, Sebastian Gniazdowski wrote:
> Use "setopt promptcr" to see output that doesn't end with \n.

$ echo -n "1"
1
$

$ set promptcr off

$ echo -n "1"
1#

$

... What on earth is that for?  What does " 1#  " mean?



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: zsh doesn't print only one symbol
  2018-03-05 17:14   ` Ray Andrews
@ 2018-03-05 17:54     ` Jérémie Roquet
  2018-03-05 18:05       ` Ray Andrews
  2018-03-05 18:27     ` Bart Schaefer
  1 sibling, 1 reply; 8+ messages in thread
From: Jérémie Roquet @ 2018-03-05 17:54 UTC (permalink / raw)
  To: Ray Andrews; +Cc: Zsh Users

2018-03-05 18:14 GMT+01:00 Ray Andrews <rayandrews@eastlink.ca>:
> $ set promptcr off

Is this meant as an alias for “unsetopt promptcr”? If so, it doesn't
behave as such for me.

Best regards,

-- 
Jérémie


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: zsh doesn't print only one symbol
  2018-03-05 17:54     ` Jérémie Roquet
@ 2018-03-05 18:05       ` Ray Andrews
  0 siblings, 0 replies; 8+ messages in thread
From: Ray Andrews @ 2018-03-05 18:05 UTC (permalink / raw)
  To: zsh-users

On 05/03/18 09:54 AM, Jérémie Roquet wrote:
> 2018-03-05 18:14 GMT+01:00 Ray Andrews <rayandrews@eastlink.ca>:
>> $ set promptcr off
> Is this meant as an alias for “unsetopt promptcr”? If so, it doesn't
> behave as such for me.
>
> Best regards,
>
Pardon. The above failed, but when I pasted it into the email I erased 
the line that worked (as you showed) and left the line that did nothing. 
That's sloppy.  Anyway, my question remains:


$ setopt nopromptcr

$ echo -n "1"
1
$ unsetopt nopromptcr

$ echo -n "1"
1#


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: zsh doesn't print only one symbol
  2018-03-05 17:14   ` Ray Andrews
  2018-03-05 17:54     ` Jérémie Roquet
@ 2018-03-05 18:27     ` Bart Schaefer
  2018-03-06  0:07       ` Ray Andrews
  1 sibling, 1 reply; 8+ messages in thread
From: Bart Schaefer @ 2018-03-05 18:27 UTC (permalink / raw)
  To: Ray Andrews; +Cc: Zsh Users

On Mon, Mar 5, 2018 at 9:14 AM, Ray Andrews <rayandrews@eastlink.ca> wrote:
>
> $ echo -n "1"
> 1#
>
> $
>
> ... What on earth is that for?  What does " 1#  " mean?

It most likely means you're logged in as root.

Read the doc for the PROMPT_EOL_MARK parameter.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: zsh doesn't print only one symbol
  2018-03-05 18:27     ` Bart Schaefer
@ 2018-03-06  0:07       ` Ray Andrews
  0 siblings, 0 replies; 8+ messages in thread
From: Ray Andrews @ 2018-03-06  0:07 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: Zsh Users

On 05/03/18 10:27 AM, Bart Schaefer wrote:
> On Mon, Mar 5, 2018 at 9:14 AM, Ray Andrews <rayandrews@eastlink.ca> wrote:
>> $ echo -n "1"
>> 1#
>>
>> $
>>
>> ... What on earth is that for?  What does " 1#  " mean?
> It most likely means you're logged in as root.
So I am.

> Read the doc for the PROMPT_EOL_MARK parameter.
Yikes, it depends on various combinations of three other options, very 
exotic terminal control stuff, I hope I never need to know how all that 
works.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-03-06  0:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-04 20:22 zsh doesn't print only one symbol Andrei Kovrov
2018-03-05  6:34 ` Colin Baxter
2018-03-05  7:55 ` Sebastian Gniazdowski
2018-03-05 17:14   ` Ray Andrews
2018-03-05 17:54     ` Jérémie Roquet
2018-03-05 18:05       ` Ray Andrews
2018-03-05 18:27     ` Bart Schaefer
2018-03-06  0:07       ` Ray Andrews

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