Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
3378 5745 d 5 h post /trunk/uspace/app/bdsh/ main() - remove unused variable i  
3377 5745 d 5 h post /trunk/uspace/app/bdsh/ Let 'cd' invoke cli_set_prompt(), no need to do it in every iteration of the main loop.  
3376 5746 d 9 h post /trunk/uspace/app/bdsh/ Just make cli_count_args() a function  
3375 5747 d 7 h post /trunk/uspace/app/bdsh/cmds/modules/ long_options[] should be const where implemented  
3374 5747 d 9 h post /trunk/uspace/app/bdsh/ Drop inclusion of lib/ and lib/ustr in the Makefile (this completes housekeeping)  
3373 5747 d 9 h post /trunk/uspace/app/bdsh/cmds/ Rename non-standard extensions (cmd.def -> cmd_def.h)  
3372 5747 d 12 h post /trunk/uspace/app/bdsh/ More house cleaning, don't expose beyond what's needed  
3371 5747 d 17 h post /trunk/uspace/app/bdsh/ pwd should be a module, not a builtin  
3367 5748 d 14 h post /trunk/uspace/app/bdsh/ Add a README to explain how things work  
3366 5748 d 14 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
 
3364 5750 d 14 h post /trunk/uspace/app/bdsh/cmds/modules/ Fix command description display, only command entry points need to be exposed.  
3361 5751 d 4 h post /trunk/uspace/app/bdsh/ Update TODO list  
3360 5751 d 4 h post /trunk/uspace/app/bdsh/ Remove 'mount'  
3358 5751 d 13 h post /trunk/uspace/app/bdsh/cmds/modules/cat/ cat: no reason to set i = optind twice :)  
3357 5751 d 13 h post /trunk/uspace/app/bdsh/cmds/modules/cat/ cat: purpose updated in cat.def  
3356 5751 d 13 h post /trunk/uspace/app/bdsh/cmds/modules/cat/ Add a basic cat, cat --help shows future options  
3355 5752 d 11 h post /trunk/uspace/app/bdsh/cmds/modules/mkdir/ mkdir: Get rid of useless while loop (spaghetti)  
3354 5752 d 13 h post /trunk/uspace/app/bdsh/cmds/modules/mkdir/ mkdir: increment ret if mkdir() fails  
3353 5752 d 13 h post /trunk/uspace/app/bdsh/cmds/modules/mkdir/ mkdir is finished, -p / --parents options and more now functional  
3346 5753 d 11 h post /trunk/ Merge with shell @ 3241 for bdsh  
3345 5753 d 11 h post /branches/shell/uspace/app/bdsh/ Add cli_psprintf() and cli_redup() to util.c  
3342 5756 d 12 h post /branches/shell/uspace/app/bdsh/ cli_set_prompt() should be unsigned, fixed.  
3341 5756 d 12 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)
 
3340 5756 d 12 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).
 
3339 5756 d 12 h post /branches/shell/uspace/app/bdsh/ input: stop double-checking for non-null terminated input, add to-do and comments  
3338 5756 d 12 h post /branches/shell/uspace/app/bdsh/cmds/modules/rm/ rm: Fix psychotic tabbing in long_options structure  
3337 5756 d 13 h post /branches/shell/uspace/app/bdsh/cmds/modules/rm/ rm: add options, job structure, sanity (recursion still not done)  
3333 5759 d 6 h post /branches/shell/uspace/app/bdsh/cmds/builtins/pwd/ pwd: need to include config.h  
3329 5759 d 8 h post /branches/shell/uspace/app/bdsh/cmds/builtins/pwd/ pwd: Use getcwd(), don't just print usr->cwd from cliuser_t  
3326 5759 d 14 h post /branches/shell/uspace/app/bdsh/cmds/modules/ls/ Fixed last few bugs in ls, added todo notes  
3319 5760 d 11 h post /branches/shell/uspace/app/bdsh/cmds/modules/cat/ A bogus 'cat' which (for now) tests getopt.  
3316 5760 d 16 h post /branches/shell/uspace/app/bdsh/ Remove unused agrument parsing / detecting functions  
3311 5762 d 12 h post /branches/shell/uspace/app/bdsh/cmds/modules/ Re-generated mount / cat with new mknewcmd  
3310 5762 d 12 h post /branches/shell/uspace/app/bdsh/cmds/modules/ls/ ls: Remove unused var s[]  
3309 5762 d 16 h post /branches/shell/uspace/app/bdsh/cmds/modules/ls/ ls: fix bug where all entries are printed as directories when listing relative paths  
3304 5763 d 12 h post /branches/shell/uspace/app/bdsh/ Get rid of -DHELENOS (glibc builds will now break)  
3303 5763 d 12 h post /branches/shell/uspace/app/bdsh/ Remove Makefile.gnu  
3302 5763 d 12 h post /branches/shell/uspace/app/bdsh/ Added a stub for a future mount command, at this point we stop updating the GNU
makefile.
 
3301 5763 d 12 h post /branches/shell/uspace/app/bdsh/cmds/ mknewcmd: util.h should be included by default  
3300 5763 d 13 h post /branches/shell/uspace/app/bdsh/ Added a TODO list