Re: Ctrl C in linux-2.4.20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 26 September 2005 02:00, Aashima wrote:
> Hi ,
> I am running linux-2.4.20 on a MPC8260 board. Strangely , Ctrl-C /Ctrl- 
> Z doesn't work on it. The output of stty is :
> 
> stty -a
> speed 9600 baud; rows 0; columns 0; line = 0;
> intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
[snip]
>  
> Then I tried CTRL-H, CTRL-B, CTRL-D, it all worked.
> 
> 
> Through some net research , I uncommented ioctl(0, TIOCSPGRP, &pid) in the sources of mingetty.c, and try again with in file  /etc/inittab
> 
> S0:234:respawn:/sbin/mingetty --noclear --long-hostname console 9600 vt100
> But even this didn't work out.

Looks like you are using /dev/console.  I am fairly certain ctrl-C (intr) doesn't
work on /dev/console.  For full tty support use one of the virtual consoles (e.g. /dev/tty1)
or, as I suspect you need, a serial device (e.g. /dev/ttyS0)


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux