annotate etc/MSDOS @ 24:4103f0995bd7 r19-15b95

Import from CVS: tag r19-15b95
author cvs
date Mon, 13 Aug 2007 08:51:03 +0200
parents 376386a54a3c
children cca96a509cfe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 XEmacs does not yet work under MSDOS. If you would be interested in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 porting XEmacs to MSDOS, please contact Chuck Thompson <cthomp@xemacs.org>.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 The following information applies to FSF Emacs, not to XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 ---------------------------------------------------------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 This file describes use of Emacs 19 on MS-DOG.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 * The commands `mode25' and `mode4350' change the number of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 lines of the screen. You get 43 lines on an EGA monitor, 50 on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 a VGA monitor.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 * Ctrl-Break takes the place of C-g. Using compilers prior to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 djgpp 1.11 maint 5, you should not use Ctrl-Break unless you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 run under DPMI (i.e., you are using Windows, Qdpmi, ...)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 Actually, if Emacs is in an endless loop, you might as well go
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 ahead and try. Usually it works, but sometimes Emacs crashes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 with a stack trace. This is not an Emacs bug.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 * Character codes 0200-0237 are self-inserting.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 * The keyboard support is made as X-like as possible. This means
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 that events like M-S-f1 will be generated (by Shift + Alt + f1).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 * Mouse support is partially implemented.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 * The `compile' command works on MS-DOG, but it waits for the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 compilation to finish before letting you edit again. There's no other
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 way to do it, given the lack of asynchronous processes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 * The function `expand-file-name' maps upper case letters to lower
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 case letters, since MS-DOG does not distinguish.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 * The new buffer-local variable `buffer-file-type' controls whether a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 file contains text (newlines will be written as CR+LF) or binary data
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 (newlines written as LF). Text is specified by nil, and binary by t.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 The status of a buffer can be seen in the mode line as "T:" or "B:"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 before the major mode.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 Normally `buffer-file-type' is set automatically from the variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 `file-name-buffer-file-type-alist' which is an alist mapping regexps
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 to file types.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 You can visit a file explicitly as text, or as binary, using the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 commands `find-file-binary' and `find-file-text'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 * New variables `binary-process-input' and `binary-process-output'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 control whether temporary files are opened as binary or as text
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 files. nil means text, and t means binary. The difference is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 translation of CR+LF to LF and C-z handling.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 * Environment variables "HOME", "EMACSPATH", "TERM", "SHELL",
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 "USER", "NAME", and "TZ" are given default values as suitable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 for a single user system. See src/msdos.c for details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 * The function `substitute-in-file-name' disregards case in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 environment variables, as the MS-DOG SET command does.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 * The variable `msdos-shells' contains a list of commands that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 are shells. This variable is used to convert to map Unix-like
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 commands like "$SHELL -c /some/command" to MS-DOG commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 like "$SHELL /c \some\command".