Rev |
Age |
Author |
Path |
Log message |
Diff |
3377 |
5886 d 2 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 |
5887 d 6 h |
post |
/trunk/uspace/app/bdsh/ |
Just make cli_count_args() a function |
|
3375 |
5888 d 4 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
long_options[] should be const where implemented |
|
3373 |
5888 d 6 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Rename non-standard extensions (cmd.def -> cmd_def.h) |
|
3371 |
5888 d 14 h |
post |
/trunk/uspace/app/bdsh/ |
pwd should be a module, not a builtin |
|
3366 |
5889 d 11 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 |
5891 d 11 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
Fix command description display, only command entry points need to be exposed. |
|
3360 |
5892 d 1 h |
post |
/trunk/uspace/app/bdsh/ |
Remove 'mount' |
|
3358 |
5892 d 10 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
cat: no reason to set i = optind twice :) |
|
3357 |
5892 d 10 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
cat: purpose updated in cat.def |
|
3356 |
5892 d 10 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/cat/ |
Add a basic cat, cat --help shows future options |
|
3355 |
5893 d 8 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/mkdir/ |
mkdir: Get rid of useless while loop (spaghetti) |
|
3354 |
5893 d 10 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/mkdir/ |
mkdir: increment ret if mkdir() fails |
|
3353 |
5893 d 10 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/mkdir/ |
mkdir is finished, -p / --parents options and more now functional |
|
3346 |
5894 d 8 h |
post |
/trunk/ |
Merge with shell @ 3241 for bdsh |
|
3338 |
5897 d 9 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/rm/ |
rm: Fix psychotic tabbing in long_options structure |
|
3337 |
5897 d 9 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/rm/ |
rm: add options, job structure, sanity (recursion still not done) |
|
3333 |
5900 d 3 h |
post |
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/ |
pwd: need to include config.h |
|
3329 |
5900 d 4 h |
post |
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/ |
pwd: Use getcwd(), don't just print usr->cwd from cliuser_t |
|
3326 |
5900 d 11 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ |
Fixed last few bugs in ls, added todo notes |
|
3319 |
5901 d 8 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/cat/ |
A bogus 'cat' which (for now) tests getopt. |
|
3311 |
5903 d 9 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ |
Re-generated mount / cat with new mknewcmd |
|
3310 |
5903 d 9 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ |
ls: Remove unused var s[] |
|
3309 |
5903 d 13 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 |
5904 d 9 h |
post |
/branches/shell/uspace/app/bdsh/ |
Get rid of -DHELENOS (glibc builds will now break) |
|
3302 |
5904 d 9 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 |
5904 d 9 h |
post |
/branches/shell/uspace/app/bdsh/cmds/ |
mknewcmd: util.h should be included by default |
|
3297 |
5904 d 11 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/touch/ |
touch: accept multiple arguments |
|
3296 |
5904 d 11 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/rm/ |
Added basic rm functionality (not yet recursive) |
|
3295 |
5904 d 13 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/touch/ |
Add the basics of a touch command |
|
3294 |
5904 d 13 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ |
ls/mkdir: Update license headers and help displays |
|
3293 |
5904 d 23 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ |
Add basic functional 'ls' |
|
3286 |
5905 d 9 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/mkdir/ |
Implemented basics in mkdir |
|
3284 |
5905 d 9 h |
post |
/branches/shell/uspace/app/bdsh/cmds/ |
mknewcmd: Generated stub should include errors.h and config.h |
|
3283 |
5905 d 9 h |
post |
/branches/shell/uspace/app/bdsh/cmds/ |
mknewcmd: Generated functions should return CMD_* |
|
3278 |
5906 d 0 h |
post |
/branches/shell/uspace/app/bdsh/cmds/builtins/cd/ |
cd: Don't try to chdir(NULL) if no argument is given, fix help info |
|
3277 |
5906 d 0 h |
post |
/branches/shell/uspace/app/bdsh/ |
Add skeletal touch, mkdir, cat, rm, and ls |
|
3276 |
5906 d 0 h |
post |
/branches/shell/uspace/app/bdsh/cmds/ |
Modified mknewcmd shell script to get rid of autoconfisms, config.h now included by default |
|
3269 |
5906 d 9 h |
post |
/branches/shell/uspace/app/bdsh/ |
cd: Don't send users to non-existent usr->home on 0 arguments, add debug noise |
|
3267 |
5906 d 13 h |
post |
/branches/shell/uspace/app/bdsh/cmds/builtins/cd/ |
cd: Don't look for errno.h in sys/ |
|