Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: hagna on April 02, 2015, 06:30:28 PM
-
I don't want to use xset which is provided by Xorg or maybe Xlib according to tce-ab, because I am not using X.
I must get setterm so I can do this:
setterm -powersave off -blank 0
and turn console screenblanking off. It seems like there would be a /proc interface for this, oh well.
tce-ab says ncurses-doc provides setterm, but it doesn't. It also says util-linux does, but that give an ncurses error.
tc@box:~$ tce-load -i util-linux
sqlite3.tcz: OK
readline.tcz: OK
gdbm.tcz: OK
python.tcz: OK
libudev.tcz: OK
libcap-ng.tcz: OK
util-linux.tcz: OK
tc@box:~$ setterm
setterm: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
tc@box:~$
-
Your dep file is broken. Ncurses is a dep.
-
FYI, setterm sends terminal codes, which you can also do manually.
-
In case people from the future would like to know:
1. echo ^[[9;0] does the trick, and you make ^[ by pressing CTRL+V then ESC.
setterm -powersave off -blank 0 | hexdump -c will tell you the ANSI escape sequence to use.