cvs commit: src/usr.sbin/sade termcap.c src/usr.sbin/sysinstall
ed at FreeBSD.org
Fri May 23 14:24:34 UTC 2008
ed 2008-05-23 14:24:33 UTC
FreeBSD src repository
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
More information about the cvs-src