tenv("HOME") == NULL)
> +putenv((char *) "HOME=/");
> +
> putenv((char *) bb_PATH_root_path);
>
> What do you think?
>
> Regards,
> jkm
> ___
> busybox mailing list
> busybox@busybox.net
> htt
>
> Maybe adding a CONFIG_CHECK_VT_OPENQRY in order to make this check
> optional would be a good idea?
>
> Please share your thoughts.
>
> Regards,
> jkm
>
>
> _______
>
--
(add/remove: 0/1 grow/shrink: 2/1 up/down: 80/-108) Total: -28 bytes
textdata bss dec hex filename
7829227671528 82587 1429b busybox_old
7826427671528 82559 1427f busybox_unstripped
=--
paul fo
=--
paul fox, p...@foxharp.boston.ma.us (arlington, ma)
From 6b20114fb967022255749b55ca1611b797003bb8 Mon Sep 17 00:00:00 2001
From: Paul Fox
Date: Mon, 7 Mar 2022 11:35:28 -0500
Subject: [PATCH] crond: implement support for setting PATH in crontab files
It's very inconvenient
http://busybox.net/cgi-bin/mailman/listinfo/busybox
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
it in the usual shell idiom and write:
[ $foo ]
or
[ -n $foo ]
but this
[ x$foo != x ]
or this
[ x$foo != x ]
are just silly.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http
denys wrote:
On Monday 12 May 2008 23:06, Paul Fox wrote:
If you fell paranoid today (highly recommended),
add x to guard against less than ideal implementations of []
which can be confused by e.g. foo=-n :
[ x$foo = xbar ]
I have no experience of shells
prone.
Thoughts?
Cheers,
--
Cristian
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
=-
paul fox, [EMAIL PROTECTED
to happen.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
expressions. it only clarifies for those
not used to the more minimal idiom.
paul
p.s. green. the woodshed must be green, of course. any idiot
can see that. ;-)
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
- mkdir -p .tmpdir.$applet
+ mkdir -p .tmpdir.$applet || return 1
mkdir may report error when dir already exist - which
not mkdir -p.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox
[ -n $var ] is clear. [ $var ] is not.
it's exactly analogous to if (foo != 0) vs. if (foo).
it's all subjective. i'd probably have to look up -n. :-)
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox
as:
pwd=$(pwd)
: ${tsdir:=$pwd}
: ${bindir:=${pwd%/*}}
Just sayin'... :-)
I'm assuming this script is declared #!/bin/bash at the top, due to all
the bashisms it uses?
and if so, one could use $PWD.
: ${tsdir:=$PWD}
: ${bindir:=${PWD%/*}}
paul
=-
paul
denys wrote:
On Friday 04 April 2008 11:27, Michele Sanges wrote:
Il giorno ven, 28/03/2008 alle 09.06 -0400, Paul Fox ha scritto:
is the proper solution simply to open it twice, once for reading,
and once for writing? this guarantees a writer (which will never
write anything
for reading,
and once for writing? this guarantees a writer (which will never
write anything).
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
understand. whose swaponoff.c are you running, if not busybox's?
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
)
check that they all look right.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
it in. not much thought went into it.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
is pretty ancient, so who knows, maybe it's a known
problem, but if so probably no one remembers it anymore.
but mainly, this doesn't sound like a busybox problem. sounds
like a PATH issue.
paul
=-
paul fox, [EMAIL PROTECTED
rob or erik is still on the list, can you
tell us anything more? do we even get a woohoo, we won another
one! message? :-)
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin
? make it configurable? put
it inside a developer-only ifdef of some sort?
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
this code? make it configurable? put
it inside a developer-only ifdef of some sort?
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
bad has
happened.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
they do not do it. So default .config should replicate
itself in busybox and those want to minimize the footprint would
disable the option.
What do you think about?
i believe what you want is already present, in the bbconfig applet:
CONFIG_BBCONFIG=y
=-
paul fox
[ moving this back to the list ]
2008/3/6, Paul Fox [EMAIL PROTECTED]:
I think busybox --config should show the original .config content
from which has been generate (better if stored in compressed form).
Kernel use .config too but share it via /proc (for obvious reasons). I
was vi's internal
help text.) this may make it more obvious that the '-c' option
exists.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
be a pnm utility to
convert pnm images to raw rgb data, though i don't think there
was, last time i looked -- i had to write my own pnmto565.c (which
looked much like your drawimage() routine).
paul
=-
paul fox, [EMAIL PROTECTED
.
in fact, the code from the current bbsplash patch is obviously for
a 565 display:
+ thispix = (((short)pix[0] 8) 0xf800)
+ | (((short)pix[1] 3) 0x07e0)
+ | ((short)pix[2] 3);
+
paul
=-
paul
that i've upgraded all of my machines
to recent ubuntu releases, and pdq isn't apt-available, i'm running
CUPS, and it sure feels complicated in comparison to pdq.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox
vda wrote:
On Thursday 14 February 2008 14:50, Paul Fox wrote:
# ls -l /dev/null
crwxrwxrwx1 root root 1, 3 Feb 14 07:04 /dev/null
# gcc file.c -o /dev/null
/tmp/ccopqxnU.o: In function `main':
file.c:(.text+0x1d): undefined reference
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
)
+ dc_G:
dot = end - 1; // assume E-O-F
if (cmdcnt 0) {
dot = find_line(cmdcnt);// what line is #cmdcnt
=-
paul fox, [EMAIL PROTECTED
Hello all!
On Monday 04 February 2008 17:39:58 Paul Fox wrote:
how does a user-level daemon provide a nice user experience? don't
you still need kernel splash support in order to fill the screen
until you get past init?
Assuming that getting up to init is fast enough (less
daemon provide a nice user experience? don't
you still need kernel splash support in order to fill the screen
until you get past init?
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http
a clue as to what's being run.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
it goes ...
-mike
and/or, perhaps if roy could build with -g, he could assist in
debugging. of, send the executable to someone who can run gdb.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http
supports? i simply don't know, having never used BPF, and i'm
wondering whether this needs to be configurable.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
was correct.)
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
into
non-fancy, where it belongs, fancy keys only saves 198 bytes. given
the savings, and the high cost of having editing at all, i think
we should remove the CONFIG check altogether.
any objections to me doing that?
paul
=-
paul fox, [EMAIL PROTECTED
characters.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
On Monday 10 December 2007 11:01, Paul Fox wrote:
it seems that renice +N pid no longer works. i assume it's
supposed to, though the usage message doesn't mention this
syntax.
i started trying to debug it, but i confess the innards of
xatoi_num_template.c were awfully scary
);
+ bb_error_msg(You need to specify whom to kill);
return EXIT_FAILURE;
}
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
.
thanks!
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
ls svn://svn.uclibc.org/tags
thanks! i hadn't really understood the pathname nature of tags
and branches before. i was trying too hard to make it act like
CVS. :-)
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
to return a dangling linkname. i'll fix this too.
thanks for your comments.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
= xrealloc(buf, bufsize);
lpc = bb_get_last_path_component_strip(buf);
strcpy(lpc, linkpath);
free(linkpath);
}
}
}
=-
paul fox, [EMAIL PROTECTED
sense.
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
On Tuesday 06 November 2007 19:55, Paul Fox wrote:
is there any reason that passwd and chpasswd shouldn't follow
symlinks to find /etc/passwd?
i have a patch to allow this, and although i've written it with a
CONFIG item to protect the change, i'm wondering
it tries to renew the address, the server will NAK the request,
and the script will be so informed.
with $1==renew?
when the client is in (or probably, when it enters) the renew state.
it sounds like you'd benefit from reading a DHCP protocol overview.
paul
=-
paul fox, [EMAIL
an overview of the dhcp protocol.
your questions (though good ones) are going beyond the scope of
this list, i'm afraid. (short answer: the lease won't expire if your
client keeps renewing it.)
paul
=-
paul fox, [EMAIL PROTECTED
).
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
is updated.
+
config SU
bool su
default n
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
), ret);
}
is the return value from a failed __NR_init_module actually useful?
it looks more like leftover debugging output.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net
On Tuesday 11 September 2007 05:01, Paul Fox wrote:
On Mon, Sep 10, 2007 at 10:40:11PM +0200, Natanael Copa wrote:
It would be a lot easier for me to have the ip application in the same
place as the original iproute2. In fact it makes things alot more easy
to have
init.d script -- just move the ip app,
or create a new link to it.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
=
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin BB_ADDITIONAL_PATH;
const int const_int_0;
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
in vi.c
:set noflash
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
On Wednesday 05 September 2007 22:38, Natanael Copa wrote:
On Wed, 2007-09-05 at 14:48 -0400, Paul Fox wrote:
currently,
busybox find / /boot -xdev
gives no output at all, rather than giving equivalent of
find / -xdev; find /boot -xdev
...
Does this need
files without prompting\n \
-p Send output to stdout\n \
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
= exec_actions(actions, fileName, statbuf);
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
TFTP_MAXTIMEOUT) {
+ waittime = TFTP_MAXTIMEOUT;
+ }
+
goto send_again; /* resend last sent pkt */
default:
bb_perror_msg(select);
=-
paul fox, [EMAIL
On Wed, 2007-09-05 at 17:20 -0400, Paul Fox wrote:
currently the busybox tftp client will retry forever, due
to a misplaced reinitialization of the retry counter.
should this be added to fixes-1.7.0?
perhaps the infinite timeout should be fixed, but the backoff
part isn't critical
does is
emit the previously mentioned escape sequence. ( ESC [ 9 ; 0 ] )
TERM=linux setterm -blank 0 | hexdump -C
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin
How am I supposed to switch off console blanking then?
In a bootscript?
send the escape sequence to the correct tty, e.g.:
echo esc-sequence /dev/tty0
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox
attached you will find a drop in replacement
for chpasswd.c with some more busyboxification
does this mean that passwd no longer needs the ability to
take a password on stdin? there was a thread on that topic
a week or two ago.
paul
=-
paul fox, [EMAIL PROTECTED
never be called ex. :-)
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman
the interrupt signal, in order to restore the tty the way it found it,
but many do not.
in the meantime, stty echo will reenable echo. a good command
to use is stty sane, which restores most (all?) of the default
tty settings.
paul
=-
paul fox, [EMAIL PROTECTED
be applicable
(to some extent) to ash.
am i way off base on this?
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
compilation? then
you could play games with that section for each applet, without
breaking the any bss from other common files that isn't supposed
to be merged.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox
a trace file to
understand what's happening.
i agree. the current init behavior is clearly broken.
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo
well it
works? if the space were available, would using the real
dpkg be a better idea?
paul
=-
paul fox, [EMAIL PROTECTED]
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
from global
cleanups) in quite a long time. dpkg.c, however, has been
getting recent bugfixes.
can anyone with recent experience comment on how well it
works? if the space were available, would using the real
dpkg be a better idea?
paul
=-
paul fox, [EMAIL PROTECTED
77 matches
Mail list logo