2008-10-09 Eli Zaretskii <eliz@gnu.org>
+ * frame.el (make-frame-on-tty): Use "F" inside interactive. Support
+ `pc' ``window-system''.
+
* progmodes/compile.el (compilation-start): Resurrect the version
for systems that don't support asynchronous subprocesses.
should be the terminal type string of TTY, for example \"xterm\"
or \"vt100\". The optional third argument PARAMETERS specifies
additional frame parameters."
- (interactive "fOpen frame on tty device: \nsTerminal type of %s: ")
+ ;; Use "F" rather than "f" to avoid reading from devices that don't
+ ;; like that.
+ (interactive "FOpen frame on tty device: \nsTerminal type of %s: ")
(unless tty
(error "Invalid terminal device"))
(unless type
(error "Invalid terminal type"))
- (make-frame `((window-system . nil) (tty . ,tty) (tty-type . ,type) . ,parameters)))
+ (if (eq window-system 'pc)
+ (make-frame `((window-system . pc) (tty . ,tty) (tty-type . ,type) . ,parameters))
+ (make-frame `((window-system . nil) (tty . ,tty) (tty-type . ,type) . ,parameters))))
(declare-function x-close-connection "xfns.c" (terminal))