in reply to Re: serial console
in thread serial console

I tried that. Apparently, Expect doesn't provide cursor control and that freaks out minicom.

Does anyone know a way to:

  1. make Expect provide cursor control (or the illusion thereof)
  2. make minicom Ok without cursor control
  3. find an alternative to minicom that doesn't require cursor control (needs to run on linux).

Replies are listed 'Best First'.
Re^3: serial console
by quester (Vicar) on Aug 16, 2007 at 08:06 UTC
    Actually, it's minicom that would be doing cursor control, by sending the escape sequences for whatever kind of terminal it thinks you are using. You might need to specify a valid terminal type in the environment, $ENV{TERM}="vt100" or "xterm" for instance. Ordinarily you can ignore the escape sequences coming back and look for printable characters that act as prompts. When you send to minicom, you would send exactly the same characters that would be sent by the keys you would press if you started minicom by hand.