[aklug] Regarding terminal input

From: Christopher Howard <choward@indicium.us>
Date: Mon Mar 09 2009 - 13:47:12 AKDT

At work we were able to sucessfully open terminal communication with our
robot over bluetooth (serial emulation) and we use the screen command,
like so:

         screen /dev/devicenameblablabla

What we were wondering was, is there are a way we could pipe in commands
from a file?

I tried the obvious

         ~/testfile | screen /dev/devicenameblablabla

But just got an error message like

         Must be connected to a terminal.

I can't just write directly to the device file (and I did try) because
(from what I understand) a terminal emulator is needed to control the
serial communication (baud rate and all that jazz).

Is there a way I can do this with screen or another term emulator? I
really do live inside the shell, but I do very little shell scripting or
advanced command-line work.

-- 
Christopher Howard
http://indicium.us
http://theologia.indicium.us
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Mon Mar 9 13:47:25 2009

This archive was generated by hypermail 2.1.8 : Mon Mar 09 2009 - 13:47:28 AKDT