Function: browse-url-text-xterm

browse-url-text-xterm is an autoloaded, interactive and byte-compiled function defined in browse-url.el.gz.

Signature

(browse-url-text-xterm URL &optional NEW-WINDOW)

Documentation

Ask a text browser to load URL.

URL defaults to the URL around or before point. This runs the text browser specified by browse-url-text-browser. in an Xterm window using the Xterm program named by browse-url-xterm-program with possible additional arguments browse-url-xterm-args. The optional argument NEW-WINDOW is not used.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/browse-url.el.gz
;; --- Lynx in an xterm ---

;;;###autoload
(defun browse-url-text-xterm (url &optional _new-window)
  ;; new-window ignored
  "Ask a text browser to load URL.
URL defaults to the URL around or before point.
This runs the text browser specified by `browse-url-text-browser'.
in an Xterm window using the Xterm program named by `browse-url-xterm-program'
with possible additional arguments `browse-url-xterm-args'.
The optional argument NEW-WINDOW is not used."
  (interactive (browse-url-interactive-arg "Text browser URL: "))
  (apply #'start-process `(,(concat browse-url-text-browser url)
			   nil ,browse-url-xterm-program
			   ,@browse-url-xterm-args "-e" ,browse-url-text-browser
			   ,url)))