[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: |
Thomas E. Dickey |
Subject: |
Re: Installation bug with tic (ncurses 5.1_20001004) under Solaris 2.6 |
Date: |
Mon, 9 Oct 2000 08:27:15 -0400 (EDT) |
On Mon, 9 Oct 2000, Frank Heckenbach wrote:
> Thomas Dickey wrote:
> > 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,
..which makes it (although in some sense "nicer") incompatible with the
original getopt. I've used (and written a few) programs that rely on the
original behavior, though I'm using none currently.
> ./shlib tic -s -o /opt/share/terminfo /tmp/3783
> or
> ./shlib tic -o /opt/share/terminfo -s /tmp/3783
> should work for both.
right. If I'd had time on Saturday to run the whole build/install on
Solaris, I probably would have seen that (I visited Solaris, but only
to experiment with ospeed and baudrate()).
--
T.E.Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com