emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read a reply from the terminal


From: Stefan Monnier
Subject: Re: read a reply from the terminal
Date: Sat, 14 Jul 2007 15:37:35 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> I trying to do: (send-string-to-terminal "\e[>0c") and read the string
> that the terminal sends back.  Can this be done reliably in elisp?

Something like

          (let ((coding-system-for-read 'binary))
            (read-event ...))

should give you what you want,


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]