WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC 9.0 top of busybox ignores keys  (Read 502 times)

Offline TinyErestor

  • WikiUser
  • *
  • Posts: 15
TC 9.0 top of busybox ignores keys
« on: March 17, 2018, 02:50:12 AM »
Hello,

in TC 8.2 top could be made to quit be pressing q. The keys s and p switched between two views. Return caused an update.
In TC 9.0 all these keys are simply echoed to the terminal and read by the following program after top was killed, if that exists.

Regards.

Offline torsten_pf

  • WikiUser
  • *
  • Posts: 1
Re: TC 9.0 top of busybox ignores keys
« Reply #1 on: August 14, 2018, 04:10:46 AM »
Hello,

I have a similar behavior with our own programs. Only some of them react on key presses, most ignore the input. They all share the code to observe the keyboard input (via select() call) as it is a shared library.
On older versions of Tiny Core everything worked fine as well as on other Linux distributions (e.g. Ubuntu 16.04).

Torsten

Online Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5935
Re: TC 9.0 top of busybox ignores keys
« Reply #2 on: August 14, 2018, 06:15:22 AM »
Hi torsten_pf
According to this:
http://forum.tinycorelinux.net/index.php/topic,21746.msg136383.html#msg136383
the keyboard issue with  top  was resolved. Check your version of  busybox:
Code: [Select]
tc@box:~$ ls -l /bin/busybox
-rwxr-xr-x    1 root     root        497627 Mar 19 11:07 /bin/busybox
tc@box:~$
If it is dated prior to March 19 you are still booting the old  core.gz  file.