Re: [OpenWrt-Devel] [PATCH procd 3/8] Fix curses applications to work with procd

2014-10-03 Thread Stam, Michel [FINT]
lto:g...@greenie.muc.de] Sent: Friday, October 03, 2014 16:16 PM To: Stam, Michel [FINT] Cc: openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH procd 3/8] Fix curses applications to work with procd Hi, On Thu, Oct 02, 2014 at 02:56:18PM +0200, Michel Stam wrote: > The problem wa

Re: [OpenWrt-Devel] [PATCH procd 3/8] Fix curses applications to work with procd

2014-10-03 Thread Gert Doering
Hi, On Thu, Oct 02, 2014 at 02:56:18PM +0200, Michel Stam wrote: > The problem was caused by procd not opening /dev/tty* (which ever was > specified in > /etc/inittab), causing /proc/PID/fd to point to /console instead. > /dev/console is a > non-controlling tty (CTTY), and cannot be used as one,

[OpenWrt-Devel] [PATCH procd 3/8] Fix curses applications to work with procd

2014-10-02 Thread Michel Stam
The problem was caused by procd not opening /dev/tty* (which ever was specified in /etc/inittab), causing /proc/PID/fd to point to /console instead. /dev/console is a non-controlling tty (CTTY), and cannot be used as one, which is exactly what curses applications want. Since this is very likely