Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
3373 |
5834 d 17 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 |
5835 d 2 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 |
5835 d 23 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 |
5837 d 23 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
|
3360 |
5838 d 12 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 |
5838 d 21 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 |
5838 d 22 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 |
5838 d 22 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 |
5839 d 20 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 |
5839 d 21 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 |
5839 d 21 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 |
5840 d 19 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
|
3338 |
5843 d 21 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 |
5843 d 21 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
|
3326 |
5846 d 22 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ |
Fixed last few bugs in ls, added todo notes |
|
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ls.c /branches/shell/uspace/app/bdsh/cmds/modules/ls/ls.h
|
3319 |
5847 d 20 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/cat/ |
A bogus 'cat' which (for now) tests getopt. |
|
/branches/shell/uspace/app/bdsh/cmds/modules/cat/cat.c
|
3311 |
5849 d 20 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ |
Re-generated mount / cat with new mknewcmd |
|
/branches/shell/uspace/app/bdsh/cmds/modules/cat/cat.c /branches/shell/uspace/app/bdsh/cmds/modules/mount/mount.c
|
3310 |
5849 d 20 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ |
ls: Remove unused var s[] |
|
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ls.c
|
3309 |
5850 d 1 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ |
ls: fix bug where all entries are printed as directories when listing relative paths |
|
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ls.c
|
3302 |
5850 d 20 h |
post |
/branches/shell/uspace/app/bdsh/ |
Added a stub for a future mount command, at this point we stop updating the GNU
makefile. |
|
/branches/shell/uspace/app/bdsh/cmds/modules/mount /branches/shell/uspace/app/bdsh/cmds/modules/mount/entry.h /branches/shell/uspace/app/bdsh/cmds/modules/mount/mount.c /branches/shell/uspace/app/bdsh/cmds/modules/mount/mount.def /branches/shell/uspace/app/bdsh/cmds/modules/mount/mount.h
/branches/shell/uspace/app/bdsh/Makefile /branches/shell/uspace/app/bdsh/cmds/modules/modules.h
|