From: Frank Terbeck <ft@bewatermyfriend.org>
To: f gr <frgroccia@gmail.com>
Cc: zsh-users@zsh.org
Subject: Re: zsh echoing every statement
Date: Wed, 01 May 2013 11:36:04 +0200 [thread overview]
Message-ID: <87a9ofyrcr.fsf@ft.bewatermyfriend.org> (raw)
In-Reply-To: <20130501093837.633973c3@gmail.com> (f. gr's message of "Wed, 1 May 2013 09:38:37 +0200")
f. gr wrote:
> Excerpt from James Jong's message
> of 2013-04-30T17:07-0400:
> [...]
>> $ ls
>> 2;ls --color=yes -aF1;ls./ ../ file1 file2 file3
>>
>> In other words, zsh shows 2;COMMAND 1; and then the output without
>> line breaks, which is of course very different from what I was
>> getting with Option 1.
>>
>> What can I do to diagnose the problem? Any pointers would be greatly
>> appreciated
>
> I use grml's zsh setup. I get the output like you: if I run the
> system by runlevel 1 (or 3) and type the command ls, zsh shows the
> following:
> ;root@hostname: ls [without any line breaks]
Sounds like broken preexec()/precmd() hooks to set terminal titles. If
you didn't write those yourself, I'd suggest you report it to the person
who did.
You can try this to check:
% unfunction preexec
% unfunction precmd
% unset preexec_functions
% unset precmd_functions
After that, any hook functions should be disabled I think.
> As a normal user the same. The curious thing is that when I run the
> shell by a terminal emulator (in my case xfce4-terminal) the output
> is OK.
I happen to know the grml-setup a fair bit, and I think its title hooks
are fairly solid. If you mess with $TERM however and make the setup
think it is running in a terminal that would support terminal title
setting, although it's actually a terminal that doesn't, then things
like this can happen as well.
If you still think it's a bug, visit the grml folks on IRC:
#grml on the freenode network
...and tell them, or report a bug via their bug tracking system:
http://bts.grml.org/grml/
Regards, Frank
next prev parent reply other threads:[~2013-05-01 9:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-30 21:07 James Jong
2013-05-01 7:38 ` f gr
2013-05-01 9:36 ` Frank Terbeck [this message]
2013-05-01 11:01 ` f gr
2013-05-01 17:15 ` James Jong
2013-05-01 21:42 ` Bart Schaefer
2013-05-02 0:03 ` James Jong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a9ofyrcr.fsf@ft.bewatermyfriend.org \
--to=ft@bewatermyfriend.org \
--cc=frgroccia@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).