Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
3810 |
5674 d 10 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Update the mknewcmd script |
|
/trunk/uspace/app/bdsh/cmds/mknewcmd
|
3809 |
5674 d 10 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
|
3803 |
5675 d 23 h |
decky |
/trunk/ |
configuration system overhaul (requires newt) |
|
/trunk/boot/boot.config /trunk/kernel/kernel.config /trunk/uspace/uspace.config
/trunk/HelenOS.config /trunk/Makefile /trunk/boot/Makefile /trunk/boot/arch/arm32/loader/Makefile /trunk/boot/arch/ia64/loader/Makefile /trunk/boot/arch/mips32/loader/Makefile /trunk/boot/arch/ppc32/loader/Makefile /trunk/boot/arch/ppc64/loader/Makefile /trunk/boot/arch/sparc64/loader/Makefile /trunk/kernel/Makefile /trunk/tools/config.py /trunk/uspace/Makefile /trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/init/Makefile /trunk/uspace/app/klog/Makefile /trunk/uspace/app/tester/Makefile /trunk/uspace/app/tetris/Makefile /trunk/uspace/app/trace/Makefile /trunk/uspace/lib/libblock/Makefile /trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/Makefile.toolchain /trunk/uspace/lib/libc/arch/mips32/Makefile.inc /trunk/uspace/lib/libfs/Makefile /trunk/uspace/lib/softfloat/Makefile /trunk/uspace/lib/softint/Makefile /trunk/uspace/srv/console/Makefile /trunk/uspace/srv/devmap/Makefile /trunk/uspace/srv/fb/Makefile /trunk/uspace/srv/fs/fat/Makefile /trunk/uspace/srv/fs/tmpfs/Makefile /trunk/uspace/srv/kbd/Makefile /trunk/uspace/srv/loader/Makefile /trunk/uspace/srv/ns/Makefile /trunk/uspace/srv/pci/Makefile /trunk/uspace/srv/pci/libpci/Makefile /trunk/uspace/srv/rd/Makefile /trunk/uspace/srv/vfs/Makefile
|
3767 |
5695 d 4 h |
svoboda |
/trunk/uspace/ |
Console color support overhaul. Create C library console interface. |
|
/trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/include/console /trunk/uspace/lib/libc/include/console.h /trunk/uspace/lib/libc/include/console/color.h /trunk/uspace/lib/libc/include/console/style.h
/trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/console/console1.c /trunk/uspace/app/tetris/screen.c /trunk/uspace/app/trace/trace.c /trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/include/ipc/console.h /trunk/uspace/lib/libc/include/ipc/fb.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/console/gcons.c /trunk/uspace/srv/console/screenbuffer.c /trunk/uspace/srv/console/screenbuffer.h /trunk/uspace/srv/fb/ega.c /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/fb/serial_console.c
|
3651 |
5728 d 5 h |
jermar |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
Nits. |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3650 |
5728 d 5 h |
jermar |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
Several fixes for cp. |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3645 |
5729 d 6 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 |
5729 d 7 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
cp: fix type mis-match |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3642 |
5729 d 7 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 |
5729 d 8 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 |
5729 d 8 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 |
5756 d 7 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
|
3487 |
5780 d 7 h |
post |
/trunk/uspace/app/bdsh/ |
No need to cast argv[] in try_exec() |
|
/trunk/uspace/app/bdsh/exec.c
|
3483 |
5785 d 8 h |
post |
/trunk/uspace/app/bdsh/ |
Eliminate unused functions in util.c |
|
/trunk/uspace/app/bdsh/util.c /trunk/uspace/app/bdsh/util.h
|
3481 |
5786 d 8 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. |
|
/trunk/uspace/app/bdsh/util.c /trunk/uspace/app/bdsh/util.h
|
3480 |
5786 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. |
|
/trunk/uspace/app/bdsh/util.c /trunk/uspace/app/bdsh/util.h
|
3461 |
5798 d 9 h |
post |
/trunk/uspace/app/bdsh/ |
Fix prompt (AGAIN), sorry! |
|
/trunk/uspace/app/bdsh/util.c
|
3460 |
5798 d 9 h |
post |
/trunk/uspace/app/bdsh/ |
exec.c: try_access() should not be unsigned, found should be static |
|
/trunk/uspace/app/bdsh/exec.c
|
3459 |
5798 d 9 h |
post |
/trunk/uspace/app/bdsh/ |
Fix prompt (whoops!) |
|
/trunk/uspace/app/bdsh/util.c
|
3434 |
5801 d 11 h |
post |
/trunk/uspace/app/bdsh/ |
Drop references to __HELENOS__ in config.h |
|
/trunk/uspace/app/bdsh/config.h
|
3420 |
5804 d 0 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
|
3419 |
5804 d 0 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Fix bug in mknewcmd (incorrectly prototyping entry points) |
|
/trunk/uspace/app/bdsh/cmds/mknewcmd
|
3418 |
5804 d 0 h |
post |
/trunk/uspace/app/bdsh/ |
cstyle |
|
/trunk/uspace/app/bdsh/scli.c
|
3417 |
5804 d 0 h |
post |
/trunk/uspace/app/bdsh/ |
Fix quirks in config.h |
|
/trunk/uspace/app/bdsh/config.h
|
3414 |
5804 d 2 h |
post |
/trunk/uspace/app/bdsh/ |
Update README and mknewcmd to reflect changes in command entry points |
|
/trunk/uspace/app/bdsh/README /trunk/uspace/app/bdsh/cmds/mknewcmd
|
3413 |
5804 d 2 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 |
5804 d 2 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
Take debug printfs out of cat |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c
|
3410 |
5804 d 3 h |
svoboda |
/trunk/ |
Introduce directories '/app' and '/srv' on ramdisk instead of '/sbin' to mirror source tree. |
|
/trunk/uspace/dist/app /trunk/uspace/dist/srv
/trunk/uspace/dist/sbin
/trunk/boot/arch/amd64/Makefile.inc /trunk/boot/arch/arm32/loader/Makefile /trunk/boot/arch/ia32/Makefile.inc /trunk/boot/arch/mips32/loader/Makefile /trunk/boot/arch/ppc32/loader/Makefile /trunk/boot/arch/sparc64/loader/Makefile /trunk/uspace/app/bdsh/config.h /trunk/uspace/app/init/init.c
|
3396 |
5808 d 7 h |
post |
/trunk/uspace/app/bdsh/ |
We need cli_set_prompt() in the main loop as modules are unaware of cliuser_t |
|
/trunk/uspace/app/bdsh/scli.c
|
3378 |
5819 d 2 h |
post |
/trunk/uspace/app/bdsh/ |
main() - remove unused variable i |
|
/trunk/uspace/app/bdsh/scli.c
|
3377 |
5819 d 2 h |
post |
/trunk/uspace/app/bdsh/ |
Let 'cd' invoke cli_set_prompt(), no need to do it in every iteration of the main loop. |
|
/trunk/uspace/app/bdsh/cmds/builtins/cd/cd.c /trunk/uspace/app/bdsh/scli.c /trunk/uspace/app/bdsh/scli.h /trunk/uspace/app/bdsh/util.c /trunk/uspace/app/bdsh/util.h
|
3376 |
5820 d 6 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 |
5821 d 4 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
|
3374 |
5821 d 6 h |
post |
/trunk/uspace/app/bdsh/ |
Drop inclusion of lib/ and lib/ustr in the Makefile (this completes housekeeping) |
|
/trunk/uspace/app/bdsh/Makefile
|
3373 |
5821 d 7 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
|
3372 |
5821 d 9 h |
post |
/trunk/uspace/app/bdsh/ |
More house cleaning, don't expose beyond what's needed |
|
/trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/exec.h /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/bdsh/input.h /trunk/uspace/app/bdsh/scli.h
|
3371 |
5821 d 15 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
|
3367 |
5822 d 12 h |
post |
/trunk/uspace/app/bdsh/ |
Add a README to explain how things work |
|
/trunk/uspace/app/bdsh/README
|
3366 |
5822 d 12 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 |
5824 d 12 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
|