--- old/usr/src/cmd/mandoc/msec.in	Sun Jul 27 18:01:19 2014
+++ new/usr/src/cmd/mandoc/msec.in	Sun Jul 27 18:01:19 2014
@@ -14,231 +14,96 @@
  */
 
 LINE("1",		"User Commands")
-LINE("1B",		"illumos/BSD Compatibility Package Commands")
-LINE("1b",		"illumos/BSD Compatibility Package Commands")
+LINE("1B",		"BSD Compatibility Package Commands")
 LINE("1C",		"Communication Commands")
-LINE("1c",		"Communication Commands")
-LINE("1F",		"FMLI Commands")
-LINE("1f",		"FMLI Commands")
-LINE("1G",		"Graphics and CAD Commands")
-LINE("1g",		"Graphics and CAD Commands")
 LINE("1HAS",		"User Commands")
-LINE("1has",		"User Commands")
 LINE("1M",		"Maintenance Commands")
-LINE("1m",		"Maintenance Commands")
 LINE("1S",		"illumos Specific Commands")
-LINE("1s",		"illumos Specific Commands")
 LINE("2",		"System Calls")
 LINE("3",		"Introduction to Library Functions")
-LINE("3AIO",		"Asynchronous I/O Library Functions")
-LINE("3aio",		"Asynchronous I/O Library Functions")
+LINE("3BSDMALLOC",	"BSD Memory Allocation Library")
 LINE("3BSM",		"Security and Auditing Library Functions")
-LINE("3bsm",		"Security and Auditing Library Functions")
 LINE("3C",		"Standard C Library Functions")
-LINE("3c",		"Standard C Library Functions")
+LINE("3C++",		"C++ Library Functions")
 LINE("3C_DB",		"Threads Debugging Library Functions")
-LINE("3C_db",		"Threads Debugging Library Functions")
 LINE("3CFGADM",		"Configuration Administration Library Functions")
-LINE("3cfgadm",		"Configuration Administration Library Functions")
-LINE("3COMPPUTIL",	"Communication Protocol Parser Utilities Library Functions")
-LINE("3compputil",	"Communication Protocol Parser Utilities Library Functions")
+LINE("3COMMPUTIL",	"Communication Protocol Parser Utilities Library Functions")
 LINE("3CONTRACT",	"Contract Management Library Functions")
-LINE("3contract",	"Contract Management Library Functions")
 LINE("3CPC",		"CPU Performance Counters Library Functions")
-LINE("3cpc",		"CPU Performance Counters Library Functions")
 LINE("3CURSES",		"Curses Library Functions")
-LINE("3curses",		"Curses Library Functions")
 LINE("3DAT",		"Direct Access Transport Library Functions")
-LINE("3dat",		"Direct Access Transport Library Functions")
 LINE("3DEVID",		"Device ID Library Functions")
-LINE("3devid",		"Device ID Library Functions")
 LINE("3DEVINFO",	"Device Information Library Functions")
-LINE("3devinfo",	"Device Information Library Functions")
-LINE("3DL",		"Dynamic Linking Library Functions")
-LINE("3dl",		"Dynamic Linking Library Functions")
 LINE("3DLPI",		"Data Link Provider Interface Library Functions")
-LINE("3dlpi",		"Data Link Provider Interface Library Functions")
-LINE("3DMI",		"DMI Library Functions")
-LINE("3dmi",		"DMI Library Functions")
 LINE("3DNS_SD",		"DNS Service Discovery Library Functions")
-LINE("3dns_sd",		"DNS Service Discovery Library Functions")
 LINE("3DOOR",		"Door Library Functions")
-LINE("3door",		"Door Library Functions")
 LINE("3ELF",		"ELF Library Functions")
-LINE("3elf",		"ELF Library Functions")
 LINE("3EXACCT",		"Extended Accounting File Access Library Functions")
-LINE("3exacct",		"Extended Accounting File Access Library Functions")
 LINE("3EXT",		"Extended Library Functions")
-LINE("3ext",		"Extended Library Functions")
 LINE("3FCOE",		"FCoE Port Management Library Functions")
-LINE("3fcoe",		"FCoE Port Management Library Functions")
 LINE("3FSTYP",		"File System Type Identification Library Functions")
-LINE("3fstyp",		"File System Type Identification Library Functions")
 LINE("3GEN",		"String Pattern-Matching Library Functions")
-LINE("3gen",		"String Pattern-Matching Library Functions")
 LINE("3GSS",		"Generic Security Services API Library Functions")
-LINE("3gss",		"Generic Security Services API Library Functions")
 LINE("3HEAD",		"Headers")
-LINE("3head",		"Headers")
 LINE("3ISCSIT",		"iSCSI Management Library Functions")
-LINE("3iscsit",		"iSCSI Management Library Functions")
 LINE("3KRB",		"Kerberos Library Functions")
-LINE("3krb",		"Kerberos Library Functions")
+LINE("3KRB5",		"MIT Kerberos 5 Library Functions")
 LINE("3KSTAT",		"Kernel Statistics Library Functions")
-LINE("3kstat",		"Kernel Statistics Library Functions")
 LINE("3KVM",		"Kernel VM Library Functions")
-LINE("3kvm",		"Kernel VM Library Functions")
 LINE("3LDAP",		"LDAP Library Functions")
-LINE("3ldap",		"LDAP Library Functions")
 LINE("3LGRP",		"Locality Group Library Functions")
-LINE("3lgrp",		"Locality Group Library Functions")
 LINE("3LIB",		"Interface Libraries")
-LINE("3lib",		"Interface Libraries")
-LINE("3LIBUCB",		"illumos/BSD Compatibility Interface Libraries")
-LINE("3libucb",		"illumos/BSD Compatibility Interface Libraries")
 LINE("3M",		"Mathematical Library Functions")
-LINE("3m",		"Mathematical Library Functions")
 LINE("3MAIL",		"User Mailbox Library Functions")
-LINE("3mail",		"User Mailbox Library Functions")
 LINE("3MALLOC",		"Memory Allocation Library Functions")
-LINE("3malloc",		"Memory Allocation Library Functions")
 LINE("3MP",		"Multiple Precision Library Functions")
-LINE("3mp",		"Multiple Precision Library Functions")
 LINE("3MPAPI",		"Common Multipath Management Library Functions")
-LINE("3mpapi",		"Common Multipath Management Library Functions")
 LINE("3NSL",		"Networking Services Library Functions")
-LINE("3nsl",		"Networking Services Library Functions")
 LINE("3NVPAIR",		"Name-value Pair Library Functions")
-LINE("3nvpair",		"Name-value Pair Library Functions")
 LINE("3PAM",		"PAM Library Functions")
-LINE("3pam",		"PAM Library Functions")
 LINE("3PAPI",		"PAPI Library Functions")
-LINE("3papi",		"PAPI Library Functions")
 LINE("3PERL",		"Perl Library Functions")
-LINE("3perl",		"Perl Library Functions")
 LINE("3PICL",		"PICL Library Functions")
-LINE("3picl",		"PICL Library Functions")
 LINE("3PICLTREE",	"PICL Plug-In Library Functions")
-LINE("3picltree",	"PICL Plug-In Library Functions")
-LINE("3PLOT",		"Graphics Interface Library Functions")
-LINE("3plot",		"Graphics Interface Library Functions")
 LINE("3POOL",		"Pool Configuration Manipulation Library Functions")
-LINE("3pool",		"Pool Configuration Manipulation Library Functions")
 LINE("3PROC",		"Process Control Library Functions")
-LINE("3proc",		"Process Control Library Functions")
 LINE("3PROJECT",	"Project Database Access Library Functions")
-LINE("3project",	"Project Database Access Library Functions")
 LINE("3RAC",		"Remote Asynchronous Calls Library Functions")
-LINE("3rac",		"Remote Asynchronous Calls Library Functions")
 LINE("3RESOLV",		"Resolver Library Functions")
-LINE("3resolv",		"Resolver Library Functions")
 LINE("3RPC",		"RPC Library Functions")
-LINE("3rpc",		"RPC Library Functions")
 LINE("3RSM",		"Remote Shared Memory Library Functions")
-LINE("3rsm",		"Remote Shared Memory Library Functions")
 LINE("3RT",		"Realtime Library Functions")
-LINE("3rt",		"Realtime Library Functions")
 LINE("3SASL",		"Simple Authentication Security Layer Library Functions")
-LINE("3sasl",		"Simple Authentication Security Layer Library Functions")
 LINE("3SCF",		"Service Configuration Facility Library Functions")
-LINE("3scf",		"Service Configuration Facility Library Functions")
-LINE("3SCHED",		"LWP Scheduling Library Functions")
-LINE("3sched",		"LWP Scheduling Library Functions")
 LINE("3SEC",		"File Access Control Library Functions")
-LINE("3sec",		"File Access Control Library Functions")
 LINE("3SECDB",		"Security Attributes Database Library Functions")
-LINE("3secdb",		"Security Attributes Database Library Functions")
 LINE("3SIP",		"Session Initiation Protocol Library Functions")
-LINE("3sip",		"Session Initiation Protocol Library Functions")
 LINE("3SLP",		"Service Location Protocol Library Functions")
-LINE("3slp",		"Service Location Protocol Library Functions")
-LINE("3SNMP",		"SNMP Library Functions")
-LINE("3snmp",		"SNMP Library Functions")
 LINE("3SOCKET",		"Sockets Library Functions")
-LINE("3socket",		"Sockets Library Functions")
 LINE("3STMF",		"SCSI Target Mode Framework Library Functions")
