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
3882 5596 d 1 h decky /trunk/uspace/ cleanup configuration
code cleanup
 
3834 5609 d 3 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.  
3816 5617 d 3 h post /trunk/uspace/app/bdsh/cmds/modules/cp/ cstyle (nits) 80 column limit  
3815 5617 d 4 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.
 
3814 5617 d 6 h post /trunk/uspace/app/bdsh/cmds/modules/ls/ ls now prints file sizes  
3813 5617 d 7 h post /trunk/uspace/app/bdsh/ Get rid of cli_strdup(), cli_strtok(), cli_strtok_r(), just use facilities in libc  
3812 5617 d 13 h post /trunk/uspace/app/bdsh/ Get rid of cli_restricted and cli_interactive  
3811 5617 d 14 h post /trunk/uspace/app/bdsh/ exit should be a builtin, since it will eventually need to know about running jobs  
3810 5617 d 14 h post /trunk/uspace/app/bdsh/cmds/ Update the mknewcmd script  
3809 5617 d 14 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.
 
3803 5619 d 3 h decky /trunk/ configuration system overhaul (requires newt)  
3767 5638 d 8 h svoboda /trunk/uspace/ Console color support overhaul. Create C library console interface.  
3651 5671 d 9 h jermar /trunk/uspace/app/bdsh/cmds/modules/cp/ Nits.  
3650 5671 d 9 h jermar /trunk/uspace/app/bdsh/cmds/modules/cp/ Several fixes for cp.  
3645 5672 d 10 h post /trunk/uspace/app/bdsh/cmds/modules/cp/ cp: Fix counter if verbose, remove debug printfs  
3643 5672 d 11 h post /trunk/uspace/app/bdsh/cmds/modules/cp/ cp: fix type mis-match  
3642 5672 d 11 h post /trunk/uspace/app/bdsh/cmds/modules/cp/ make copy_file() deal with files with zero length  
3641 5672 d 11 h post /trunk/uspace/app/bdsh/cmds/modules/cp/ cp: don't return CMD_FAILURE for zero length files  
3640 5672 d 12 h post /trunk/uspace/app/bdsh/cmds/modules/cp/ Implement a rudamentary 'cp' for testing write()  
3534 5699 d 11 h svoboda /trunk/uspace/app/bdsh/cmds/modules/cat/ Fix bdsh/cat crash. Also fix error in zero-trailing the buffer.  
3487 5723 d 11 h post /trunk/uspace/app/bdsh/ No need to cast argv[] in try_exec()  
3483 5728 d 12 h post /trunk/uspace/app/bdsh/ Eliminate unused functions in util.c  
3481 5729 d 12 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.  
3480 5729 d 13 h post /trunk/uspace/app/bdsh/ cli_redup() should be size_t and return as such to avoid undefined behavior with large strings.  
3461 5741 d 13 h post /trunk/uspace/app/bdsh/ Fix prompt (AGAIN), sorry!  
3460 5741 d 13 h post /trunk/uspace/app/bdsh/ exec.c: try_access() should not be unsigned, found should be static  
3459 5741 d 13 h post /trunk/uspace/app/bdsh/ Fix prompt (whoops!)  
3434 5744 d 15 h post /trunk/uspace/app/bdsh/ Drop references to __HELENOS__ in config.h  
3420 5747 d 4 h post /trunk/uspace/app/bdsh/ Add skeletal sleep and cp commands (not yet working)  
3419 5747 d 4 h post /trunk/uspace/app/bdsh/cmds/ Fix bug in mknewcmd (incorrectly prototyping entry points)  
3418 5747 d 4 h post /trunk/uspace/app/bdsh/ cstyle  
3417 5747 d 4 h post /trunk/uspace/app/bdsh/ Fix quirks in config.h  
3414 5747 d 5 h post /trunk/uspace/app/bdsh/ Update README and mknewcmd to reflect changes in command entry points  
3413 5747 d 6 h post /trunk/uspace/app/bdsh/cmds/ Simplify entry types (and return values) for commands  
3411 5747 d 6 h post /trunk/uspace/app/bdsh/cmds/modules/cat/ Take debug printfs out of cat  
3410 5747 d 7 h svoboda /trunk/ Introduce directories '/app' and '/srv' on ramdisk instead of '/sbin' to mirror source tree.  
3396 5751 d 11 h post /trunk/uspace/app/bdsh/ We need cli_set_prompt() in the main loop as modules are unaware of cliuser_t  
3378 5762 d 6 h post /trunk/uspace/app/bdsh/ main() - remove unused variable i  
3377 5762 d 6 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 5763 d 10 h post /trunk/uspace/app/bdsh/ Just make cli_count_args() a function