comparison lisp/utils/sysdep.el @ 213:78f53ef88e17 r20-4b5

Import from CVS: tag r20-4b5
author cvs
date Mon, 13 Aug 2007 10:06:47 +0200
parents 131b0175ea99
children
comparison
equal deleted inserted replaced
212:d8688acf4c5b 213:78f53ef88e17
365 365
366 (sysdep-defun make-frame-on-device (type connection &optional props) 366 (sysdep-defun make-frame-on-device (type connection &optional props)
367 "Create a frame of type TYPE on CONNECTION. 367 "Create a frame of type TYPE on CONNECTION.
368 TYPE should be a symbol naming the device type, i.e. one of 368 TYPE should be a symbol naming the device type, i.e. one of
369 369
370 x An X display. CONNECTION should be a standard display string 370 x An X display. CONNECTION should be a standard display string
371 such as \"unix:0\", or nil for the display specified on the 371 such as \"unix:0\", or nil for the display specified on the
372 command line or in the DISPLAY environment variable. Only if 372 command line or in the DISPLAY environment variable. Only if
373 support for X was compiled into XEmacs. 373 support for X was compiled into XEmacs.
374 tty A standard TTY connection or terminal. CONNECTION should be 374 tty A standard TTY connection or terminal. CONNECTION should be
375 a TTY device name such as \"/dev/ttyp2\" (as determined by 375 a TTY device name such as \"/dev/ttyp2\" (as determined by
376 the Unix command `tty') or nil for XEmacs' standard input 376 the Unix command `tty') or nil for XEmacs' standard input
377 and output (usually the TTY in which XEmacs started). Only 377 and output (usually the TTY in which XEmacs started). Only
378 if support for TTY's was compiled into XEmacs. 378 if support for TTY's was compiled into XEmacs.
379 ns A connection to a machine running the NeXTstep windowing 379 ns A connection to a machine running the NeXTstep windowing
380 system. Not currently implemented. 380 system. Not currently implemented.
381 win32 A connection to a machine running Microsoft Windows NT or 381 mswindows A connection to a machine running Microsoft Windows NT or
382 Windows 95. Not currently implemented. 382 Windows 95/97.
383 pc A direct-write MS-DOS frame. Not currently implemented. 383 pc A direct-write MS-DOS frame. Not currently implemented.
384 384
385 PROPS should be a plist of properties, as in the call to `make-frame'. 385 PROPS should be a plist of properties, as in the call to `make-frame'.
386 386
387 If a connection to CONNECTION already exists, it is reused; otherwise, 387 If a connection to CONNECTION already exists, it is reused; otherwise,
388 a new connection is opened." 388 a new connection is opened."
623 (sysdep-defun device-type (&optional device) 623 (sysdep-defun device-type (&optional device)
624 "Return the type of the specified device (e.g. `x' or `tty'). 624 "Return the type of the specified device (e.g. `x' or `tty').
625 Value is `tty' for a tty device (a character-only terminal), 625 Value is `tty' for a tty device (a character-only terminal),
626 `x' for a device which is a connection to an X server, 626 `x' for a device which is a connection to an X server,
627 'ns' for a device which is a connection to a NeXTStep dps server, 627 'ns' for a device which is a connection to a NeXTStep dps server,
628 'win32' for a Windows-NT window, 628 'mswindows' for a MSWindows window,
629 'pm' for an OS/2 Presentation Manager window, 629 'pm' for an OS/2 Presentation Manager window,
630 'intuition' for an Amiga screen" 630 'intuition' for an Amiga screen"
631 (device-or-frame-type device)) 631 (device-or-frame-type device))
632 632
633 (sysdep-defun device-type-list () 633 (sysdep-defun device-type-list ()