Next: The Selected Console and Device, Previous: Console Types and Device Classes, Up: Consoles and Devices
The following two functions create devices of specific types and are
written in terms of make-device.
This function creates a new tty device on tty. This also creates the tty's first frame. tty should be a string giving the name of a tty device file (e.g. ‘/dev/ttyp3’ under SunOS et al.), as returned by the ‘tty’ command issued from the Unix shell. A value of
nilmeans use the stdin and stdout as passed to SXEmacs from the shell. If terminal-type is non-nil, it should be a string specifying the type of the terminal attached to the specified tty. If it isnil, the terminal type will be inferred from the ‘TERM’ environment variable.
This function creates a new device connected to display. Optional argument argv-list is a list of strings describing command line options.
This function deletes device, permanently eliminating it from use. This disconnects SXEmacs's connection to the device.
This variable, if non-
nil, should contain a list of functions, which are called when a device is created.
This variable, if non-
nil, should contain a list of functions, which are called when a device is deleted.
This function returns non-
nilif object is a console that has not been deleted.