[Top][All Lists]

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

read a reply from the terminal

From: Dan Nicolaescu
Subject: read a reply from the terminal
Date: Fri, 13 Jul 2007 19:42:51 -0700

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?

The reason I want this is because I want to enable 
"modifyOtherString" at runtime in term/xterm.el (it can be done by
sending an escape sequence to the terminal).

But not all terminals that set TERM to xterm support
modifyOtherString. By querying the terminal I can find out if it is
indeed an xterm and send the escape sequence to enable

reply via email to

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