Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4364 |
5583 d 0 h |
jermar |
/trunk/uspace/app/bdsh/ |
Add a primitive 'mv' command. This 'mv' is a mere wrapper around rename() and
as such cannot move files across file systems and doesn't work on FAT (because
FAT does not support hardlinks). |
|
/trunk/uspace/app/bdsh/cmds/modules/mv /trunk/uspace/app/bdsh/cmds/modules/mv/entry.h /trunk/uspace/app/bdsh/cmds/modules/mv/mv.c /trunk/uspace/app/bdsh/cmds/modules/mv/mv.h /trunk/uspace/app/bdsh/cmds/modules/mv/mv_def.h
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/modules/module_aliases.h /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
4361 |
5584 d 14 h |
jermar |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
HelenOS open() returns the actual error code, not mere -1. |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c
|
4268 |
5611 d 3 h |
svoboda |
/trunk/uspace/ |
str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy(). |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/tetris/scores.c /trunk/uspace/app/tetris/tetris.c /trunk/uspace/lib/libc/generic/loader.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/string.h /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
4266 |
5611 d 12 h |
svoboda |
/trunk/uspace/ |
strdup() -> str_dup() |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /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/tetris/scores.c /trunk/uspace/app/tetris/tetris.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/string.h
|
4264 |
5611 d 14 h |
svoboda |
/trunk/uspace/ |
Nuke strcpy() and strcmp(). |
|
/trunk/uspace/app/bdsh/cmds/builtin_cmds.c /trunk/uspace/app/bdsh/cmds/mod_cmds.c /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/app/tetris/scores.c /trunk/uspace/app/tetris/screen.c /trunk/uspace/app/tetris/tetris.c /trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/generic/getopt.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/include/stdio.h /trunk/uspace/lib/libc/include/string.h /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/fs/fat/fat_dentry.c /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/loader/main.c /trunk/uspace/srv/pci/libpci/names.c /trunk/uspace/srv/rd/rd.c /trunk/uspace/srv/vfs/vfs_ops.c
|
4255 |
5613 d 16 h |
svoboda |
/trunk/uspace/app/bdsh/ |
Read UCS chars in bdsh and encode them. (bdsh is still largely ignorant of UCS but it will work somehow with the characters now). |
|
/trunk/uspace/app/bdsh/input.c
|
4239 |
5615 d 19 h |
svoboda |
/trunk/uspace/ |
Make Czech layout work partially in bdsh. |
|
/trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/print/print4.c /trunk/uspace/lib/libc/Makefile.toolchain /trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/include/console.h /trunk/uspace/srv/kbd/layout/cz.c
|
4168 |
5629 d 15 h |
svoboda |
/trunk/uspace/ |
'kcon' shell builtin for switching to debug console. |
|
/trunk/uspace/app/bdsh/cmds/modules/kcon /trunk/uspace/app/bdsh/cmds/modules/kcon/entry.h /trunk/uspace/app/bdsh/cmds/modules/kcon/kcon.c /trunk/uspace/app/bdsh/cmds/modules/kcon/kcon.h /trunk/uspace/app/bdsh/cmds/modules/kcon/kcon_def.h
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/modules/modules.h /trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/include/console.h /trunk/uspace/lib/libc/include/ipc/console.h /trunk/uspace/srv/console/console.c
|
4112 |
5639 d 16 h |
svoboda |
/trunk/uspace/app/bdsh/ |
Fix grammar. |
|
/trunk/uspace/app/bdsh/exec.c
|
3980 |
5651 d 20 h |
svoboda |
/trunk/uspace/app/bdsh/ |
The command line should ignore Tab. |
|
/trunk/uspace/app/bdsh/input.c
|
3945 |
5658 d 23 h |
svoboda |
/trunk/uspace/app/bdsh/cmds/modules/ls/ |
Fix file size display when doing 'ls' of another directory. |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.h
|
3882 |
5667 d 15 h |
decky |
/trunk/uspace/ |
cleanup configuration
code cleanup |
|
/trunk/uspace/lib/libc/include/macros.h
/trunk/uspace/Makefile /trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/init/Makefile /trunk/uspace/app/init/version.c /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/amd64/Makefile.inc /trunk/uspace/lib/libc/arch/amd64/_link.ld.in /trunk/uspace/lib/libc/arch/arm32/Makefile.inc /trunk/uspace/lib/libc/arch/arm32/_link.ld.in /trunk/uspace/lib/libc/arch/ia32/Makefile.inc /trunk/uspace/lib/libc/arch/ia32/_link.ld.in /trunk/uspace/lib/libc/arch/ia64/Makefile.inc /trunk/uspace/lib/libc/arch/ia64/_link.ld.in /trunk/uspace/lib/libc/arch/mips32/Makefile.inc /trunk/uspace/lib/libc/arch/mips32/_link.ld.in /trunk/uspace/lib/libc/arch/mips32eb/Makefile.inc /trunk/uspace/lib/libc/arch/ppc32/Makefile.inc /trunk/uspace/lib/libc/arch/ppc32/_link.ld.in /trunk/uspace/lib/libc/arch/sparc64/Makefile.inc /trunk/uspace/lib/libc/arch/sparc64/_link.ld.in /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/fb/fb.c /trunk/uspace/srv/fs/fat/Makefile /trunk/uspace/srv/fs/fat/fat.c /trunk/uspace/srv/fs/tmpfs/Makefile /trunk/uspace/srv/kbd/Makefile /trunk/uspace/srv/kbd/arch/ia64/src/kbd.c /trunk/uspace/srv/kbd/arch/ppc32/src/kbd.c /trunk/uspace/srv/loader/Makefile /trunk/uspace/srv/loader/arch/amd64/Makefile.inc /trunk/uspace/srv/loader/arch/amd64/_link.ld.in /trunk/uspace/srv/loader/arch/arm32/Makefile.inc /trunk/uspace/srv/loader/arch/arm32/_link.ld.in /trunk/uspace/srv/loader/arch/ia32/Makefile.inc /trunk/uspace/srv/loader/arch/ia32/_link.ld.in /trunk/uspace/srv/loader/arch/ia64/Makefile.inc /trunk/uspace/srv/loader/arch/ia64/_link.ld.in /trunk/uspace/srv/loader/arch/mips32/Makefile.inc /trunk/uspace/srv/loader/arch/mips32/_link.ld.in /trunk/uspace/srv/loader/arch/ppc32/Makefile.inc /trunk/uspace/srv/loader/arch/ppc32/_link.ld.in /trunk/uspace/srv/loader/arch/sparc64/Makefile.inc /trunk/uspace/srv/loader/arch/sparc64/_link.ld.in /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
|
3834 |
5680 d 17 h |
svoboda |
/trunk/uspace/app/bdsh/cmds/modules/ls/ |
Fix file-size display on big-endian machines. Also, rather use off_t than uint64_t for holding file size. |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c
|
3816 |
5688 d 17 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
cstyle (nits) 80 column limit |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3815 |
5688 d 18 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
Stop using assert() in modules/builtins as abort() will crash the entire shell.
Handle the case and report the issue, leaving the user able to reproduce it
without rebooting. |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c
|
3814 |
5688 d 19 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ls/ |
ls now prints file sizes |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c
|
3813 |
5688 d 21 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
|
3812 |
5689 d 3 h |
post |
/trunk/uspace/app/bdsh/ |
Get rid of cli_restricted and cli_interactive |
|
/trunk/uspace/app/bdsh/input.c /trunk/uspace/app/bdsh/scli.c
|
3811 |
5689 d 3 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
|
3810 |
5689 d 4 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Update the mknewcmd script |
|
/trunk/uspace/app/bdsh/cmds/mknewcmd
|
3809 |
5689 d 4 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 |
5690 d 16 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 |
5709 d 21 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 |
5742 d 22 h |
jermar |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
Nits. |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3650 |
5742 d 23 h |
jermar |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
Several fixes for cp. |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3645 |
5744 d 0 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 |
5744 d 1 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
cp: fix type mis-match |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c
|
3642 |
5744 d 1 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 |
5744 d 1 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 |
5744 d 1 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 |
5771 d 1 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 |
5795 d 1 h |
post |
/trunk/uspace/app/bdsh/ |
No need to cast argv[] in try_exec() |
|
/trunk/uspace/app/bdsh/exec.c
|
3483 |
5800 d 2 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 |
5801 d 2 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 |
5801 d 3 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 |
5813 d 3 h |
post |
/trunk/uspace/app/bdsh/ |
Fix prompt (AGAIN), sorry! |
|
/trunk/uspace/app/bdsh/util.c
|
3460 |
5813 d 3 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 |
5813 d 3 h |
post |
/trunk/uspace/app/bdsh/ |
Fix prompt (whoops!) |
|
/trunk/uspace/app/bdsh/util.c
|
3434 |
5816 d 5 h |
post |
/trunk/uspace/app/bdsh/ |
Drop references to __HELENOS__ in config.h |
|
/trunk/uspace/app/bdsh/config.h
|
3420 |
5818 d 17 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
|