Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
3814 |
5694 d 5 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ls/ |
ls now prints file sizes |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c
|
3813 |
5694 d 6 h |
post |
/trunk/uspace/app/bdsh/ |
Get rid of cli_strdup(), cli_strtok(), cli_strtok_r(), just use facilities in libc |
|
/trunk/uspace/app/bdsh/AUTHORS /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/touch/touch.c /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/bdsh/util.c /trunk/uspace/app/bdsh/util.h
|
3811 |
5694 d 13 h |
post |
/trunk/uspace/app/bdsh/ |
exit should be a builtin, since it will eventually need to know about running jobs |
|
/trunk/uspace/app/bdsh/cmds/builtins/exit /trunk/uspace/app/bdsh/cmds/builtins/exit/exit.c /trunk/uspace/app/bdsh/cmds/builtins/exit/exit.h /trunk/uspace/app/bdsh/cmds/builtins/exit/exit_def.h
/trunk/uspace/app/bdsh/cmds/builtins/exit/quit.c /trunk/uspace/app/bdsh/cmds/builtins/exit/quit.h /trunk/uspace/app/bdsh/cmds/builtins/exit/quit_def.h /trunk/uspace/app/bdsh/cmds/modules/quit
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/builtins/builtins.h /trunk/uspace/app/bdsh/cmds/builtins/exit/entry.h /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
3809 |
5694 d 13 h |
post |
/trunk/uspace/app/bdsh/ |
Eliminate 'restrict' from command structure, get rid of needless aliases.
Order of search is builtin -> module -> external, there is no need to
restrict commands to (non)interative shells only any longer. |
|
/trunk/uspace/app/bdsh/cmds/builtin_cmds.c /trunk/uspace/app/bdsh/cmds/builtins/builtin_aliases.h /trunk/uspace/app/bdsh/cmds/builtins/cd/cd_def.h /trunk/uspace/app/bdsh/cmds/cmds.h /trunk/uspace/app/bdsh/cmds/mod_cmds.c /trunk/uspace/app/bdsh/cmds/modules/cat/cat_def.h /trunk/uspace/app/bdsh/cmds/modules/cp/cp_def.h /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/help/help_def.h /trunk/uspace/app/bdsh/cmds/modules/ls/ls_def.h /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir_def.h /trunk/uspace/app/bdsh/cmds/modules/module_aliases.h /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd_def.h /trunk/uspace/app/bdsh/cmds/modules/quit/quit.c /trunk/uspace/app/bdsh/cmds/modules/quit/quit_def.h /trunk/uspace/app/bdsh/cmds/modules/rm/rm_def.h /trunk/uspace/app/bdsh/cmds/modules/sleep/sleep_def.h /trunk/uspace/app/bdsh/cmds/modules/touch/touch_def.h /trunk/uspace/app/bdsh/input.c
|
3651 |
5748 d 8 h |
jermar |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
Nits. |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3650 |
5748 d 8 h |
jermar |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
Several fixes for cp. |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3645 |
5749 d 9 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
cp: Fix counter if verbose, remove debug printfs |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3643 |
5749 d 10 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
cp: fix type mis-match |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3642 |
5749 d 10 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
make copy_file() deal with files with zero length |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3641 |
5749 d 11 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
cp: don't return CMD_FAILURE for zero length files |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3640 |
5749 d 11 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
Implement a rudamentary 'cp' for testing write() |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3534 |
5776 d 10 h |
svoboda |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
Fix bdsh/cat crash. Also fix error in zero-trailing the buffer. |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c
|
3420 |
5824 d 3 h |
post |
/trunk/uspace/app/bdsh/ |
Add skeletal sleep and cp commands (not yet working) |
|
/trunk/uspace/app/bdsh/cmds/modules/cp /trunk/uspace/app/bdsh/cmds/modules/cp/cp.c /trunk/uspace/app/bdsh/cmds/modules/cp/cp.h /trunk/uspace/app/bdsh/cmds/modules/cp/cp_def.h /trunk/uspace/app/bdsh/cmds/modules/cp/entry.h /trunk/uspace/app/bdsh/cmds/modules/sleep /trunk/uspace/app/bdsh/cmds/modules/sleep/entry.h /trunk/uspace/app/bdsh/cmds/modules/sleep/sleep.c /trunk/uspace/app/bdsh/cmds/modules/sleep/sleep.h /trunk/uspace/app/bdsh/cmds/modules/sleep/sleep_def.h
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/modules/modules.h /trunk/uspace/app/bdsh/util.c
|
3413 |
5824 d 5 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Simplify entry types (and return values) for commands |
|
/trunk/uspace/app/bdsh/cmds/builtins/cd/cd.c /trunk/uspace/app/bdsh/cmds/builtins/cd/entry.h /trunk/uspace/app/bdsh/cmds/cmds.h /trunk/uspace/app/bdsh/cmds/modules/cat/cat.c /trunk/uspace/app/bdsh/cmds/modules/cat/entry.h /trunk/uspace/app/bdsh/cmds/modules/help/entry.h /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/ls/entry.h /trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/entry.h /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/pwd/entry.h /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.c /trunk/uspace/app/bdsh/cmds/modules/quit/entry.h /trunk/uspace/app/bdsh/cmds/modules/quit/quit.c /trunk/uspace/app/bdsh/cmds/modules/rm/entry.h /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/cmds/modules/touch/entry.h /trunk/uspace/app/bdsh/cmds/modules/touch/touch.c
|
3411 |
5824 d 5 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
Take debug printfs out of cat |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c
|
3376 |
5840 d 9 h |
post |
/trunk/uspace/app/bdsh/ |
Just make cli_count_args() a function |
|
/trunk/uspace/app/bdsh/cmds/builtins/cd/cd.c /trunk/uspace/app/bdsh/cmds/modules/cat/cat.c /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/cmds/modules/touch/touch.c /trunk/uspace/app/bdsh/util.c /trunk/uspace/app/bdsh/util.h
|
3375 |
5841 d 7 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
long_options[] should be const where implemented |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c
|
3373 |
5841 d 9 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Rename non-standard extensions (cmd.def -> cmd_def.h) |
|
/trunk/uspace/app/bdsh/cmds/builtins/cd/cd_def.h /trunk/uspace/app/bdsh/cmds/modules/cat/cat_def.h /trunk/uspace/app/bdsh/cmds/modules/help/help_def.h /trunk/uspace/app/bdsh/cmds/modules/ls/ls_def.h /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir_def.h /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd_def.h /trunk/uspace/app/bdsh/cmds/modules/quit/quit_def.h /trunk/uspace/app/bdsh/cmds/modules/rm/rm_def.h /trunk/uspace/app/bdsh/cmds/modules/touch/touch_def.h
/trunk/uspace/app/bdsh/cmds/builtins/cd/cd.def /trunk/uspace/app/bdsh/cmds/modules/cat/cat.def /trunk/uspace/app/bdsh/cmds/modules/help/help.def /trunk/uspace/app/bdsh/cmds/modules/ls/ls.def /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.def /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.def /trunk/uspace/app/bdsh/cmds/modules/quit/quit.def /trunk/uspace/app/bdsh/cmds/modules/rm/rm.def /trunk/uspace/app/bdsh/cmds/modules/touch/touch.def
/trunk/uspace/app/bdsh/cmds/builtins/builtins.h /trunk/uspace/app/bdsh/cmds/mknewcmd /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
3371 |
5841 d 18 h |
post |
/trunk/uspace/app/bdsh/ |
pwd should be a module, not a builtin |
|
/trunk/uspace/app/bdsh/cmds/modules/pwd /trunk/uspace/app/bdsh/cmds/modules/pwd/entry.h /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.c /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.def /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.h
/trunk/uspace/app/bdsh/cmds/builtins/pwd
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/builtins/builtins.h /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
3366 |
5842 d 15 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 |
|
/trunk/uspace/app/bdsh/cmds/builtins/README /trunk/uspace/app/bdsh/cmds/modules/README /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/quit/quit.c /trunk/uspace/app/bdsh/errors.c /trunk/uspace/app/bdsh/errors.h /trunk/uspace/app/bdsh/errstr.h /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/bdsh/scli.c /trunk/uspace/app/bdsh/scli.h /trunk/uspace/app/bdsh/util.c
|