zsh-workers
 help / color / mirror / code / Atom feed
* Using netscape with zsh linked as sh
@ 1997-05-13 17:30 Alain Caron
  1997-05-13 18:57 ` Zoltan T. Hidvegi
  1997-05-13 19:11 ` Clint Adams
  0 siblings, 2 replies; 3+ messages in thread
From: Alain Caron @ 1997-05-13 17:30 UTC (permalink / raw)
  To: zsh-workers


I have a problem when using netscape and zsh is linked to sh.

The problem was that netscape usually launches a command of the form:

sh -c "(( ghostview /tmp/temporaryFile ); /bin/rm /tmp/temporaryFile)

This fails because zsh interprets this as a mathematical expression.

I remember that, around a month ago, there were some discussion
regarding this problem and some work-around was described.

I changed job and lost my previous mail relative to this topic.  And I
am not able to find the archives about this.

Could someone send me the information.

Thanks in advance.

Alain Caron
Sanga Research Corporation
email: alainc@sangacorp.com


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

* Re: Using netscape with zsh linked as sh
  1997-05-13 17:30 Using netscape with zsh linked as sh Alain Caron
@ 1997-05-13 18:57 ` Zoltan T. Hidvegi
  1997-05-13 19:11 ` Clint Adams
  1 sibling, 0 replies; 3+ messages in thread
From: Zoltan T. Hidvegi @ 1997-05-13 18:57 UTC (permalink / raw)
  To: alainc; +Cc: Zsh workers list

Alain Caron wrote:
> The problem was that netscape usually launches a command of the form:
>
> sh -c "(( ghostview /tmp/temporaryFile ); /bin/rm /tmp/temporaryFile)

Apply the latest patches from the testing subdirectory of zsh ftp sites
(zsh-3.0.3-test5.diff.gz for zsh-3.0.2 and zsh-3.1.2-test1.diff.sh.gz for
zsh-3.1.1), or wait for a new release.

Zoltan


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

* Re: Using netscape with zsh linked as sh
  1997-05-13 17:30 Using netscape with zsh linked as sh Alain Caron
  1997-05-13 18:57 ` Zoltan T. Hidvegi
@ 1997-05-13 19:11 ` Clint Adams
  1 sibling, 0 replies; 3+ messages in thread
From: Clint Adams @ 1997-05-13 19:11 UTC (permalink / raw)
  To: alainc; +Cc: zsh-workers


> sh -c "(( ghostview /tmp/temporaryFile ); /bin/rm /tmp/temporaryFile)

Run the netscape binary through this expression using sed or perl

's/\(\(\0cat %s \| \0\);/\( \0cat %s \| \0 ;/'

e.g.

sed 's/\(\(\0cat %s \| \0\);/\( \0cat %s \| \0 ;/' < netscape.binary >netscape.binary.patched


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

end of thread, other threads:[~1997-05-13 19:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-05-13 17:30 Using netscape with zsh linked as sh Alain Caron
1997-05-13 18:57 ` Zoltan T. Hidvegi
1997-05-13 19:11 ` Clint Adams

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