Rev |
Age |
Author |
Path |
Log message |
Diff |
3811 |
5767 d 3 h |
post |
/trunk/uspace/app/bdsh/ |
exit should be a builtin, since it will eventually need to know about running jobs |
|
3809 |
5767 d 3 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 |
5896 d 19 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Simplify entry types (and return values) for commands |
|
3377 |
5911 d 20 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 |
5913 d 0 h |
post |
/trunk/uspace/app/bdsh/ |
Just make cli_count_args() a function |
|
3373 |
5914 d 0 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Rename non-standard extensions (cmd.def -> cmd_def.h) |
|
3371 |
5914 d 8 h |
post |
/trunk/uspace/app/bdsh/ |
pwd should be a module, not a builtin |
|
3366 |
5915 d 5 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 |
5920 d 2 h |
post |
/trunk/ |
Merge with shell @ 3241 for bdsh |
|
3333 |
5925 d 21 h |
post |
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/ |
pwd: need to include config.h |
|
3329 |
5925 d 22 h |
post |
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/ |
pwd: Use getcwd(), don't just print usr->cwd from cliuser_t |
|
3304 |
5930 d 2 h |
post |
/branches/shell/uspace/app/bdsh/ |
Get rid of -DHELENOS (glibc builds will now break) |
|
3278 |
5931 d 18 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 |
5932 d 3 h |
post |
/branches/shell/uspace/app/bdsh/ |
cd: Don't send users to non-existent usr->home on 0 arguments, add debug noise |
|
3267 |
5932 d 7 h |
post |
/branches/shell/uspace/app/bdsh/cmds/builtins/cd/ |
cd: Don't look for errno.h in sys/ |
|
3265 |
5932 d 7 h |
post |
/branches/shell/uspace/app/bdsh/ |
Added initial port of simple CLI to bdsh (brain dead shell) |
|