Thien-Thi Nguyen | 1 Mar 2010 13:37
Favicon

Re: Creating modem process and receiving output of AT commands

() 白い熊 <emacs-devel_gnu.org <at> sumou.com>
() Mon, 01 Mar 2010 13:05:55 +0300

  (defun nokia-n900-send-output-keep (process output)
    (setq nokia-n900-send-output-kept (cons output nokia-n900-send-output-kept)))

Probably you want to add output to the tail, not the head.

   But running (testos), it doesn't even get to sending the first `at\r'.

What does that mean, precisely?  Does Emacs signal an error?

   I think the reason is [...].

It's possible that \r is being mangled.
See `process-coding-system-alist' (and friends).

You should make sure the subprocess sees what Emacs is purporting to send,
first, before worrying about whether or not Emacs sees what the subprocess
outputs.

thi


Gmane