WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline TinyErestor

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

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.


Offline torsten_pf

  • WikiUser
  • *
  • Posts: 1
Re: TC 9.0 top of busybox ignores keys
« Reply #1 on: Today at 04:10:46 AM »

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).


Online Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5833
Re: TC 9.0 top of busybox ignores keys
« Reply #2 on: Today at 06:15:22 AM »
Hi torsten_pf
According to this:
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
If it is dated prior to March 19 you are still booting the old  core.gz  file.