still that annoing setterm
Lord Sidiuz
alastors at gmail.com
Wed Sep 7 01:57:19 UTC 2005
hello, ok I just going to answer some stuff
> when busybox is compiled without ls.
> But is this a situation that may
> really happen ? Do people
> rename bb to one of it's applet name
> except for a standalone ash ?
> (which is not a problem because
> `ash rm -r /` has the same effect
> as `busybox rm -r /` anyway)
>
> Aurel
oh yes i have renamed init, but I
don't mind tweakin the code.
so don't listen to me I will
manage to do things mi way
without problem.
> #define LOOKUP_STRING(x) bb_translatable_strings[x]
> const char *bb_translatable_strings[] = {
> "My hovercraft is full of eels\n",
> #define STR_HOVERCRAFT LOOKUP_STRING(0)
> "I vill not buy this tobacconist, eet is scratched.\n",
> #define STR_TOBACCONIST LOOKUP_STRING(1)
> "etc..."
> }
>
> There's probably a better way to do that,
> but you get the idea.
No I don't, I must be stupid.
Correction I am "slow", and newby.
> What's a "cartel"? The config help doesn't say.
> Is this a command you run?
sorry as I said earlier english is hard,
I tougth cartel was the same in english,
i mented banner, i think is banner.
is already fix in the new one but
the one send was the old one. sorry
> Ah, I see it in the code. Hmmm... possibly
> a better approach would be to
> use CONFIG_FEATURE_VERBOSE_USAGE for this?
yes you are absolutly rigth i will change that as
soon as i get to my house.
> The option parsing is likely to get completely
> rewritten
oh yes it will. i'll do it don't worry.
> , but just a hint: by
> "wich_one" do you mean "which_option"?
lol, yes
> If so, it helps to say. (A >reader of
> the function goes "one what"? It helps
> to have self-describing > code...)
sorry i'll do it better now
> If your setterm.h file isn't #included
> from anywhere other than that one .c
> file, then why not just have that be in
> the .c file? Um, hang on: it's never
> included from anywhere. And it just
> #defines a lot of constants that you
> never actually use...
fuck it didn't bellong in the diff i don't
know how it got there.
the thing is that I declared i macro i
gonna use in the next add to bb.
it probaly wont be liked
because it is gonna be large.
and if i see that it enlarges the binari
to much i wont even send it, cause it's
not a nessesary app.
> You can also edit the source code if you
> really really really really really
> want busybox to be called "bb", but unless
> you can explain what possible
> advantage doing that has there's no point
> in us adding a gratuitous config
> option that has no purpose.
yes i did it that way, it's easy.
> Your changes to ls are pretty clumsy.
ouch, ok yes they are, I'm still learning, so you
are going to see begginers stuff in my code sure
> The char * can be def right after if(show_color) {,
I don't like it that way but ok consider it done.
> and the last line of your #if case is the same as
> the entire body of your #else case. (And that's
> not even getting into the if(ENABLE_)
> infrastructure it seems I'm still debugging...)
????
improbing to be done.
now that i have some time i think i'll rewrite all
but really doing it, insted of doing it quickly
so everybody be happy.
> So all this does is save an ansi escape sequence
> in a variable?
> Rob.
yes, simple and effective ha ?
happy coding .
--
No corrijas al necio no sea cosa que te odie, corrije al sabio y te lo
agradecera.
Al que a buen árbol se arrima buena sombra lo cobija.
Lo mejor que podemos hacer por otro no es sólo compartir con él
nuestras riquezas, sino mostrarle las suyas.
More information about the busybox
mailing list