Print this page
12315 errors in section 7i of the manual
   1 VT(7I)                          Ioctl Requests                          VT(7I)
   2 
   3 NAME
   4      vt - Solaris virtual console interface
   5 
   6 SYNOPSIS
   7      #include <sys/kd.h>
   8      #include <sys/vt.h>
   9 
  10 DESCRIPTION
  11      The virtual console device driver -- also known as virtual terminal (VT)
  12      -- is a layer of management functions that provides facilities to support
  13      and switch between multiple screen faces on a single physical device.
  14 
  15      VT's are accessed in the same way as other devices.  The open(2) system
  16      call is used to open the virtual console and read(2), write(2) and
  17      ioctl(2) are used in the normal way and support the functionality of the
  18      underlying device.  In addition, some virtual console-specific ioctls are
  19      provided and described below.
  20 
  21      The VT provides a link between different screen faces and the device.
  22      The active virtual console corresponds to the currently visible screen
  23      face.  Device input is directed to the active console and any device-
  24      specific modes that change on a per virtual terminal basis are set to the


 195 
 196 NOTES
 197      By default, there are only five virtual console instance login prompts
 198      running on /dev/vt/# (where "#" represents 2 to 6) in addition to the
 199      system console running on /dev/console.  Normally Xorg uses the seventh
 200      virtual console (/dev/vt/7).  To switch from consoles to Xserver (which
 201      normally picks up the first available virtual console), use [ Ctrl + ]
 202      Alt + F7 .
 203 
 204            # svcs  | grep login
 205            online         17:49:11 svc:/system/console-login:default
 206            online         17:49:11 svc:/system/console-login:vt2
 207            online         17:49:11 svc:/system/console-login:vt3
 208            online         17:49:11 svc:/system/console-login:vt4
 209            online         17:49:11 svc:/system/console-login:vt5
 210            online         17:49:11 svc:/system/console-login:vt6
 211 
 212      console-login:default is for the system console, others for virtual
 213      consoles.
 214 
 215      You can modify properties/disable/enable and remove/add virtual consoles
 216      using smf(5):
 217 
 218            # svccfg -s console-login add vt8
 219            # svccfg -s console-login:vt8 setprop \
 220              ttymon/device=astring: "/dev/vt/8"
 221            # svcadm enable console-login:vt8
 222 
 223 illumos                        October 29, 2017                        illumos
   1 VT(7I)                          Ioctl Requests                          VT(7I)
   2 
   3 NAME
   4      vt - illumos virtual console interface
   5 
   6 SYNOPSIS
   7      #include <sys/kd.h>
   8      #include <sys/vt.h>
   9 
  10 DESCRIPTION
  11      The virtual console device driver -- also known as virtual terminal (VT)
  12      -- is a layer of management functions that provides facilities to support
  13      and switch between multiple screen faces on a single physical device.
  14 
  15      VT's are accessed in the same way as other devices.  The open(2) system
  16      call is used to open the virtual console and read(2), write(2) and
  17      ioctl(2) are used in the normal way and support the functionality of the
  18      underlying device.  In addition, some virtual console-specific ioctls are
  19      provided and described below.
  20 
  21      The VT provides a link between different screen faces and the device.
  22      The active virtual console corresponds to the currently visible screen
  23      face.  Device input is directed to the active console and any device-
  24      specific modes that change on a per virtual terminal basis are set to the


 195 
 196 NOTES
 197      By default, there are only five virtual console instance login prompts
 198      running on /dev/vt/# (where "#" represents 2 to 6) in addition to the
 199      system console running on /dev/console.  Normally Xorg uses the seventh
 200      virtual console (/dev/vt/7).  To switch from consoles to Xserver (which
 201      normally picks up the first available virtual console), use [ Ctrl + ]
 202      Alt + F7 .
 203 
 204            # svcs | grep login
 205            online         17:49:11 svc:/system/console-login:default
 206            online         17:49:11 svc:/system/console-login:vt2
 207            online         17:49:11 svc:/system/console-login:vt3
 208            online         17:49:11 svc:/system/console-login:vt4
 209            online         17:49:11 svc:/system/console-login:vt5
 210            online         17:49:11 svc:/system/console-login:vt6
 211 
 212      console-login:default is for the system console, others for virtual
 213      consoles.
 214 
 215      You can manage virtual consoles using the service management facility,
 216      smf(5):
 217 
 218            # svccfg -s console-login add vt8
 219            # svccfg -s console-login:vt8 setprop \
 220              ttymon/device=astring: "/dev/vt/8"
 221            # svcadm enable console-login:vt8
 222 
 223 illumos                        February 17, 2020                       illumos