Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: kanan on December 28, 2010, 12:12:54 PM
-
Hello all,
I'm just getting started with this awesome little distro. I was using the ab command from the shell. I'm running microcore. And I'm not sure it's a bug, but it feels like it may be.
When I go to install something, so I've already searched for the name, selected the number and it shows an info page. The only key that I can get to work is 'q'. And there's no instructions saying that I should press 'q', I just banged around on the keyboard until something worked. So I press 'q', then the menu displays, instructing me to press 'i' to install...and the program installs.
After I've installed one program, if I search for another, without leaving ab, I don't get shown the info page for the next program. I just get the menu...(the same menu I see after pressing 'q' with the first program)
I'm a LAMP programmer by trade but have worked with cpp before and would be happy to make the fix...If I'm on the right track here that is. I don't want to step on anyone's toes, or misdiagnose this as a bug when it's a "feature".
Thanks all, I'm really impressed with this distro and plan on using it on my next project. Great work guys!
-Kanan
-
Having to press 'q' is a feature (of less, to be exact), the extension info not showing for the second one would be a bug.
Patches welcome, anyways.
ab is a shell script, btw ;)
-
The subsequent .info not displaying was caused by the recent change to select in v3.4. The following will make ab once again work as expected.
--- /usr/bin/ab
+++ /mnt/sda1/core/micro/source/usr/bin/ab
@@ -56,8 +56,8 @@
D|d) displayDepends ;;
F|f) displayFiles ;;
L|l) selectItem ;;
- S|s) ITEM="" && searchRepository "$ITEM" && selectItem; displayInfo ;;
- P|p) ITEM="" && whatProvides "$ITEM" && selectItem; displayInfo ;;
+ S|s) ITEM="" && searchRepository "$ITEM" && selectItem && displayInfo ;;
+ P|p) ITEM="" && whatProvides "$ITEM" && selectItem && displayInfo ;;
Q|q) break ;;
*) displayInfo ;;
esac
-
Having to press 'q' is a feature (of less, to be exact)
more or less... :P
[Sorry, couldn't help it]
-
So do we want to put an instruction on there about the pressing 'q' thing?
I did look for the cpp source of appbrowser, found it for tinycore, but it looked to be mostly UI.
-
You might want to have a look at appbrowser-cli.tcz, if perhaps it serves you better.
-
This is where I was looking:
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/release/src/fltk_projects/appbrowser/
Where's the other file at?
-
Umm, use ab (at least once more) to load it?
-
lol, right. I thought for some reason by what you said that appbrowser was written as an extension, and appbrowser-cli.tcz was the source name.
Appbrowser really works fine for me now that I know the trick. I just wanted to help out and make the fix.
-
.tcz are always binary extensions (squash filesystems) ;)