Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
3366 |
5885 d 3 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
|
3364 |
5887 d 3 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
Fix command description display, only command entry points need to be exposed. |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c /trunk/uspace/app/bdsh/cmds/modules/cat/cat.h /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/help/help.h /trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.def /trunk/uspace/app/bdsh/cmds/modules/ls/ls.h /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.def /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.h /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.def /trunk/uspace/app/bdsh/cmds/modules/rm/rm.h /trunk/uspace/app/bdsh/cmds/modules/touch/touch.def
|
3361 |
5887 d 16 h |
post |
/trunk/uspace/app/bdsh/ |
Update TODO list |
|
/trunk/uspace/app/bdsh/TODO
|
3360 |
5887 d 16 h |
post |
/trunk/uspace/app/bdsh/ |
Remove 'mount' |
|
/trunk/uspace/app/bdsh/cmds/modules/mount
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
3358 |
5888 d 1 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
cat: no reason to set i = optind twice :) |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c
|
3357 |
5888 d 2 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
cat: purpose updated in cat.def |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.def
|
3356 |
5888 d 2 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
Add a basic cat, cat --help shows future options |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c /trunk/uspace/app/bdsh/cmds/modules/cat/cat.h
|
3355 |
5889 d 0 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/mkdir/ |
mkdir: Get rid of useless while loop (spaghetti) |
|
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
|
3354 |
5889 d 1 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/mkdir/ |
mkdir: increment ret if mkdir() fails |
|
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
|
3353 |
5889 d 1 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/mkdir/ |
mkdir is finished, -p / --parents options and more now functional |
|
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.h
|
3346 |
5889 d 23 h |
post |
/trunk/ |
Merge with shell @ 3241 for bdsh |
|
/trunk/uspace/app/bdsh /trunk/uspace/lib/libc/generic/getopt.c /trunk/uspace/lib/libc/include/getopt.h
/trunk/boot/arch/ia32/Makefile.inc /trunk/uspace/Makefile /trunk/uspace/app/init/init.c /trunk/uspace/lib/libc/Makefile
|
3345 |
5889 d 23 h |
post |
/branches/shell/uspace/app/bdsh/ |
Add cli_psprintf() and cli_redup() to util.c |
|
/branches/shell/uspace/app/bdsh/util.c /branches/shell/uspace/app/bdsh/util.h
|
3342 |
5893 d 0 h |
post |
/branches/shell/uspace/app/bdsh/ |
cli_set_prompt() should be unsigned, fixed. |
|
/branches/shell/uspace/app/bdsh/scli.c /branches/shell/uspace/app/bdsh/scli.h
|
3341 |
5893 d 0 h |
post |
/branches/shell/uspace/app/bdsh/ |
cli_set_prompt(), don't make cliuser_t->lasterr part of the prompt
(soon we'll use more intelligent error handlers) |
|
/branches/shell/uspace/app/bdsh/scli.c
|
3340 |
5893 d 0 h |
post |
/branches/shell/uspace/app/bdsh/ |
exec: task_spawn() returns either 0 or 1 (not the task ID on success).
As such try_exec() becomes an unsigned int and we don't unconditionally
return the value of task_spawn (fixes bogus failures). |
|
/branches/shell/uspace/app/bdsh/exec.c /branches/shell/uspace/app/bdsh/exec.h
|
3339 |
5893 d 0 h |
post |
/branches/shell/uspace/app/bdsh/ |
input: stop double-checking for non-null terminated input, add to-do and comments |
|
/branches/shell/uspace/app/bdsh/input.c
|
3338 |
5893 d 1 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/rm/ |
rm: Fix psychotic tabbing in long_options structure |
|
/branches/shell/uspace/app/bdsh/cmds/modules/rm/rm.c
|
3337 |
5893 d 1 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/rm/ |
rm: add options, job structure, sanity (recursion still not done) |
|
/branches/shell/uspace/app/bdsh/cmds/modules/rm/rm.c /branches/shell/uspace/app/bdsh/cmds/modules/rm/rm.h
|
3333 |
5895 d 19 h |
post |
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/ |
pwd: need to include config.h |
|
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/pwd.c
|
3329 |
5895 d 20 h |
post |
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/ |
pwd: Use getcwd(), don't just print usr->cwd from cliuser_t |
|
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/pwd.c
|