-LINE("3stmf",		"SCSI Target Mode Framework Library Functions")
 LINE("3SYSEVENT",	"System Event Library Functions")
-LINE("3sysevent",	"System Event Library Functions")
 LINE("3TECLA",		"Interactive Command-line Input Library Functions")
-LINE("3tecla",		"Interactive Command-line Input Library Functions")
-LINE("3THR",		"Threads Library Functions")
-LINE("3thr",		"Threads Library Functions")
 LINE("3TNF",		"TNF Library Functions")
-LINE("3tnf",		"TNF Library Functions")
 LINE("3TSOL",		"Trusted Extensions Library Functions")
-LINE("3tsol",		"Trusted Extensions Library Functions")
-LINE("3UCB",		"illumos/BSD Compatibility Library Functions")
-LINE("3ucb",		"illumos/BSD Compatibility Library Functions")
 LINE("3UUID",		"Universally Unique Identifier Library Functions")
-LINE("3uuid",		"Universally Unique Identifier Library Functions")
 LINE("3VOLMGT",		"Volume Management Library Functions")
-LINE("3volmgt",		"Volume Management Library Functions")
 LINE("3XCURSES",	"X/Open Curses Library Functions")
-LINE("3xcurses",	"X/Open Curses Library Functions")
-LINE("3XFN",		"XFN Interface Library Functions")
-LINE("3xfn",		"XFN Interface Library Functions")
 LINE("3XNET",		"X/Open Networking Services Library Functions")
-LINE("3xnet",		"X/Open Networking Services Library Functions")
-LINE("3B",		"illumos/BSD Compatibility Library Functions")
-LINE("3b",		"illumos/BSD Compatibility Library Functions")
-LINE("3E",		"C Library Functions")
-LINE("3e",		"C Library Functions")
 LINE("3F",		"Fortran Library Routines")
-LINE("3f",		"Fortran Library Routines")
-LINE("3G",		"C Library Functions")
-LINE("3g",		"C Library Functions")
-LINE("3K",		"Kernel VM Library Functions")
-LINE("3k",		"Kernel VM Library Functions")
-LINE("3L",		"Lightweight Processes Library")
-LINE("3l",		"Lightweight Processes Library")
-LINE("3N",		"Network Functions")
-LINE("3n",		"Network Functions")
-LINE("3R",		"Realtime Library")
-LINE("3r",		"Realtime Library")
-LINE("3S",		"Standard I/O Functions")
-LINE("3s",		"Standard I/O Functions")
-LINE("3T",		"Threads Library")
-LINE("3t",		"Threads Library")
-LINE("3W",		"C Library Functions")
-LINE("3w",		"C Library Functions")
 LINE("3X",		"Miscellaneous Library Functions")
-LINE("3x",		"Miscellaneous Library Functions")
-LINE("3XC",		"X/Open Curses Library Functions")
-LINE("3xc",		"X/Open Curses Library Functions")
-LINE("3XN",		"X/Open Networking Services Library Functions")
-LINE("3xn",		"X/Open Networking Services Library Functions")
 LINE("4",		"File Formats")
-LINE("4B",		"illumos/BSD Compatibility Package File Formats")
-LINE("4b",		"illumos/BSD Compatibility Package File Formats")
 LINE("5",		"Standards, Environments, and Macros")
 LINE("6",		"Games and Demos")
 LINE("7",		"Device and Network Interfaces")
-LINE("7B",		"illumos/BSD Compatibility Special Files")
-LINE("7b",		"illumos/BSD Compatibility Special Files")
 LINE("7D",		"Devices")
-LINE("7d",		"Devices")
 LINE("7FS",		"File Systems")
-LINE("7fs",		"File Systems")
 LINE("7I",		"Ioctl Requests")
-LINE("7i",		"Ioctl Requests")
 LINE("7IPP",		"IP Quality of Service Modules")
-LINE("7ipp",		"IP Quality of Service Modules")
 LINE("7M",		"STREAMS Modules")
-LINE("7m",		"STREAMS Modules")
 LINE("7P",		"Protocols")
-LINE("7p",		"Protocols")
 LINE("8",		"Maintenance Procedures")
-LINE("8C",		"Maintenance Procedures")
-LINE("8c",		"Maintenance Procedures")
-LINE("8S",		"Maintenance Procedures")
-LINE("8s",		"Maintenance Procedures")
 LINE("9",		"Device Driver Interfaces")
 LINE("9E",		"Driver Entry Points")
-LINE("9e",		"Driver Entry Points")
 LINE("9F",		"Kernel Functions for Drivers")
-LINE("9f",		"Kernel Functions for Drivers")
 LINE("9P",		"Kernel Properties for Drivers")
-LINE("9p",		"Kernel Properties for Drivers")
 LINE("9S",		"Data Structures for Drivers")
-LINE("9s",		"Data Structures for Drivers")
