@end ifnottex
If you build Emacs for MS-DOS, the binary will also run on Windows
-3.X, Windows NT, Windows 9X/ME, Windows 2000/XP, or OS/2 as a DOS
+3.X, Windows NT, Windows 9X/ME, or Windows 2000/XP as a DOS
application; all of this chapter applies for all of those systems, if
you use an Emacs that was built for MS-DOS.
@cindex characters in file names
This is an alist that says how to translate characters in file names.
For instance, if @samp{:} is invalid as a file character in file names
-on your system (you OS/2 user you), you could say something like:
+on your system (you MS Windows user you), you could say something like:
@lisp
@group
@end group
@end lisp
-In fact, this is the default value for this variable on OS/2 and MS
+In fact, this is (part of) the default value for this variable on MS
Windows (phooey) systems.
@item gnus-hidden-properties
@item viper-glob-function
The value of this variable is the function symbol used to expand wildcard
symbols. This is platform-dependent. The default tries to set this variable
-to work with most shells, MS Windows, OS/2, etc. However, if it
+to work with most shells, MS Windows, etc. However, if it
doesn't work the way you expect, you should write your own.
Use @code{viper-glob-unix-files} and @code{viper-glob-mswindows-files} in
@file{viper-util.el} as examples.
:sibling-args (:help-echo "\
The X11 Window System.")
x)
- (const :format "PM "
- :sibling-args (:help-echo "\
-OS/2 Presentation Manager.")
- pm)
(const :format "W32 "
:sibling-args (:help-echo "\
MS Windows.")
(t 'viper-glob-unix-files) ; presumably UNIX
)
"Expand the file spec containing wildcard symbols.
-The default tries to set this variable to work with Unix, Windows,
-and OS/2.
+The default tries to set this variable to work with Unix or MS Windows.
However, if it doesn't work right for some types of Unix shells or some OS,
the user should supply the appropriate function and set this variable to the
;; Compiler pacifier
(defvar viper-overriding-map)
-(defvar pm-color-alist)
(defvar viper-minibuffer-current-face)
(defvar viper-minibuffer-insert-face)
(defvar viper-minibuffer-vi-face)
(if fp (cdr fp)
,variable)))))
-;; OS/2
-(cond ((eq (viper-device-type) 'pm)
- (fset 'viper-color-defined-p
- (lambda (color) (assoc color pm-color-alist)))))
-
-
;; cursor colors
(defun viper-change-cursor-color (new-color &optional frame)
(if (and (viper-window-display-p) (viper-color-display-p)
:type 'integer)
(defvar nnheader-read-timeout
- (if (string-match "windows-nt\\|os/2\\|cygwin"
- (symbol-name system-type))
+ (if (memq system-type '(windows-nt cygwin))
;; http://thread.gmane.org/v9655t3pjo.fsf@marauder.physik.uni-ulm.de
;;
;; IIRC, values lower than 1.0 didn't/don't work on Windows/DOS.
Shorter values mean quicker response, but are more CPU intensive.")
(defcustom nnheader-file-name-translation-alist
- (let ((case-fold-search t))
- (cond
- ((string-match "windows-nt\\|os/2\\|cygwin"
- (symbol-name system-type))
- (append (mapcar (lambda (c) (cons c ?_))
- '(?: ?* ?\" ?< ?> ??))
- (if (string-match "windows-nt\\|cygwin"
- (symbol-name system-type))
- nil
- '((?+ . ?-)))))
- (t nil)))
+ (if (memq system-type '(windows-nt cygwin))
+ (mapcar (lambda (c) (cons c ?_)) '(?: ?* ?\" ?< ?> ??)))
"Alist that says how to translate characters in file names.
For instance, if \":\" is invalid as a file character in file names
on your system, you could say something like:
:group 'imap
:type 'string)
-(defcustom imap-read-timeout (if (string-match
- "windows-nt\\|os/2\\|cygwin"
- (symbol-name system-type))
+(defcustom imap-read-timeout (if (memq system-type '(windows-nt cygwin))
1.0
0.1)
"How long to wait between checking for the end of output.
(defalias 'pop3-accept-process-output 'nnheader-accept-process-output)
;; Borrowed from `nnheader.el':
(defvar pop3-read-timeout
- (if (string-match "windows-nt\\|os/2\\|cygwin"
- (symbol-name system-type))
+ (if (memq system-type '(windows-nt cygwin))
1.0
0.01)
"How long pop3 should wait between checking for the end of output.
(perldb (read-from-minibuffer "Run perldb (like this): "
(if (consp gud-perldb-history)
(car gud-perldb-history)
- (concat "perl " ;;(file-name-nondirectory
- ;; I have problems
- ;; in OS/2
- ;; otherwise
+ (concat "perl "
(buffer-file-name)))
nil nil
'(gud-perldb-history . 1))))
(if not-loner
(/ (* (- frheight 3) cperl-max-help-size) 100)
(setq char-height (frame-char-height))
- ;; Non-functioning under OS/2:
(if (eq char-height 1) (setq char-height 18))
;; Title, menubar, + 2 for slack
(- (/ (display-pixel-height) char-height) 4)))
(setq pos (point))
(goto-char 1)
(setq rel file)
- ;; On case-preserving filesystems (EMX on OS/2) case might be encoded in properties
+ ;; On case-preserving filesystems case might be encoded in properties
(set-text-properties 0 (length rel) nil rel)
(and (equal topdir (substring rel 0 (length topdir)))
(setq rel (substring file (length topdir))))
(t
(goto-char 1)
(setq rel file)
- ;; On case-preserving filesystems (EMX on OS/2) case might be encoded in properties
+ ;; On case-preserving filesystems case might be encoded in properties
(set-text-properties 0 (length rel) nil rel)
(and (equal topdir (substring rel 0 (length topdir)))
(setq rel (substring file (length topdir))))
((eq system-type 'windows-nt) "Windows-NT; 32bit")
((eq system-type 'ms-dos) "MS-DOS; 32bit")
((memq (url-device-type) '(win32 w32)) "Windows; 32bit")
- ((eq (url-device-type) 'pm) "OS/2; 32bit")
(t
(pcase (url-device-type)
(`x "X11")
:group 'url
:type 'hook)
-;;; Make OS/2 happy - yeeks
-;; (defvar tcp-binary-process-input-services nil
-;; "*Make OS/2 happy with our CRLF pairs...")
-
(defconst url-working-buffer " *url-work")
(defvar url-gateway-unplugged nil
Emacs."
(unless url-setup-done
- ;; Make OS/2 happy
- ;;(push '("http" "80") tcp-binary-process-input-services)
-
(mailcap-parse-mailcaps)
(mailcap-parse-mimetypes)
file))
-;; Quote metacharacters (using \) when executing diff in Unix, but not in
-;; EMX OS/2
+;; Quote metacharacters (using \) when executing diff in Unix.
;;(defun ediff-protect-metachars (str)
-;; (or (memq system-type '(emx))
-;; (let ((limit 0))
-;; (while (string-match ediff-metachars str limit)
-;; (setq str (concat (substring str 0 (match-beginning 0))
-;; "\\"
-;; (substring str (match-beginning 0))))
-;; (setq limit (1+ (match-end 0))))))
+;; (let ((limit 0))
+;; (while (string-match ediff-metachars str limit)
+;; (setq str (concat (substring str 0 (match-beginning 0))
+;; "\\"
+;; (substring str (match-beginning 0))))
+;; (setq limit (1+ (match-end 0)))))
;; str)
;; Make sure the current buffer (for a file) has the same contents as the
byte-compilation may produce output like this:
While compiling toplevel forms in file ediff.el:
- ** reference to free variable pm-color-alist
+ ** reference to free variable zzz
........................
While compiling the end of the data:
** The following functions are not known to be defined: