Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Starks-Browning <starksb@ebi.ac.uk>2002-11-13 03:23:18 +0300
committerDavid Starks-Browning <starksb@ebi.ac.uk>2002-11-13 03:23:18 +0300
commite0900ffdb5a77455dcca22e60b69dc803c7d42e0 (patch)
tree89c57d61f72ad6f4877e377330c8780e3d9feabf /winsup/doc
parent2d210c7fd118818417ab0f5205fd7b0b16cf6d0e (diff)
Update Emacs-related entries (new Cygwin port, details on XEmacs ports)
Diffstat (limited to 'winsup/doc')
-rw-r--r--winsup/doc/how-using.texinfo48
1 files changed, 30 insertions, 18 deletions
diff --git a/winsup/doc/how-using.texinfo b/winsup/doc/how-using.texinfo
index e79d722f0..ed5319a47 100644
--- a/winsup/doc/how-using.texinfo
+++ b/winsup/doc/how-using.texinfo
@@ -86,8 +86,8 @@ Just tell bash where to find it, when you type it on the command line:
@subsection How do I convert between Windows and UNIX paths?
-Use the 'cygpath' utility. Type '@code{cygpath}' with no arguments to
-get usage information. For example (on my installation):
+Use the 'cygpath' utility. Type '@code{cygpath --help}' for
+information. For example (on my installation):
@example
bash$ cygpath --windows ~/.bashrc
D:\starksb\.bashrc
@@ -595,15 +595,26 @@ contents are exempt from scanning. In a default installation, this
would be @samp{@code{C:\cygwin\bin}}. Obviously, this could be
exploited by a hostile non-Cygwin program, so do this at your own risk.
-@subsection How do I run bash as a shell under NT Emacs?
+@subsection Is there a Cygwin port of GNU Emacs?
+
+Yes! It uses the X11 (@file{http://cygwin.com/xfree/}) Windows
+interface. From a remote login shell, this ``emacs -nw'' works fine.
+There is also a non-X11 version which just provides the text-only
+terminal interface. Use Cygwin Setup to install either one (or both).
+
+@subsection What about NT Emacs?
+
+If you want GNU Emacs with a native Microsoft Windows interface, but
+without X, then you must use the native Windows port, commonly known
+as ``NT Emacs''. You get NT Emacs from any GNU mirror. It is not
+available from Cygwin Setup.
-The Windows port of GNU Emacs (aka "NT emacs") uses the Windows command
-shell by default. Also, since Emacs is not a Cygwin application, it has
-no knowledge of Cygwin mounts. With those points in mind, you need to
-add the following code to your ~/.emacs or ~/_emacs file in order to use
-bash. This is particularly useful for the JDEE package
-(@file{http://jdee.sunsite.dk/}). The following settings are for
-Emacs 21.1:
+NT Emacs uses the Windows command shell by default. Since it is not a
+Cygwin application, it has no knowledge of Cygwin mounts. With those
+points in mind, you need to add the following code to your ~/.emacs
+(or ~/_emacs) file in order to use Cygwin bash. This is particularly useful
+for the JDEE package (@file{http://jdee.sunsite.dk/}). The following
+settings are for Emacs 21.1:
@example
;; This assumes that Cygwin is installed in C:\cygwin (the
@@ -628,16 +639,17 @@ Emacs 21.1:
'comint-strip-ctrl-m)
@end example
-@subsection Is there a Cygwin port of GNU Emacs?
-
-No. If you want NT Emacs to understand Cygwin paths, get
+If you want NT Emacs to understand Cygwin paths, get
cygwin-mount.el from @file{http://www.emacswiki.org/elisp/index.html}.
-If you want to run ``emacs -nw'', say from a remote login shell, you
-can't. (The error is ``emacs: standard input is not a tty''.)
-Instead, use a Cygwin version of XEmacs, from
-@file{http://www.xemacs.org/}. Using ``xemacs -nw'' from a remote
-shell works fine.
+Note that all of this ``just works'' if you use the Cygwin port of
+Emacs from Cygwin Setup.
+
+@subsection What about XEmacs?
+
+For a concise description of the current situation with XEmacs, see
+this message from the Cygwin mailing list:
+@file{http://cygwin.com/ml/cygwin/2002-11/msg00609.html}.
@subsection info error "dir: No such file or directory"