Solaris Terminal Handling

Instead of using gettys like most normal Unix versions, Solaris uses SAF, (Service Access Facility) to control terminal lines, serial printers and modems. This works as follows:

  1. At the top level is SAC (Service Access Controller), this is started in inittab (/usr/lib/saf/sac)

  2. SAC starts the port monitors listed in /etc/saf/_sactab

  3. Two different port monitors exist ttymon and listen

     ttymon is responsible for terminal lines, (typically /dev/term/a and /dev/term/b). Generally it calls the login program as defined in /etc/saf/zsmon/_pmtab
     listen controls printing (although it has capabilities to control more). It calls the lp facility. 
    

Commands

Examples