Rev |
Age |
Author |
Path |
Log message |
Diff |
3811 |
5685 d 20 h |
post |
/trunk/uspace/app/bdsh/ |
exit should be a builtin, since it will eventually need to know about running jobs |
|
3809 |
5685 d 21 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. |
|
3413 |
5815 d 12 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Simplify entry types (and return values) for commands |
|
3377 |
5830 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. |
|
3376 |
5831 d 17 h |
post |
/trunk/uspace/app/bdsh/ |
Just make cli_count_args() a function |
|
3373 |
5832 d 17 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Rename non-standard extensions (cmd.def -> cmd_def.h) |
|
3371 |
5833 d 1 h |
post |
/trunk/uspace/app/bdsh/ |
pwd should be a module, not a builtin |
|
3366 |
5833 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 |
|
3346 |
5838 d 19 h |
post |
/trunk/ |
Merge with shell @ 3241 for bdsh |
|
3333 |
5844 d 14 h |
post |
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/ |
pwd: need to include config.h |
|
3329 |
5844 d 16 h |
post |
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/ |
pwd: Use getcwd(), don't just print usr->cwd from cliuser_t |
|
3304 |
5848 d 20 h |
post |
/branches/shell/uspace/app/bdsh/ |
Get rid of -DHELENOS (glibc builds will now break) |
|
3278 |
5850 d 11 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 |
|
3269 |
5850 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 |
|
3267 |
5851 d 1 h |
post |
/branches/shell/uspace/app/bdsh/cmds/builtins/cd/ |
cd: Don't look for errno.h in sys/ |
|
3265 |
5851 d 1 h |
post |
/branches/shell/uspace/app/bdsh/ |
Added initial port of simple CLI to bdsh (brain dead shell) |
|