ports/127182: shells/ksh93 fails to build
Ed Schouten
ed at 80386.nl
Tue Sep 9 16:40:04 UTC 2008
The following reply was made to PR ports/127182; it has been noted by GNATS.
From: Ed Schouten <ed at 80386.nl>
To: Larry Rosenman <ler at lerctr.org>
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/127182: shells/ksh93 fails to build
Date: Tue, 9 Sep 2008 18:38:36 +0200
--YrlhzR9YrZtruaFS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hello Larry,
* Larry Rosenman <ler at lerctr.org> wrote:
> You may want to be aware of this PR....
I don't agree with Glenn Fowler's response:
"it must be a bsd bug since TAB[12] are in posix <termios.h>"
http://www.opengroup.org/onlinepubs/009695399/basedefs/termios.h.html
If you search for TABDLY, TAB0, TAB1, TAB2 or TAB3, you'll see they are
XSI. As far as I can see, the project is not interested in implementing
all XSI bits, only the ones that are easy to support or make sense,
which is not always the case.
Both FreeBSD's old and new TTY layer only partially implement TABDLY. It
supports the simple tab expansion case (TAB3), but not the actual delay.
The same applies to NLDLY and CRDLY.
So even though FreeBSD does not support TAB1 and TAB2, it's even better
than the old case, where we *did* support TAB3, but called it OXTABS.
Running into these kind of problems is just the risk you take when using
XSI bits.
The patch in the PR looks pretty good, except that it checks all the
flags, except TAB3. You happen to know what's up with that?
Thanks for pointing me to this PR. Be sure to send me any followups if
in doubt.
--=20
Ed Schouten <ed at 80386.nl>
WWW: http://80386.nl/
--YrlhzR9YrZtruaFS
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)
iEYEARECAAYFAkjGpowACgkQ52SDGA2eCwWE9QCfZ5INBg8DLs4KBkhJWwSOksjN
3ewAn3Gf9O/bU4XmQsUkc7+0RVXIaCtx
=m1UN
-----END PGP SIGNATURE-----
--YrlhzR9YrZtruaFS--
More information about the freebsd-ports-bugs
mailing list