Quote:
Originally Posted by irreld
Top command needs extra terminal definition files in /usr/share/terminfo since 5.6.x on my PW2. Maybe @NiLuJe should include then in his USBNetworking hack.
Bought usb-ttl cable, preparing my soldering iron, and swear not to be so stupid again. 
|
It should not in single pass batch mode - use the: -bn1 option shown.
Plus - it is included in USBnetworking (to support htop and nano) -
Code:
[root@kindle us]# find . -name terminfo
./usbnet/etc/terminfo
[root@kindle us]# ls -ld /usr/bin/top /usr/bin/htop /usr/share/terminfo
lrwxrwxrwx 1 root root 23 Dec 31 2014 /usr/bin/htop -> /mnt/us/usbnet/bin/htop
-rwxr-xr-x 1 root root 48771 Apr 15 2015 /usr/bin/top
drwxr-xr-x 6 root root 1024 Apr 15 2015 /usr/share/terminfo
So you should be able to fix Amazon's goof-up by (**WITHOUT** having USB exported in USB storage mode):
Code:
mntroot rw
cd /usr/share
ln -s /mnt/us/usbnet/etc/terminfo .
mntroot ro
PS: There are alternatives to soldering posted.