comparison lispref/os.texi @ 52978:1a5c50faf357

Replace @sc{foo} with @acronym{FOO}.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 02 Nov 2003 06:29:59 +0000
parents 1cc25f9733cf
children 5bf3c4457aa3
comparison
equal deleted inserted replaced
52977:8af8c70252c1 52978:1a5c50faf357
588 @section Operating System Environment 588 @section Operating System Environment
589 @cindex operating system environment 589 @cindex operating system environment
590 590
591 Emacs provides access to variables in the operating system environment 591 Emacs provides access to variables in the operating system environment
592 through various functions. These variables include the name of the 592 through various functions. These variables include the name of the
593 system, the user's @sc{uid}, and so on. 593 system, the user's @acronym{UID}, and so on.
594 594
595 @defvar system-configuration 595 @defvar system-configuration
596 This variable holds the GNU configuration name for the hardware/software 596 This variable holds the GNU configuration name for the hardware/software
597 configuration of your system, as a string. The convenient way to test 597 configuration of your system, as a string. The convenient way to test
598 parts of this string is with @code{string-match}. 598 parts of this string is with @code{string-match}.
818 @end group 818 @end group
819 @end example 819 @end example
820 @end defun 820 @end defun
821 821
822 @defun emacs-pid 822 @defun emacs-pid
823 This function returns the process @sc{id} of the Emacs process. 823 This function returns the process @acronym{ID} of the Emacs process.
824 @end defun 824 @end defun
825 825
826 @defvar tty-erase-char 826 @defvar tty-erase-char
827 This variable holds the erase character that was selected 827 This variable holds the erase character that was selected
828 in the system's terminal driver, before Emacs was started. 828 in the system's terminal driver, before Emacs was started.
868 @defun user-login-name &optional uid 868 @defun user-login-name &optional uid
869 If you don't specify @var{uid}, this function returns the name under 869 If you don't specify @var{uid}, this function returns the name under
870 which the user is logged in. If the environment variable @code{LOGNAME} 870 which the user is logged in. If the environment variable @code{LOGNAME}
871 is set, that value is used. Otherwise, if the environment variable 871 is set, that value is used. Otherwise, if the environment variable
872 @code{USER} is set, that value is used. Otherwise, the value is based 872 @code{USER} is set, that value is used. Otherwise, the value is based
873 on the effective @sc{uid}, not the real @sc{uid}. 873 on the effective @acronym{UID}, not the real @acronym{UID}.
874 874
875 If you specify @var{uid}, the value is the user name that corresponds 875 If you specify @var{uid}, the value is the user name that corresponds
876 to @var{uid} (which should be an integer). 876 to @var{uid} (which should be an integer).
877 877
878 @example 878 @example
883 @end example 883 @end example
884 @end defun 884 @end defun
885 885
886 @defun user-real-login-name 886 @defun user-real-login-name
887 This function returns the user name corresponding to Emacs's real 887 This function returns the user name corresponding to Emacs's real
888 @sc{uid}. This ignores the effective @sc{uid} and ignores the 888 @acronym{UID}. This ignores the effective @acronym{UID} and ignores the
889 environment variables @code{LOGNAME} and @code{USER}. 889 environment variables @code{LOGNAME} and @code{USER}.
890 @end defun 890 @end defun
891 891
892 @defun user-full-name &optional uid 892 @defun user-full-name &optional uid
893 This function returns the full name of the logged-in user---or the value 893 This function returns the full name of the logged-in user---or the value
919 you to ``fake out'' Emacs by telling the functions what to return. The 919 you to ``fake out'' Emacs by telling the functions what to return. The
920 variables are also useful for constructing frame titles (@pxref{Frame 920 variables are also useful for constructing frame titles (@pxref{Frame
921 Titles}). 921 Titles}).
922 922
923 @defun user-real-uid 923 @defun user-real-uid
924 This function returns the real @sc{uid} of the user. 924 This function returns the real @acronym{UID} of the user.
925 The value may be a floating point number. 925 The value may be a floating point number.
926 926
927 @example 927 @example
928 @group 928 @group
929 (user-real-uid) 929 (user-real-uid)
931 @end group 931 @end group
932 @end example 932 @end example
933 @end defun 933 @end defun
934 934
935 @defun user-uid 935 @defun user-uid
936 This function returns the effective @sc{uid} of the user. 936 This function returns the effective @acronym{UID} of the user.
937 The value may be a floating point number. 937 The value may be a floating point number.
938 @end defun 938 @end defun
939 939
940 @node Time of Day 940 @node Time of Day
941 @section Time of Day 941 @section Time of Day
1933 @cindex @kbd{C-q} 1933 @cindex @kbd{C-q}
1934 At one time, most terminals did not need flow control, and none used 1934 At one time, most terminals did not need flow control, and none used
1935 @code{C-s} and @kbd{C-q} for flow control. Therefore, the choice of 1935 @code{C-s} and @kbd{C-q} for flow control. Therefore, the choice of
1936 @kbd{C-s} and @kbd{C-q} as command characters for searching and quoting 1936 @kbd{C-s} and @kbd{C-q} as command characters for searching and quoting
1937 was natural and uncontroversial. With so many commands needing key 1937 was natural and uncontroversial. With so many commands needing key
1938 assignments, of course we assigned meanings to nearly all @sc{ascii} 1938 assignments, of course we assigned meanings to nearly all @acronym{ASCII}
1939 control characters. 1939 control characters.
1940 1940
1941 Later, some terminals were introduced which required these characters 1941 Later, some terminals were introduced which required these characters
1942 for flow control. They were not very good terminals for full-screen 1942 for flow control. They were not very good terminals for full-screen
1943 editing, so Emacs maintainers ignored them. In later years, flow 1943 editing, so Emacs maintainers ignored them. In later years, flow