[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installation bug with tic (ncurses 5.1_20001004) under Solaris 2.6

From: Frank Heckenbach
Subject: Re: Installation bug with tic (ncurses 5.1_20001004) under Solaris 2.6
Date: Mon, 9 Oct 2000 12:39:00 +0200

Thomas Dickey wrote:

> On Sun, Oct 08, 2000 at 10:34:56PM -0700, Ethan Butterfield wrote:
> > 
> > Checking into it, it looks as if the version of tic build in the 20001004
> > source has changed its args a bit. The misc/run_tic.sh script tries to run 
> > 
> > ./shlib tic -s /tmp/3783 -o /opt/share/terminfo
> > 
> > which fails as -s isn't an arg for "source" anymore. Switch the -s and -o
> > args around, and everything runs fine. Below is a minor diff -u which will
> > fix the run_tic.sh script.
> no - the problem is likely getopt, which (since it did work for me) has
> to be processing the -o option before /tmp/3783 on this box (Linux).
> That would be a bug in getopt.  Thanks.

It might be the difference that GNU getopt by default accepts
options and non-options in any order, while "traditional" getopt
implementations (Solaris probably) stop at the first non-option
(/tmp/3783). So,
./shlib tic -s -o /opt/share/terminfo /tmp/3783
./shlib tic -o /opt/share/terminfo -s /tmp/3783
should work for both.


Frank Heckenbach, address@hidden
PGP and GPG keys: http://fjf.gnu.de/plan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]