/[emacs]/emacs/lispref/os.texi
ViewVC logotype

Diff of /emacs/lispref/os.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.48 by rms, Mon Mar 11 09:10:19 2002 UTC revision 1.48.2.1 by miles, Fri Apr 4 06:20:42 2003 UTC
# Line 1  Line 1 
1  @c -*-texinfo-*-  @c -*-texinfo-*-
2  @c This is part of the GNU Emacs Lisp Reference Manual.  @c This is part of the GNU Emacs Lisp Reference Manual.
3  @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999  @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999
4  @c   Free Software Foundation, Inc.  @c   Free Software Foundation, Inc.
5  @c See the file elisp.texi for copying conditions.  @c See the file elisp.texi for copying conditions.
6  @setfilename ../info/os  @setfilename ../info/os
7  @node System Interface, Antinews, Calendar, Top  @node System Interface, Antinews, Calendar, Top
# Line 28  pertaining to the terminal and the scree Line 28  pertaining to the terminal and the scree
28  * Terminal Input::      Recording terminal input for debugging.  * Terminal Input::      Recording terminal input for debugging.
29  * Terminal Output::     Recording terminal output for debugging.  * Terminal Output::     Recording terminal output for debugging.
30  * Sound Output::        Playing sounds on the computer's speaker.  * Sound Output::        Playing sounds on the computer's speaker.
31  * Special Keysyms::     Defining system-specific key symbols for X.  * X11 Keysyms::         Operating on key symbols for X Windows
32  * Flow Control::        How to turn output flow control on or off.  * Flow Control::        How to turn output flow control on or off.
33  * Batch Mode::          Running Emacs without terminal interaction.  * Batch Mode::          Running Emacs without terminal interaction.
34  * Session Management::  Saving and restoring state with X Session Management.  * Session Management::  Saving and restoring state with X Session Management.
# Line 90  It loads the library @file{site-start}, Line 90  It loads the library @file{site-start},
90  @file{site-start.el}.  @file{site-start.el}.
91  @cindex @file{site-start.el}  @cindex @file{site-start.el}
92    
93  @item  @item
94  It loads your init file (usually @file{~/.emacs}), unless @samp{-q},  It loads your init file (usually @file{~/.emacs}), unless @samp{-q},
95  @samp{-no-init-file}, or @samp{-batch} was specified on the command line.  @samp{-no-init-file}, or @samp{-batch} was specified on the command line.
96  The @samp{-u} option can specify another user whose home directory  The @samp{-u} option can specify another user whose home directory
97  should be used instead of @file{~}.  should be used instead of @file{~}.
98    
99  @item  @item
100  It loads the library @file{default}, unless @code{inhibit-default-init}  It loads the library @file{default}, unless @code{inhibit-default-init}
101  is non-@code{nil}.  (This is not done in @samp{-batch} mode or if  is non-@code{nil}.  (This is not done in @samp{-batch} mode or if
102  @samp{-q} was specified on the command line.)  The library's file name  @samp{-q} was specified on the command line.)  The library's file name
# Line 111  It sets the major mode according to @cod Line 111  It sets the major mode according to @cod
111  the buffer @samp{*scratch*} is still current and still in Fundamental  the buffer @samp{*scratch*} is still current and still in Fundamental
112  mode.  mode.
113    
114  @item  @item
115  It loads the terminal-specific Lisp file, if any, except when in batch  It loads the terminal-specific Lisp file, if any, except when in batch
116  mode or using a window system.  mode or using a window system.
117    
# Line 119  mode or using a window system. Line 119  mode or using a window system.
119  It displays the initial echo area message, unless you have suppressed  It displays the initial echo area message, unless you have suppressed
120  that with @code{inhibit-startup-echo-area-message}.  that with @code{inhibit-startup-echo-area-message}.
121    
122  @item  @item
123  It processes the action arguments from the command line.  It processes the action arguments from the command line.
124    
125  @item  @item
126  It runs @code{emacs-startup-hook} and then @code{term-setup-hook}.  It runs @code{emacs-startup-hook} and then @code{term-setup-hook}.
127    
128  @item  @item
# Line 130  It calls @code{frame-notice-user-setting Line 130  It calls @code{frame-notice-user-setting
130  parameters of the selected frame according to whatever the init files  parameters of the selected frame according to whatever the init files
131  specify.  specify.
132    
133  @item  @item
134  It runs @code{window-setup-hook}.  @xref{Window Systems}.  It runs @code{window-setup-hook}.  @xref{Window Systems}.
135    
136  @item  @item
137  It displays copyleft, nonwarranty, and basic use information, provided  It displays copyleft, nonwarranty, and basic use information, provided
138  there were no remaining command-line arguments (a few steps above),  there were no remaining command-line arguments (a few steps above),
139  the value of @code{inhibit-startup-message} is @code{nil}, and the  the value of @code{inhibit-startup-message} is @code{nil}, and the
# Line 311  On MS-DOS, if the environment variable @ Line 311  On MS-DOS, if the environment variable @
311  uses @samp{internal} as the terminal type.  uses @samp{internal} as the terminal type.
312  @end defvar  @end defvar
313    
314  @defvar term-setup-hook  @defvar term-setup-hook
315  This variable is a normal hook that Emacs runs after loading your  This variable is a normal hook that Emacs runs after loading your
316  init file, the default initialization file (if any) and the  init file, the default initialization file (if any) and the
317  terminal-specific Lisp file.  terminal-specific Lisp file.
# Line 381  has the form: Line 381  has the form:
381  -@var{option}  -@var{option}
382  @end example  @end example
383    
384  The elements of the @code{command-switch-alist} look like this:  The elements of the @code{command-switch-alist} look like this:
385    
386  @example  @example
387  (@var{option} . @var{handler-function})  (@var{option} . @var{handler-function})
# Line 485  additional confirmation from the user. Line 485  additional confirmation from the user.
485  @defvar kill-emacs-hook  @defvar kill-emacs-hook
486  This variable is a normal hook; once @code{save-buffers-kill-emacs} is  This variable is a normal hook; once @code{save-buffers-kill-emacs} is
487  finished with all file saving and confirmation, it runs the functions in  finished with all file saving and confirmation, it runs the functions in
488  this hook.  this hook.  This hook is not run in batch mode.
489  @end defvar  @end defvar
490    
491  @node Suspending Emacs  @node Suspending Emacs
# Line 613  AIX. Line 613  AIX.
613  @item berkeley-unix  @item berkeley-unix
614  Berkeley BSD.  Berkeley BSD.
615    
616    @item cygwin
617    Cygwin.
618    
619  @item dgux  @item dgux
620  Data General DGUX operating system.  Data General DGUX operating system.
621    
# Line 732  of this variable. Line 735  of this variable.
735  process-environment  process-environment
736  @result{} ("l=/usr/stanford/lib/gnuemacs/lisp"  @result{} ("l=/usr/stanford/lib/gnuemacs/lisp"
737      "PATH=.:/user/lewis/bin:/usr/class:/nfsusr/local/bin"      "PATH=.:/user/lewis/bin:/usr/class:/nfsusr/local/bin"
738      "USER=lewis"      "USER=lewis"
739  @end group  @end group
740  @group  @group
741      "TERM=ibmapa16"      "TERM=ibmapa16"
742      "SHELL=/bin/csh"      "SHELL=/bin/csh"
743      "HOME=/user/lewis")      "HOME=/user/lewis")
744  @end group  @end group
# Line 925  This function returns the real @sc{uid} Line 928  This function returns the real @sc{uid}
928  @end defun  @end defun
929    
930  @defun user-uid  @defun user-uid
931  This function returns the effective @sc{uid} of the user.    This function returns the effective @sc{uid} of the user.
932  @end defun  @end defun
933    
934  @node Time of Day  @node Time of Day
# Line 1848  A list of functions to be called before Line 1851  A list of functions to be called before
1851  is called with one argument, a property list that describes the sound.  is called with one argument, a property list that describes the sound.
1852  @end defvar  @end defvar
1853    
1854  @node Special Keysyms  @node X11 Keysyms
1855  @section System-Specific X11 Keysyms  @section Operating on X11 Keysyms
1856    
1857  To define system-specific X11 keysyms, set the variable  To define system-specific X11 keysyms, set the variable
1858  @code{system-key-alist}.  @code{system-key-alist}.
# Line 1858  To define system-specific X11 keysyms, s Line 1861  To define system-specific X11 keysyms, s
1861  This variable's value should be an alist with one element for each  This variable's value should be an alist with one element for each
1862  system-specific keysym.  Each element has the form @code{(@var{code}  system-specific keysym.  Each element has the form @code{(@var{code}
1863  . @var{symbol})}, where @var{code} is the numeric keysym code (not  . @var{symbol})}, where @var{code} is the numeric keysym code (not
1864  including the ``vendor specific'' bit,  including the ``vendor specific'' bit,
1865  @ifnottex  @ifnottex
1866  -2**28),  -2**28),
1867  @end ifnottex  @end ifnottex
1868  @tex  @tex
1869  $-2^{28}$),  $-2^{28}$),
1870  @end tex  @end tex
1871  and @var{symbol} is the name for the function key.  and @var{symbol} is the name for the function key.
# Line 1872  by HP X servers) whose numeric code is Line 1875  by HP X servers) whose numeric code is
1875  @ifnottex  @ifnottex
1876  -2**28  -2**28
1877  @end ifnottex  @end ifnottex
1878  @tex  @tex
1879  $-2^{28}$  $-2^{28}$
1880  @end tex  @end tex
1881  + 168.  + 168.
# Line 1885  The variable is always local to the curr Line 1888  The variable is always local to the curr
1888  buffer-local.  @xref{Multiple Displays}.  buffer-local.  @xref{Multiple Displays}.
1889  @end defvar  @end defvar
1890    
1891    You can specify which keysyms Emacs should use for the Meta, Alt, Hyper, and Super modifiers by setting these variables:
1892    
1893    @defvar x-alt-keysym
1894    @defvarx x-meta-keysym
1895    @defvarx x-hyper-keysym
1896    @defvarx x-super-keysym
1897    The name of the keysym that should stand for the Alt modifier
1898    (respectively, for Meta, Hyper, and Super).  For example, here is
1899    how to swap the Meta and Alt modifiers within Emacs:
1900    @lisp
1901    (setq x-alt-keysym 'meta)
1902    (setq x-meta-keysym 'alt)
1903    @end lisp
1904    @end defvar
1905    
1906  @node Flow Control  @node Flow Control
1907  @section Flow Control  @section Flow Control
1908  @cindex flow control characters  @cindex flow control characters

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.48.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26