HelenOS
HelenOS-doc
HelenOS-historic
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
HelenOS
(root)
/
/
branches
/
sparc
/
uspace
/
app
/
bdsh
/
util.c
– Rev 3492
Rev
Hide changed files
|
Details
|
Compare with Previous
|
Blame
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Rev
Age
Author
Path
Log message
Diff
Changes
3492
5918 d 9 h
rimsky
/branches/sparc/
Changes in trunk merged into the sparc branch. SILO's ramdisk issue solved by the CONFIG_RD_EXTERNAL option.
/branches/sparc/kernel/arch/ia32/include/syscall.h
/branches/sparc/kernel/arch/ia32/src/syscall.c
/branches/sparc/kernel/arch/ppc32/include/regutils.h
/branches/sparc/kernel/generic/include/ipc/kbox.h
/branches/sparc/kernel/generic/include/udebug
/branches/sparc/kernel/generic/src/ipc/kbox.c
/branches/sparc/kernel/generic/src/udebug
/branches/sparc/uspace/app/bdsh/cmds/modules/cp
/branches/sparc/uspace/app/bdsh/cmds/modules/sleep
/branches/sparc/uspace/app/trace
/branches/sparc/uspace/dist/app
/branches/sparc/uspace/dist/cfg
/branches/sparc/uspace/dist/srv
/branches/sparc/uspace/lib/libc/generic/loader.c
/branches/sparc/uspace/lib/libc/generic/udebug.c
/branches/sparc/uspace/lib/libc/include/loader/loader.h
/branches/sparc/uspace/lib/libc/include/udebug.h
/branches/sparc/uspace/dist/etc
/branches/sparc/uspace/dist/sbin
/branches/sparc/boot/arch/amd64/Makefile.inc
/branches/sparc/boot/arch/arm32/loader/Makefile
/branches/sparc/boot/arch/ia32/Makefile.inc
/branches/sparc/boot/arch/ia64/loader/Makefile
/branches/sparc/boot/arch/mips32/loader/Makefile
/branches/sparc/boot/arch/ppc32/loader/Makefile
/branches/sparc/boot/arch/ppc64/loader/Makefile
/branches/sparc/boot/arch/sparc64/Makefile.inc
/branches/sparc/boot/arch/sparc64/loader/Makefile
/branches/sparc/boot/arch/sparc64/loader/main.c
/branches/sparc/boot/arch/sparc64/silo/silo.conf
/branches/sparc/boot/boot.config
/branches/sparc/boot/generic/string.c
/branches/sparc/boot/generic/string.h
/branches/sparc/kernel/Makefile
/branches/sparc/kernel/arch/amd64/include/syscall.h
/branches/sparc/kernel/arch/arm32/include/interrupt.h
/branches/sparc/kernel/arch/ia32/Makefile.inc
/branches/sparc/kernel/arch/ia32/include/asm.h
/branches/sparc/kernel/arch/ia32/include/cpu.h
/branches/sparc/kernel/arch/ia32/src/asm.S
/branches/sparc/kernel/arch/ia32/src/cpu/cpu.c
/branches/sparc/kernel/arch/ia32/src/proc/scheduler.c
/branches/sparc/kernel/arch/ia64/include/asm.h
/branches/sparc/kernel/arch/ppc32/include/asm/regname.h
/branches/sparc/kernel/arch/ppc32/include/exception.h
/branches/sparc/kernel/arch/sparc64/include/trap/regwin.h
/branches/sparc/kernel/arch/sparc64/include/trap/syscall.h
/branches/sparc/kernel/arch/sparc64/src/proc/thread.c
/branches/sparc/kernel/arch/sparc64/src/trap/trap_table.S
/branches/sparc/kernel/generic/include/ipc/ipc.h
/branches/sparc/kernel/generic/include/ipc/sysipc.h
/branches/sparc/kernel/generic/include/proc/task.h
/branches/sparc/kernel/generic/include/proc/thread.h
/branches/sparc/kernel/generic/include/syscall/syscall.h
/branches/sparc/kernel/generic/src/console/cmd.c
/branches/sparc/kernel/generic/src/ipc/ipc.c
/branches/sparc/kernel/generic/src/ipc/sysipc.c
/branches/sparc/kernel/generic/src/lib/memstr.c
/branches/sparc/kernel/generic/src/main/uinit.c
/branches/sparc/kernel/generic/src/mm/as.c
/branches/sparc/kernel/generic/src/proc/task.c
/branches/sparc/kernel/generic/src/proc/thread.c
/branches/sparc/kernel/generic/src/syscall/syscall.c
/branches/sparc/kernel/kernel.config
/branches/sparc/uspace/Makefile
/branches/sparc/uspace/app/bdsh/Makefile
/branches/sparc/uspace/app/bdsh/README
/branches/sparc/uspace/app/bdsh/cmds/builtins/cd/cd.c
/branches/sparc/uspace/app/bdsh/cmds/builtins/cd/entry.h
/branches/sparc/uspace/app/bdsh/cmds/cmds.h
/branches/sparc/uspace/app/bdsh/cmds/mknewcmd
/branches/sparc/uspace/app/bdsh/cmds/modules/cat/cat.c
/branches/sparc/uspace/app/bdsh/cmds/modules/cat/entry.h
/branches/sparc/uspace/app/bdsh/cmds/modules/help/entry.h
/branches/sparc/uspace/app/bdsh/cmds/modules/help/help.c
/branches/sparc/uspace/app/bdsh/cmds/modules/ls/entry.h
/branches/sparc/uspace/app/bdsh/cmds/modules/ls/ls.c
/branches/sparc/uspace/app/bdsh/cmds/modules/mkdir/entry.h
/branches/sparc/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
/branches/sparc/uspace/app/bdsh/cmds/modules/modules.h
/branches/sparc/uspace/app/bdsh/cmds/modules/pwd/entry.h
/branches/sparc/uspace/app/bdsh/cmds/modules/pwd/pwd.c
/branches/sparc/uspace/app/bdsh/cmds/modules/quit/entry.h
/branches/sparc/uspace/app/bdsh/cmds/modules/quit/quit.c
/branches/sparc/uspace/app/bdsh/cmds/modules/rm/entry.h
/branches/sparc/uspace/app/bdsh/cmds/modules/rm/rm.c
/branches/sparc/uspace/app/bdsh/cmds/modules/touch/entry.h
/branches/sparc/uspace/app/bdsh/cmds/modules/touch/touch.c
/branches/sparc/uspace/app/bdsh/config.h
/branches/sparc/uspace/app/bdsh/exec.c
/branches/sparc/uspace/app/bdsh/scli.c
/branches/sparc/uspace/app/bdsh/util.c
/branches/sparc/uspace/app/bdsh/util.h
/branches/sparc/uspace/app/init/init.c
/branches/sparc/uspace/app/tester/ipc/send_sync.c
/branches/sparc/uspace/app/tester/tester.c
/branches/sparc/uspace/lib/libc/Makefile
/branches/sparc/uspace/lib/libc/Makefile.toolchain
/branches/sparc/uspace/lib/libc/arch/amd64/include/syscall.h
/branches/sparc/uspace/lib/libc/arch/arm32/include/syscall.h
/branches/sparc/uspace/lib/libc/arch/ia32/include/syscall.h
/branches/sparc/uspace/lib/libc/arch/ia32/src/syscall.S
/branches/sparc/uspace/lib/libc/arch/ia64/include/syscall.h
/branches/sparc/uspace/lib/libc/arch/mips32/include/syscall.h
/branches/sparc/uspace/lib/libc/arch/ppc32/include/syscall.h
/branches/sparc/uspace/lib/libc/arch/ppc64/include/syscall.h
/branches/sparc/uspace/lib/libc/arch/sparc64/include/syscall.h
/branches/sparc/uspace/lib/libc/generic/ipc.c
/branches/sparc/uspace/lib/libc/generic/smc.c
/branches/sparc/uspace/lib/libc/generic/string.c
/branches/sparc/uspace/lib/libc/generic/task.c
/branches/sparc/uspace/lib/libc/generic/time.c
/branches/sparc/uspace/lib/libc/generic/tls.c
/branches/sparc/uspace/lib/libc/generic/vfs/canonify.c
/branches/sparc/uspace/lib/libc/generic/vfs/vfs.c
/branches/sparc/uspace/lib/libc/include/ipc/ipc.h
/branches/sparc/uspace/lib/libc/include/ipc/loader.h
/branches/sparc/uspace/lib/libc/include/libc.h
/branches/sparc/uspace/lib/libc/include/loader/pcb.h
/branches/sparc/uspace/lib/libc/include/string.h
/branches/sparc/uspace/lib/libc/include/syscall.h
/branches/sparc/uspace/lib/libc/include/task.h
/branches/sparc/uspace/lib/libfs/Makefile
/branches/sparc/uspace/lib/softfloat/Makefile
/branches/sparc/uspace/lib/softint/Makefile
/branches/sparc/uspace/srv/loader/main.c
/branches/sparc/uspace/srv/vfs/vfs.c
/branches/sparc/uspace/srv/vfs/vfs_ops.c
3397
5950 d 14 h
rimsky
/branches/sparc/
Merged recent changes from trunk into the Sparc branch.
/branches/sparc/uspace/app/bdsh
/branches/sparc/uspace/lib/libc/generic/getopt.c
/branches/sparc/uspace/lib/libc/generic/io/asprintf.c
/branches/sparc/uspace/lib/libc/include/getopt.h
/branches/sparc/boot/tools/ia64
/branches/sparc/uspace/app/cli
/branches/sparc/boot/arch/amd64/Makefile.inc
/branches/sparc/boot/arch/arm32/loader/Makefile
/branches/sparc/boot/arch/ia32/Makefile.inc
/branches/sparc/boot/arch/ia64/Makefile.inc
/branches/sparc/boot/arch/ia64/loader/Makefile
/branches/sparc/boot/arch/mips32/loader/Makefile
/branches/sparc/boot/arch/ppc32/loader/Makefile
/branches/sparc/boot/arch/ppc32/loader/main.c
/branches/sparc/boot/arch/ppc32/loader/ofwarch.c
/branches/sparc/boot/arch/ppc64/loader/Makefile
/branches/sparc/boot/arch/sparc64/loader/Makefile
/branches/sparc/boot/arch/sparc64/loader/boot.S
/branches/sparc/boot/arch/sparc64/loader/main.c
/branches/sparc/boot/arch/sparc64/loader/main.h
/branches/sparc/boot/genarch/balloc.h
/branches/sparc/contrib/toolchain/toolchain.amd64.sh
/branches/sparc/contrib/toolchain/toolchain.arm32.sh
/branches/sparc/contrib/toolchain/toolchain.ia32.sh
/branches/sparc/contrib/toolchain/toolchain.ia64.sh
/branches/sparc/contrib/toolchain/toolchain.mipseb32.sh
/branches/sparc/contrib/toolchain/toolchain.mipsel32.sh
/branches/sparc/contrib/toolchain/toolchain.ppc32.sh
/branches/sparc/contrib/toolchain/toolchain.ppc64.sh
/branches/sparc/contrib/toolchain/toolchain.sparc64.sh
/branches/sparc/kernel/arch/amd64/Makefile.inc
/branches/sparc/kernel/arch/amd64/include/atomic.h
/branches/sparc/kernel/arch/arm32/Makefile.inc
/branches/sparc/kernel/arch/ia32/Makefile.inc
/branches/sparc/kernel/arch/ia32/include/atomic.h
/branches/sparc/kernel/arch/ia32xen/Makefile.inc
/branches/sparc/kernel/arch/ia64/Makefile.inc
/branches/sparc/kernel/arch/mips32/Makefile.inc
/branches/sparc/kernel/arch/mips32/src/mm/tlb.c
/branches/sparc/kernel/arch/ppc32/Makefile.inc
/branches/sparc/kernel/arch/ppc64/Makefile.inc
/branches/sparc/kernel/arch/sparc64/Makefile.inc
/branches/sparc/kernel/arch/sparc64/include/atomic.h
/branches/sparc/kernel/generic/include/errno.h
/branches/sparc/kernel/generic/include/ipc/ipc.h
/branches/sparc/kernel/generic/src/ipc/ipc.c
/branches/sparc/kernel/generic/src/ipc/ipcrsc.c
/branches/sparc/kernel/generic/src/ipc/sysipc.c
/branches/sparc/kernel/generic/src/main/kinit.c
/branches/sparc/kernel/generic/src/mm/as.c
/branches/sparc/kernel/generic/src/mm/backend_anon.c
/branches/sparc/kernel/generic/src/mm/backend_elf.c
/branches/sparc/kernel/generic/src/proc/task.c
/branches/sparc/uspace/Makefile
/branches/sparc/uspace/app/init/init.c
/branches/sparc/uspace/lib/libc/Makefile
/branches/sparc/uspace/lib/libc/arch/amd64/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/arm32/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/ia32/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/ia64/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/mips32/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/mips32eb/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/ppc32/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/ppc64/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/sparc64/Makefile.inc
/branches/sparc/uspace/lib/libc/generic/io/printf_core.c
/branches/sparc/uspace/lib/libc/generic/io/sprintf.c
/branches/sparc/uspace/lib/libc/generic/io/vsnprintf.c
/branches/sparc/uspace/lib/libc/generic/ipc.c
/branches/sparc/uspace/lib/libc/include/stdio.h
/branches/sparc/uspace/srv/fs/fat/fat_ops.c
/branches/sparc/uspace/srv/fs/tmpfs/tmpfs_ops.c
/branches/sparc/uspace/srv/vfs/vfs_ops.c
3377
5963 d 13 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
5964 d 17 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
3366
5966 d 22 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
3346
5971 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
3345
5971 d 19 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
3316
5979 d 0 h
post
/branches/shell/uspace/app/bdsh/
Remove unused agrument parsing / detecting functions
/branches/shell/uspace/app/bdsh/util.c
/branches/shell/uspace/app/bdsh/util.h
3280
5983 d 11 h
post
/branches/shell/uspace/app/bdsh/
Get rid of cli_free() wrapper (no longer needed), this also removes -fno-strict-aliasing
/branches/shell/uspace/app/bdsh/Makefile
/branches/shell/uspace/app/bdsh/Makefile.gnu
/branches/shell/uspace/app/bdsh/util.c
/branches/shell/uspace/app/bdsh/util.h
3269
5983 d 20 h
post
/branches/shell/uspace/app/bdsh/
cd: Don't send users to non-existent usr->home on 0 arguments, add debug noise
/branches/shell/uspace/app/bdsh/cmds/builtins/cd/cd.c
/branches/shell/uspace/app/bdsh/cmds/builtins/cd/entry.h
/branches/shell/uspace/app/bdsh/cmds/modules/help/help.c
/branches/shell/uspace/app/bdsh/input.c
/branches/shell/uspace/app/bdsh/scli.c
/branches/shell/uspace/app/bdsh/util.c
3265
5984 d 1 h
post
/branches/shell/uspace/app/bdsh/
Added initial port of simple CLI to bdsh (brain dead shell)
/branches/shell/uspace/app/bdsh
/branches/shell/uspace/app/bdsh/AUTHORS
/branches/shell/uspace/app/bdsh/LICENSE
/branches/shell/uspace/app/bdsh/Makefile
/branches/shell/uspace/app/bdsh/Makefile.gnu
/branches/shell/uspace/app/bdsh/cmds
/branches/shell/uspace/app/bdsh/cmds/builtin_cmds.c
/branches/shell/uspace/app/bdsh/cmds/builtins
/branches/shell/uspace/app/bdsh/cmds/builtins/README
/branches/shell/uspace/app/bdsh/cmds/builtins/builtin_aliases.h
/branches/shell/uspace/app/bdsh/cmds/builtins/builtins.h
/branches/shell/uspace/app/bdsh/cmds/builtins/cd
/branches/shell/uspace/app/bdsh/cmds/builtins/cd/cd.c
/branches/shell/uspace/app/bdsh/cmds/builtins/cd/cd.def
/branches/shell/uspace/app/bdsh/cmds/builtins/cd/cd.h
/branches/shell/uspace/app/bdsh/cmds/builtins/cd/entry.h
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/entry.h
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/pwd.c
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/pwd.def
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/pwd.h
/branches/shell/uspace/app/bdsh/cmds/cmds.h
/branches/shell/uspace/app/bdsh/cmds/mknewcmd
/branches/shell/uspace/app/bdsh/cmds/mod_cmds.c
/branches/shell/uspace/app/bdsh/cmds/modules
/branches/shell/uspace/app/bdsh/cmds/modules/README
/branches/shell/uspace/app/bdsh/cmds/modules/help
/branches/shell/uspace/app/bdsh/cmds/modules/help/entry.h
/branches/shell/uspace/app/bdsh/cmds/modules/help/help.c
/branches/shell/uspace/app/bdsh/cmds/modules/help/help.def
/branches/shell/uspace/app/bdsh/cmds/modules/help/help.h
/branches/shell/uspace/app/bdsh/cmds/modules/module_aliases.h
/branches/shell/uspace/app/bdsh/cmds/modules/modules.h
/branches/shell/uspace/app/bdsh/cmds/modules/quit
/branches/shell/uspace/app/bdsh/cmds/modules/quit/entry.h
/branches/shell/uspace/app/bdsh/cmds/modules/quit/quit.c
/branches/shell/uspace/app/bdsh/cmds/modules/quit/quit.def
/branches/shell/uspace/app/bdsh/cmds/modules/quit/quit.h
/branches/shell/uspace/app/bdsh/config.h
/branches/shell/uspace/app/bdsh/errors.c
/branches/shell/uspace/app/bdsh/errors.h
/branches/shell/uspace/app/bdsh/errstr.h
/branches/shell/uspace/app/bdsh/exec.c
/branches/shell/uspace/app/bdsh/exec.h
/branches/shell/uspace/app/bdsh/input.c
/branches/shell/uspace/app/bdsh/input.h
/branches/shell/uspace/app/bdsh/scli.c
/branches/shell/uspace/app/bdsh/scli.h
/branches/shell/uspace/app/bdsh/util.c
/branches/shell/uspace/app/bdsh/util.h