Subject: 'dhv' missing from "pstat -t" output (#66) Index: etc/pstat.c 2.11BSD Description: When the DHV-11 driver was moved from the OTHERS catagory to supported the 'pstat' program was not updated to look for and display 'dhv' terminal statistics. Oops. Repeat-By: Build a kernel using the dhv.c driver (rather than the dhu.c one) and do a 'pstat -t'. Note the lack of information about the dhv lines. Fix: Apply the following patch, recompile and install 'pstat'. -------------------------------------------------------------------------- *** /usr/src/etc/pstat.c.old Thu Apr 5 21:50:11 1990 --- /usr/src/etc/pstat.c Mon Jun 15 23:43:57 1992 *************** *** 89,94 **** --- 89,98 ---- { "_dmz_tty" }, #define SNDMZ 23 { "_ndmz" }, + #define SDHV 24 + { "_dhv_tty" }, + #define SNDHV 25 + { "_ndhv" }, { "" } }; *************** *** 442,447 **** --- 446,453 ---- dottytype("dhu", SDHU, SNDHU); if (nl[SNDMZ].n_type != 0) dottytype("dmz", SDMZ, SNDMZ); + if (nl[SNDHV].n_type != 0) + dottytype("dhv", SDHV, SNDHV); if (nl[SNPTY].n_type != 0) dottytype("pty", SPTY, SNPTY); }