On Mon, 11 Jun 2018 17:05:02 +0200, Pau wrote: > 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')
You will need to update the code to use POSIX termios instead of sgtty.h. This is probably not too difficult, though you are probably better off looking at what the code is trying to accomplish (e.g. reading a single character) than trying to do a strict conversion. - todd