Rev |
Age |
Author |
Path |
Log message |
Diff |
3651 |
5790 d 6 h |
jermar |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
Nits. |
|
3650 |
5790 d 6 h |
jermar |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
Several fixes for cp. |
|
3645 |
5791 d 7 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
cp: Fix counter if verbose, remove debug printfs |
|
3643 |
5791 d 8 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
cp: fix type mis-match |
|
3642 |
5791 d 8 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
make copy_file() deal with files with zero length |
|
3641 |
5791 d 8 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
cp: don't return CMD_FAILURE for zero length files |
|
3640 |
5791 d 9 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
Implement a rudamentary 'cp' for testing write() |
|
3534 |
5818 d 8 h |
svoboda |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
Fix bdsh/cat crash. Also fix error in zero-trailing the buffer. |
|
3487 |
5842 d 8 h |
post |
/trunk/uspace/app/bdsh/ |
No need to cast argv[] in try_exec() |
|
3483 |
5847 d 9 h |
post |
/trunk/uspace/app/bdsh/ |
Eliminate unused functions in util.c |
|
3481 |
5848 d 9 h |
post |
/trunk/uspace/app/bdsh/ |
More housecleaning in util.c, get rid of cli_psprintf() in favor of asprintf() before getting attached to the first. |
|
3480 |
5848 d 10 h |
post |
/trunk/uspace/app/bdsh/ |
cli_redup() should be size_t and return as such to avoid undefined behavior with large strings. |
|
3461 |
5860 d 10 h |
post |
/trunk/uspace/app/bdsh/ |
Fix prompt (AGAIN), sorry! |
|
3460 |
5860 d 10 h |
post |
/trunk/uspace/app/bdsh/ |
exec.c: try_access() should not be unsigned, found should be static |
|
3459 |
5860 d 10 h |
post |
/trunk/uspace/app/bdsh/ |
Fix prompt (whoops!) |
|
3434 |
5863 d 12 h |
post |
/trunk/uspace/app/bdsh/ |
Drop references to __HELENOS__ in config.h |
|
3420 |
5866 d 1 h |
post |
/trunk/uspace/app/bdsh/ |
Add skeletal sleep and cp commands (not yet working) |
|
3419 |
5866 d 1 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Fix bug in mknewcmd (incorrectly prototyping entry points) |
|
3418 |
5866 d 1 h |
post |
/trunk/uspace/app/bdsh/ |
cstyle |
|
3417 |
5866 d 1 h |
post |
/trunk/uspace/app/bdsh/ |
Fix quirks in config.h |
|
3414 |
5866 d 2 h |
post |
/trunk/uspace/app/bdsh/ |
Update README and mknewcmd to reflect changes in command entry points |
|
3413 |
5866 d 3 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Simplify entry types (and return values) for commands |
|
3411 |
5866 d 3 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
Take debug printfs out of cat |
|
3410 |
5866 d 4 h |
svoboda |
/trunk/ |
Introduce directories '/app' and '/srv' on ramdisk instead of '/sbin' to mirror source tree. |
|
3396 |
5870 d 8 h |
post |
/trunk/uspace/app/bdsh/ |
We need cli_set_prompt() in the main loop as modules are unaware of cliuser_t |
|
3378 |
5881 d 3 h |
post |
/trunk/uspace/app/bdsh/ |
main() - remove unused variable i |
|
3377 |
5881 d 3 h |
post |
/trunk/uspace/app/bdsh/ |
Let 'cd' invoke cli_set_prompt(), no need to do it in every iteration of the main loop. |
|
3376 |
5882 d 7 h |
post |
/trunk/uspace/app/bdsh/ |
Just make cli_count_args() a function |
|
3375 |
5883 d 5 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
long_options[] should be const where implemented |
|
3374 |
5883 d 7 h |
post |
/trunk/uspace/app/bdsh/ |
Drop inclusion of lib/ and lib/ustr in the Makefile (this completes housekeeping) |
|
3373 |
5883 d 7 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Rename non-standard extensions (cmd.def -> cmd_def.h) |
|
3372 |
5883 d 10 h |
post |
/trunk/uspace/app/bdsh/ |
More house cleaning, don't expose beyond what's needed |
|
3371 |
5883 d 15 h |
post |
/trunk/uspace/app/bdsh/ |
pwd should be a module, not a builtin |
|
3367 |
5884 d 13 h |
post |
/trunk/uspace/app/bdsh/ |
Add a README to explain how things work |
|
3366 |
5884 d 13 h |
post |
/trunk/uspace/app/bdsh/ |
Housekeeping list, complete lingering things before they get forgotten:
* cli_*() now sets a global cli_errno, error functions cleaned up
* Finish internal cli_*() functions in util.c
* Don't expose cli_init() or cli_finit()
* Get rid of unused globals
* Don't set globals in commands themselves
* Update README files
* Fix stale comments |
|
3364 |
5886 d 13 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
Fix command description display, only command entry points need to be exposed. |
|
3361 |
5887 d 2 h |
post |
/trunk/uspace/app/bdsh/ |
Update TODO list |
|
3360 |
5887 d 2 h |
post |
/trunk/uspace/app/bdsh/ |
Remove 'mount' |
|
3358 |
5887 d 11 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
cat: no reason to set i = optind twice :) |
|
3357 |
5887 d 11 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
cat: purpose updated in cat.def |
|