Tux
Communication
Mailing lists
Documentation
User Manual
Target board info.
Target chip info.
Support
Linux support
Bugzilla
Downloads
STLinux
Updates
Search
Google


The web
stlinux.com
How To Guide
How to configure the distribution
Control-C on default console
ST Logo
Previous   Contents   Next


Control-C on default console

CTRL-C may not work when using a serial console. This is because, by default, the console is started using the device /dev/console, and any attempt to set the process group of this device will always fail. The easiest way to overcome this is to edit the file/etc/inittab:

host# cd /export/rootfs/<user> 
host# vi ./etc/inittab

Find the definition containing /sbin/getty console and comment it out (with an initial #). Then find the definitions containing /sbin/getty -L. If one of these includes the physical name of the console, for example ttyFW0, remove the comment character (#) from the beginning of the line and check that the baud rate and terminal type are correct. If not, add an appropriate line, for example:

FW0:2345:respawn:/sbin/getty ttyFW0

Note: The physical name of the console is the name passed to the kernel with the console= parameter.

Previous   Contents   Next
Valid HTML 4.01! Last updated: 2005/09/29 14:43:17
© Copyright STMicroelectronics Limited, 2005
Printer