[fpc-pascal] Linux Questions
Rainer Stratmann
RainerStratmann at t-online.de
Tue Sep 19 15:11:53 CEST 2006
Hello,
does someone know how to lock the console output in Linux?
Here is a program that uses Framebuffer (Linux Runlevel 2).
It works, but it would be good to lock the console bevor writing to the
framebuffer and then to unlock the console at the end of the program.
I googled, but can not find a solution.
Has it to do with ioctl() calls on "/dev/tty" ?
Second question is how to mount and umount for example "/dev/sda1" in a fpc
program.
Thanks.
Rainer
More information about the fpc-pascal
mailing list