Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2008 15:02:44 +0200
From:      Ed Schouten <ed@80386.nl>
To:        ports@FreeBSD.org
Subject:   HEADS UP: sgtty removal this weekend
Message-ID:  <20080611130244.GA1176@hoeg.nl>

next in thread | raw e-mail | index | archive | help

--2pi4Gp0KyRJpQ5Nw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello everyone,

The last year I've been busy now and then removing the dependency of
ports on the sgtty programming interface. sgtty is the old way of
changing terminal attributes (baud rate, parameters, control characters,
etc). Nowadays people should all be using the POSIX termios interface to
do these things.

When I started, there were many ports that used sgtty. See the following
link for some of the PR's I've filed:

	http://www.freebsd.org/cgi/query-pr-summary.cgi?category=3Dports&text=3Dsg=
tty&closedtoo=3Don

Pav did an experimental ports run some days ago, which gave me a list of
20 ports that will be broken when sgtty gets removed from the operating
system. I've sent patches for most of them, which still have to be
reviewed/committed/etc. There aren't any high profile ports on this
list.

I'm sending this email for two reasons:

Users: if you experience compilation problems on FreeBSD -CURRENT after
weekend, be sure to update your ports tree. It might be possible that a
fix has been committed already.

Port maintainers: if you receive emails from tinderbox, related to
<sgtty.h>, <sys/ttydev.h> and <sys/ttychars.h>, these could be related
to the removal of this programming interface.

Below is a list of ports that could get broken this weekend. The ports
with an asterisk already have a patch in GNATS.

- annextools*
- beav
- calctool*
- conserver-com*
- conserver*
- fep
- gap
- ja-mh*
- ja-sj3*
- metamail*
- moria
- ncurses*
- socks5*
- splitvt*
- vi-vnelvis*
- vi-vnterm*

Existing binaries that use the sgtty interface will still work after my
commit. I'm only removing the programming interface, not the actual
sgtty-to-termios compatibility layer.

Some of you may already know I'm working on a new TTY layer for the
FreeBSD operating system. This implementation will not support sgtty,
which means I want to phase out this interface as soon as possible.

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--2pi4Gp0KyRJpQ5Nw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkhPzPQACgkQ52SDGA2eCwXzQQCfU3TToPGiHkgAT11S7QcWXXb3
v+oAn2l2yfbA8tJuPPXkn+dVcy3ARnhr
=ZaGn
-----END PGP SIGNATURE-----

--2pi4Gp0KyRJpQ5Nw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080611130244.GA1176>