On Mon, Jun 11, 2018 at 05:05:02PM +0200, Pau wrote:
> Hello:
> 
> I am trying to compile a very old piece of software, supermongo, on -current.
> 
> The first complain I get from gmake is that
> 
> get1char.c:26:14: fatal error: 'sgtty.h' file not found
> #    include <sgtty.h>
>              ^~~~~~~~~
> 1 error generated.
> *** Error 1 in devices (Makefile:5 'get1char.o')
> 
> 
> My first guess is that it's been removed from current because it was a
> very old thing and maybe with security holes. What would be a
> workaround? I guess that quite a few codes still need that?

Old bsd-style tty. You'll have to replace it with stuff from termios.

In the ports tree, games/nethack/3.4 still has (unused) old sgtty code...

Reply via email to