Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mit-eddie.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!rms@mit-prep From: rms@mit-prep Newsgroups: net.emacs Subject: GNU Emacs send-string-to-terminal Message-ID: <4344@mit-eddie.UUCP> Date: Fri, 24-May-85 22:27:32 EDT Article-I.D.: mit-eddi.4344 Posted: Fri May 24 22:27:32 1985 Date-Received: Sat, 25-May-85 12:10:44 EDT Sender: daemon@mit-eddi.UUCP Organization: MIT, Cambridge, MA Lines: 26 From: Richard M. Stallman The function write-char output to an output stream; by default, it outputs to the string "in the minibuffer". It outputs control characters the same way they display in the buffer. The development version of GNU Emacs has send-string-to-terminal. If you need it and don't want to wait for the next distribution, insert the following code into dispnew.c DEFUN ("send-string-to-terminal", Fsend_string_to_terminal, Ssend_string_to_terminal, 1, 1, 0, "Send STRING to the terminal without alteration.\n\ Control characters in STRING will have terminal-dependent effects.") (str) Lisp_Object str; { CHECK_STRING (str, 0); fwrite (XSTRING (str)->data, 1, XSTRING (str)->size, stdout); fflush (stdout); return Qnil; } You must also add defsubr (&Ssend_string_to_terminal); in syms_of_dispnew