zsh-users
 help / color / mirror / code / Atom feed
* WinNT zsh, minor problems
@ 1998-06-09 20:06 ric hotchkiss
  1998-06-10  8:25 ` Zefram
  0 siblings, 1 reply; 2+ messages in thread
From: ric hotchkiss @ 1998-06-09 20:06 UTC (permalink / raw)
  To: zsh-users

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


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

end of thread, other threads:[~1998-06-10  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-06-09 20:06 WinNT zsh, minor problems ric hotchkiss
1998-06-10  8:25 ` Zefram

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