[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #28628] Concurrent console and serial access
From: |
Gerald Villemure |
Subject: |
[bug #28628] Concurrent console and serial access |
Date: |
Sat, 16 Jan 2010 06:40:33 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) |
Follow-up Comment #1, bug #28628 (project grub):
Turn out a figure out a way that works good enough:
echo -e "nnTesting serial."
echo "If I see ESC from serial within 10 seconds"
echo "I will give over grub console to the serial port."
serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
terminal_input serial
terminal_output serial
#For some reason the "clear" command has been removed
echo -e "nnnnnnnnnnnnnnnnnnnnnnnnnnn"
echo -n "Press ESC within 10 second to take control of console "
if sleep -i -v 10 ; then
echo -e "nnnTimes up, going to console, sorry.nn"
terminal_input console
terminal_output console
else
terminal_output console
echo -e "nnConsole has gone over to the serial port."
terminal_output serial
fi
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?28628>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/