Date: Fri, 23 May 2008 14:24:33 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/sade termcap.c src/usr.sbin/sysinstall termcap.c Message-ID: <200805231424.m4NEOX62088744@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2008-05-23 14:24:33 UTC FreeBSD src repository Modified files: usr.sbin/sade termcap.c usr.sbin/sysinstall termcap.c Log: Move sysinstall/sade away from TIOCGSIZE. Both sysinstall and sade still seem to use the TIOCGSIZE ioctl to obtain the terminal dimensions. We'd better use TIOCGWINSZ to do this. The TIOCGWINSZ interface is preferred, because it also allows sizes in pixels to be passed to the application (though this is not used here). Approved by: philip (mentor) Revision Changes Path 1.37 +4 -4 src/usr.sbin/sade/termcap.c 1.32 +4 -4 src/usr.sbin/sysinstall/termcap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805231424.m4NEOX62088744>