From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22050 invoked by alias); 1 May 2013 11:05:20 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17801 Received: (qmail 6675 invoked from network); 1 May 2013 11:05:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS, T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane.org designates 80.91.229.3 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: f gr Subject: Re: zsh echoing every statement Date: Wed, 1 May 2013 13:01:03 +0200 Message-ID: <20130501130103.60e6daf6@gmail.com> References: <20130501093837.633973c3@gmail.com> <87a9ofyrcr.fsf@ft.bewatermyfriend.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: host152-26-dynamic.44-79-r.retail.telecomitalia.it X-Newsreader: Claws Mail 3.9.0 (GTK+ 2.24.17; x86_64-unknown-linux-gnu) X-Archive: encrypt Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEUAAACioqI4ODj////R0dFnZ2f39/cRERHn5+evZqwVAAABxUlEQVQ4jZXTQW/aMBQH8D9RvPQIC2I9ZlNBvWbPsXwsZIMdvQax67TsA+SAtB7bRe3n3ns2SBDMYT4Ekl/svPyfA7oyEH70jOgljwA9tnYem0HPza80ClXqmijoDHkULFBHwQBtBH5/+dahtcvtAGwBHlmHxQAqHEY+gJ+H60k7gK/T5QT4M7+NVEVddlbUCST/ATP/5xLMR5I3T8iEamdHqKR8gXIkV0rFh1uBMUYBxj7HB77PPDHoRIJlKCGR2A57KhuGzbpDw6DeFzK1SpCtxzXB3FEhk4GnDbKeHu4Lnw1Mz9AL1KWk6PINZCbCc32jDE81aLSPH9JVJZD5gjRfXEn9DPpYLj0LjEgrugTeFNPVfYASqYDyQI4btm0jsJJW3h3g5gTsB9kX9SXQ3+8/JBuf7juB0WHGvLWOT85Agn29kTWSdgi6UGsyHXoPKb144IZwUMmMnApLKbO1yN4Y3j49Aqp3aagKywUfJq1T5cJwufuiCZFw5JVk7dKSy3KhH/zcgt+BT3cGO93zjZ1EAd/+HS+Y9DYLH9Urt9qDnsgun1K5D3vNFvXJFuXx+fgVrugK6AHoPLbbZe3mCpj6CpyNf/A1yU4iEdUyAAAAAElFTkSuQmCC =46rom Frank Terbeck's message of 2013-05-01T11:36+0200: > f. gr wrote: > > Excerpt from James Jong's message > > of 2013-04-30T17:07-0400: > > [...] > >> $ ls > >> 2;ls --color=3Dyes -aF1;ls./ ../ file1 file2 file3 > >>=20 > >> 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. > >>=20 > >> 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] >=20 > 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. >=20 > You can try this to check: >=20 > % unfunction preexec > % unfunction precmd > % unset preexec_functions > % unset precmd_functions the first two commands got: " unfunction: no such hash table element: preexec unfunction: no such hash table element: precmd " > > 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. >=20 > 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. >=20 > If you still think it's a bug, visit the grml folks on IRC: >=20 > #grml on the freenode network >=20 > ...and tell them, or report a bug via their bug tracking system: >=20 > http://bts.grml.org/grml/ I'll ask grml team.