From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15808 invoked from network); 26 Apr 2002 00:50:44 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 26 Apr 2002 00:50:44 -0000 Received: (qmail 6197 invoked by alias); 26 Apr 2002 00:50:25 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4868 Received: (qmail 6184 invoked from network); 26 Apr 2002 00:50:23 -0000 From: "Joshua Symons" To: zsh-users@sunsite.dk Message-ID: <2565c1e9b2.1e9b22565c@mysun.com> Date: Thu, 25 Apr 2002 19:47:44 -0500 X-Mailer: Netscape Webmail MIME-Version: 1.0 Content-Language: en Subject: Preexec & Printf X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit I have a pretty generic problem, but I can't seem to make my way around it. Here is an example of what is happening: [(ichirou:151:pts/15)~ %] which preexec preexec () { print -Pn "\e]0;%m:%l - $* \a" } [(ichirou:152:pts/15)~ %] printf '^[[32;40mwith quotes\n' [32;40mwith quotes ' with quotes [(ichirou:153:pts/15)~ %] unfunction preexec [(ichirou:154:pts/15)~ %] printf '^[[32;40mwith quotes\n' with quotes [(ichirou:155:pts/15)~ %] For echo, print, and printf, my '' is getting passed (straight quote) into preexec and erroring back out into my shell. I can't seem to get around the quotes that are passed into preexec. This doesn't happen in dtterm for some reason, not sure why. Any help that could be given would be nice. System Information: SunOS ichirou 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-30 $ZSH_VERSION = 3.1.9 thx in advance -Josh-