Rev |
Age |
Author |
Path |
Log message |
Diff |
4420 |
5574 d 18 h |
trochtova |
/branches/dd/ |
dd branch synchronized with trunk (revision 4419) |
|
4296 |
5609 d 14 h |
trochtova |
/branches/dd/ |
dd branch synchronized with trunk (revision 4295) |
|
4201 |
5624 d 19 h |
trochtova |
/branches/dd/ |
changes in trunk (rev 4200) merged into dd branch |
|
4055 |
5648 d 18 h |
trochtova |
/branches/dd/ |
changes in trunk (rev 4054) merged into dd branch |
|
3945 |
5663 d 19 h |
svoboda |
/trunk/uspace/app/bdsh/cmds/modules/ls/ |
Fix file size display when doing 'ls' of another directory. |
|
3834 |
5685 d 13 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 |
5693 d 13 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
cstyle (nits) 80 column limit |
|
3815 |
5693 d 14 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 |
5693 d 15 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ls/ |
ls now prints file sizes |
|
3813 |
5693 d 17 h |
post |
/trunk/uspace/app/bdsh/ |
Get rid of cli_strdup(), cli_strtok(), cli_strtok_r(), just use facilities in libc |
|
3811 |
5693 d 23 h |
post |
/trunk/uspace/app/bdsh/ |
exit should be a builtin, since it will eventually need to know about running jobs |
|
3809 |
5694 d 0 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. |
|
3651 |
5747 d 19 h |
jermar |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
Nits. |
|
3650 |
5747 d 19 h |
jermar |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
Several fixes for cp. |
|
3645 |
5748 d 20 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
cp: Fix counter if verbose, remove debug printfs |
|
3643 |
5748 d 21 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
cp: fix type mis-match |
|
3642 |
5748 d 21 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
make copy_file() deal with files with zero length |
|
3641 |
5748 d 21 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
cp: don't return CMD_FAILURE for zero length files |
|
3640 |
5748 d 21 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cp/ |
Implement a rudamentary 'cp' for testing write() |
|
3534 |
5775 d 21 h |
svoboda |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
Fix bdsh/cat crash. Also fix error in zero-trailing the buffer. |
|
3420 |
5823 d 13 h |
post |
/trunk/uspace/app/bdsh/ |
Add skeletal sleep and cp commands (not yet working) |
|
3413 |
5823 d 15 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Simplify entry types (and return values) for commands |
|
3411 |
5823 d 16 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
Take debug printfs out of cat |
|
3376 |
5839 d 20 h |
post |
/trunk/uspace/app/bdsh/ |
Just make cli_count_args() a function |
|
3375 |
5840 d 18 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
long_options[] should be const where implemented |
|
3373 |
5840 d 20 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Rename non-standard extensions (cmd.def -> cmd_def.h) |
|
3371 |
5841 d 4 h |
post |
/trunk/uspace/app/bdsh/ |
pwd should be a module, not a builtin |
|
3366 |
5842 d 1 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 |
5844 d 1 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
Fix command description display, only command entry points need to be exposed. |
|
3360 |
5844 d 15 h |
post |
/trunk/uspace/app/bdsh/ |
Remove 'mount' |
|
3358 |
5845 d 0 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
cat: no reason to set i = optind twice :) |
|
3357 |
5845 d 0 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
cat: purpose updated in cat.def |
|
3356 |
5845 d 0 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
Add a basic cat, cat --help shows future options |
|
3355 |
5845 d 22 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/mkdir/ |
mkdir: Get rid of useless while loop (spaghetti) |
|
3354 |
5846 d 0 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/mkdir/ |
mkdir: increment ret if mkdir() fails |
|
3353 |
5846 d 0 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/mkdir/ |
mkdir is finished, -p / --parents options and more now functional |
|
3346 |
5846 d 22 h |
post |
/trunk/ |
Merge with shell @ 3241 for bdsh |
|
3338 |
5849 d 23 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/rm/ |
rm: Fix psychotic tabbing in long_options structure |
|
3337 |
5850 d 0 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/rm/ |
rm: add options, job structure, sanity (recursion still not done) |
|
3326 |
5853 d 1 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ |
Fixed last few bugs in ls, added todo notes |
|