mathematician1975

less info
491 reputation
215
bio website down
location UK
age 39
visits member for 1 year, 9 months
seen Apr 3 at 8:37

I am a former postdoctoral research mathematician, and now a C++ software developer on Linux and Windows.


Jul
31
comment Using ncurses for basic GUI on a process started inside an init script
@goldilocks It is a busybox init system. Unfortunately there is no rc.local file. I do not need it to be portable at all. I will try the autologin approach for the time being and pray that a nicer solution is possible
Jul
31
accepted What is the meaning of the errors from my cpio command?
Jul
31
comment What is the meaning of the errors from my cpio command?
@msw OK duly noted
Jul
31
asked Using ncurses for basic GUI on a process started inside an init script
Jul
31
comment What is the meaning of the errors from my cpio command?
thanks very much indeed for that comment - sudo id is root. If I call sudo find . | sudo cpio ... and omit the -c option then it works without any error. I never realised that I had to call sudo on both commands. I am still mystified why it worked without complaint in the past but I guess that is life. Thanks again for your help
Jul
31
comment What is the meaning of the errors from my cpio command?
Thanks for your answer. The second part I would agree with but I am calling this with sudo. And for the first part, why is it only starting to display these errors when it has been working without them in the past?
Jul
31
asked What is the meaning of the errors from my cpio command?
Jul
10
awarded  Yearling
Jul
2
comment My process was killed but I cannot understand the kernel notice
On a run of strace I see no ioctl() calls inbetween my calls of open and ioctl using TIOCGSERIAL . It really does appear that either the open call is setting the SAK, or that the busybox implementation of setserial does not work properly. When I open /dev/ttyS0 the ASYNC_SAK bit is certainly set.
Jul
2
awarded  Self-Learner
Jul
1
accepted My process was killed but I cannot understand the kernel notice
Jul
1
awarded  Teacher
Jul
1
accepted How can I find the Secure Attention Key (SAK) on my system and can I disable it?
Jul
1
answered My process was killed but I cannot understand the kernel notice
Jul
1
comment My process was killed but I cannot understand the kernel notice
I finally managed to find a code based solution and I posted it on stackoverflow. I will add this answer here but I will accept your answer as this enabled me to identify the how and why of it all. Many thanks
Jul
1
comment My process was killed but I cannot understand the kernel notice
Thankyou for your answer - it is very helpful. Unfortunately, when my application is opening the serial port, the sak that I just disabled gets re-enabled. I must be setting a particular flag combination that is re-enabling the SAK on /dev/ttyS0
Jun
28
revised My process was killed but I cannot understand the kernel notice
added 567 characters in body
Jun
27
asked How can I find the Secure Attention Key (SAK) on my system and can I disable it?
Jun
27
revised My process was killed but I cannot understand the kernel notice
added 358 characters in body
Jun
27
revised My process was killed but I cannot understand the kernel notice
added 7 characters in body