Details Ticket 903


Comment | Reply | Take | Open


Serial Number 903
Subject g.manual on cygwin
Area bug
Queue grass
Requestors andreas.lange@rhein-main.de
Owner none
Status resolved
Last User Contact Sat Jan 19 21:55:33 2002 (7 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Sat Apr 13 14:14:41 2002 (6 yr ago)
Created Sat Jan 19 15:52:49 2002 (7 yr ago)

Transaction History Ticket 903


Sat, Jan 19 2002 15:52:49    Request created by guest  
Subject: g.manual on cygwin

Platform: MS W2K/cygwin
Xwindows version: Star Net Demo
Xwindows manager: internal StarNe
TclTk version: tcl/tk 8.0
grass downloaded at: Trento site
grass binary for platform: I compiled the sources myself
grass sources source: no, I got a source code package from the server, pre3
c compiler name: gcc

g.manual does not work on cygwin.
Not from command line, nor from tcltkgrass:

GRASS:~ > g.manual d.ask
getopts: not found
expr: syntax error
What manual page do you want?
GRASS:~ > 

I thought that we had fixed that error. 
The problem is IMHO that the cygwin standard shell does not have getopts builtin.
Replacing the standard shell on cygwin with bash IMHO hurts performance very
much, compiling is very slow already.

Any ideas?

Andreas 
Sat, Jan 19 2002 21:55:33    Mail sent by glynn.clements@virgin.net  
Return-Path <glynn.clements@virgin.net>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn.clements@virgin.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <15433.54437.29458.78449@cerise.nosuchdomain.co.uk>
Date Sat, 19 Jan 2002 20:18:45 +0000
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #903] (grass) g.manual on cygwin
In-Reply-To <20020119145249.ABF9E13A16@lists.intevation.de>
References <20020119145249.ABF9E13A16@lists.intevation.de>
X-Mailer VM 6.94 under 21.4 (patch 4) "Artificial Intelligence (candidate #1)" XEmacs Lucid
X-Spam-Status No, hits=0 required=5 tests=
Request Tracker wrote:

> Subject: g.manual on cygwin
> 
> Platform: MS W2K/cygwin
> Xwindows version: Star Net Demo
> Xwindows manager: internal StarNe
> TclTk version: tcl/tk 8.0
> grass downloaded at: Trento site
> grass binary for platform: I compiled the sources myself
> grass sources source: no, I got a source code package from the server, pre3
> c compiler name: gcc
> 
> g.manual does not work on cygwin.
> Not from command line, nor from tcltkgrass:
> 
> GRASS:~ > g.manual d.ask
> getopts: not found
> expr: syntax error
> What manual page do you want?
> GRASS:~ > 
> 
> I thought that we had fixed that error. 
> 
> The problem is IMHO that the cygwin standard shell does not have
> getopts builtin.
> 
> Replacing the standard shell on cygwin with bash IMHO hurts
> performance very much, compiling is very slow already.
> 
> Any ideas?

Either:

a) change "#!/bin/sh" to "#!/bin/bash" at the top of g.manual, or
b) re-write g.manual not to require any bash-isms.

-- 
Glynn Clements <glynn.clements@virgin.net>


Sat, Apr 13 2002 14:14:41    Status changed to resolved by gclements  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request