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: Eli Zaretskii
Subject: Re: read a reply from the terminal
Date: Sun, 15 Jul 2007 20:19:03 +0300

> From: address@hidden (Johan =?utf-8?Q?Bockg=C3=A5rd?=)
> Date: Sun, 15 Jul 2007 15:49:01 +0200
> 
> Eli Zaretskii <address@hidden> writes:
> 
> >> From: Dan Nicolaescu <address@hidden>
> >> 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?
> >
> > If you know exactly how many bytes will the response include, I think
> > insert-file-contents should fit the bill.  Doesn't it?
> 
> How?

How what?  Sorry, I really don't understand the question.

In any case, Stefan suggested a different solution which Dan decided
to use.




reply via email to

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