]> code.delx.au - gnu-emacs/blobdiff - man/faq.texi
Document non-support of images in the MS-Windows port of v21.1.
[gnu-emacs] / man / faq.texi
index 6a6ad65afa96ffb929bf0636889139acd6bacb99..c78317f98d77b565b599902f6758a7da7a9c195f 100644 (file)
@@ -1223,6 +1223,7 @@ and on @code{xterm} with @kbd{emacs -nw}.
 * Replacing highlighted text::  
 * Editing MS-DOS files::        
 * Filling paragraphs with a single space::  
+* Escape sequences in shell output::   
 @end menu
 
 @node Setting up a customization file, Colors on a TTY, Common requests, Common requests
@@ -1821,7 +1822,7 @@ And evaluate the following Lisp form:
 @end example
 
 @node Turning the volume down, Automatic indentation, Turning off beeping, Common requests
-@section How do I turn down the bell volume in Emacs running under X Windows?
+@section How do I turn down the bell volume in Emacs running under X?
 @cindex Bell, volume of
 @cindex Volume of bell
 
@@ -2113,11 +2114,11 @@ If you need to repeat a command a small number of times, you can use
 
 @node Forcing Emacs to iconify itself, Using regular expressions, Forcing the cursor to remain in the same column, Common requests
 @section How do I tell Emacs to iconify itself?
-@cindex Iconification under X Windows
-@cindex X Windows and iconification
+@cindex Iconification under the X Window System
+@cindex X Window System and iconification
 @cindex Suspending Emacs
 
-@kbd{C-z} iconifies Emacs when running under X Windows and suspends Emacs
+@kbd{C-z} iconifies Emacs when running under X and suspends Emacs
 otherwise.  @inforef{Misc X, Misc X, emacs}.
 
 @node Using regular expressions, Replacing text across multiple files, Forcing Emacs to iconify itself, Common requests
@@ -2526,7 +2527,7 @@ MS-DOS files as they are loaded and saved, allowing you to ignore the
 different conventions that Unix and MS-DOS have for delineating the end
 of a line.
 
-@node Filling paragraphs with a single space,  , Editing MS-DOS files, Common requests
+@node Filling paragraphs with a single space,  Escape sequences in shell output, Editing MS-DOS files, Common requests
 @section How can I tell Emacs to fill paragraphs with a single space after each period?
 @cindex One space following periods
 @cindex Single space following periods
@@ -2540,6 +2541,28 @@ following two lines to your @file{.emacs} file:
 (setq sentence-end-double-space nil)
 @end lisp
 
+@node Escape sequences in shell output, , Filling paragraphs with a single space, Common requests
+@section Why do I get these strange escape sequences when I run
+@code{ls} from the Shell mode?
+@cindex Escape sequences in @code{ls} output
+@cindex @code{ls} in Shell mode
+
+This happens because @code{ls} is aliased to @samp{ls --color} in your
+shell init file.  You have two alternatives to solve this:
+
+@itemize @bullet
+@item
+Make the alias conditioned on the @code{EMACS} variable in the
+environment.  When Emacs runs a subsidiary shell, it exports the
+@code{EMACS} variable with the value @code{t} to that shell.  You can
+unalias @code{ls} when that happens, thus limiting the alias to your
+interactive sessions.
+
+@item
+Install the @code{ansi-color} package (bundled with Emacs 21.1 and
+later), which converts these ANSI escape sequences into colors.
+@end itemize
+
 @c ------------------------------------------------------------
 @node    Bugs and problems, Compiling and installing Emacs, Common requests, Top
 @chapter Bugs and problems
@@ -3005,7 +3028,7 @@ programs, then removing the access.  This reduces the risk somewhat by
 narrowing the time window when hostile users would have access, but
 @emph{does not eliminate the risk}.
 
-On most computers running Unix and X Windows, you enable and disable
+On most computers running Unix and X, you enable and disable
 access using the @code{xhost} command.  To allow all hosts access to
 your X server, use
 
@@ -3467,7 +3490,7 @@ Emacs 19 and Epoch, an X-aware version of Emacs 18.
 
 Emacs (i.e., the version distributed by the FSF) has a larger installed
 base and now always contains the MULE multilingual facilities.
-XEmacs can do some clever tricks with X Windows, such as
+XEmacs can do some clever tricks with X and MS-Windows, such as
 putting arbitrary graphics in a buffer.  Similar facilities have been
 implemented for Emacs as part of a new redisplay implementation for
 Emacs 21, and are available in the latest Emacs releases.
@@ -3594,9 +3617,19 @@ For information on Emacs for Windows 95 and NT, read the FAQ produced by
 @section Where can I get Emacs for my PC running OS/2?
 @cindex OS/2, Emacs for
 
-Emacs 19.33 is ported for emx on OS/2 2.0 or 2.1, and is available at
+Emacs 20.6 is ported for emx on OS/2 2.0 or 2.1, and is available at
+
+@uref{ftp://hobbes.nmsu.edu/pub/os2/apps/editors/emacs/e206*.zip}
+
+@noindent
+and also at
+
+@uref{http://archiv.leo.org/pub/comp/os/os2/leo/gnu/emacs%2d20/}
+
+Instructions for installation, basic setup, and other useful information
+for OS/2 users of Emacs can be found at
 
-@uref{ftp://hobbes.nmsu.edu/pub/os2/apps/editors/emacs/v19.33/}
+@uref{http://userpage.fu-berlin.de/~oheiabbd/emacs/emacs206-os2.html}
 
 @node Emacs for Atari ST, Emacs for the Amiga , Emacs for OS/2, Finding Emacs and related packages
 @section Where can I get Emacs for my Atari ST?
@@ -4199,9 +4232,9 @@ For information on what Emacs does every time it is started, see the
 @file{lisp/startup.el} file.
 
 @node Using function keys under X, Working with function and arrow keys, Terminal setup code works after Emacs has begun, Key bindings
-@section How do I use function keys under X Windows?
+@section How do I use function keys under X?
 @cindex Function keys
-@cindex X Windows and function keys
+@cindex X Window System and function keys
 @cindex Binding function keys
 
 With Emacs 19, functions keys under X are bound like any other key.  @xref{Binding keys to commands}, for details.