Get back <ctrl c> usage on a /dev/console tty
At the general request of some, find
below the diff of the patch..
As you can see, most of it is comment..
just add platforms, as desired.
--- tty_io.c 2004-10-15
12:25:33.000000000 +0200
+++ /home/olivier/pxp/PrintExpress/PrintOS/drivers/char/tty_io.c
2005-03-04 12:22:08.000000000 +0100
@@ -1379,7 +1379,18 @@
continue;
/*
Don't let /dev/console block */
filp->f_flags
|= O_NONBLOCK;
+
/*
Od: (Olivier Delouya - olivier_delouya@hotmail.com)*/
+
/*
- Jan 11 05 - control terminal hack! */
+
/*
normally we are denied of a control terminal */
+
/*
because we use the generic /dev/console as device */
+
/*
for stdin, since it exists on all our managed */
+
/*
platforms.. as a result, we don't have job control*/
+
/*
enabled and above all the <ctrl C> to abort a task*/
+
/*
which is just a nightmare.. Gently let noctty at */
+
/*
its computed value, it was awright! */
+
#if
!defined (CONFIG_ARCH_BAGHEERA) && !defined (CONFIG_ARCH_CAMELOT)
noctty
= 1;
+
#endif
goto
got_driver;
}
return -ENODEV;
Reply to: