From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2479 invoked from network); 9 Jun 1998 20:11:20 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 9 Jun 1998 20:11:20 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id QAA18746; Tue, 9 Jun 1998 16:06:21 -0400 (EDT) Resent-Date: Tue, 9 Jun 1998 16:05:36 -0400 (EDT) Sender: ric.hotchkiss@sdrc.com Message-ID: <357D95BA.4D8375BD@sdrc.com> Date: Tue, 09 Jun 1998 16:06:18 -0400 From: ric hotchkiss Organization: Structural Dynamics Research Corportation X-Mailer: Mozilla 4.04 [en] (X11; U; IRIX64 6.2 IP28) MIME-Version: 1.0 To: zsh-users@math.gatech.edu Subject: WinNT zsh, minor problems Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: <"P2bov2.0.YZ4.wLPVr"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1583 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I have been using zsh on WinNT for about 6 weeks now. So far I love it, but I have two small problems that maybe someone could help me with: 1. When using the read I get no echo of the characters typed in. Is there a way to get the characters echoed as they are typed? 2. When running awk/gawk double quotes inside a single quoted script get removed unless quoted with backslash. I am trying to write code for both WinNT and UNIX, \" does not work on UNIX and " does not work for WinNT. NT Example: gawk '{ printf ("test %s\n", $1) }' # this works on UNIX c:\bin\gawk: cmd. line:1: { printf (test %s\n, $1) } c:\bin\gawk: cmd. line:1: ^ parse error UNIX Example: gawk '{ printf (\"test %s\n\", $1) }' # this works on NT gawk: cmd. line:1: { printf (\"test %s\n\", $1) } gawk: cmd. line:1: ^ backslash not last character on line Is there a syntax that will work on both systems? Thanx for any hints. Ric -- _____ ______ _____ _____ / ____|| ___ \ | ___ \ / ____| Ric Hotchkiss IDSA 2000 Eastman Drive \____ \| |___) )| _ /( (____ ric.hotchkiss@sdrc.com Milford, OH 45150 |_____/|______/ |_| \_\ \_____| Implementation Specialist 513-576-2924