lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 1b20da0 was e2ea8d7e, checked in by Tim Post <echo@…>, 17 years ago |
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
|
-
Property mode
set to
100644
|
File size:
766 bytes
|
Rev | Line | |
---|
[216d6fc] | 1 | Commands that need to modify the running user structure defined in scli.h
|
---|
| 2 | should reside here. They (will) have a slightly different prototype that
|
---|
| 3 | allows passing the user structure to them for ease of modifications.
|
---|
| 4 |
|
---|
| 5 | Examples of what should be a built-in and not a module would be:
|
---|
| 6 |
|
---|
[e2ea8d7e] | 7 | cd (cliuser_t->cwd needs to be updated)
|
---|
| 8 |
|
---|
| 9 | In the future, more user preferences will be set via built-in commands,
|
---|
| 10 | such as the formatting of the prompt string (HelenOS doesn't yet have
|
---|
| 11 | an environment, much less PS*, even if it did we'd likely do it a little
|
---|
| 12 | differently).
|
---|
[216d6fc] | 13 |
|
---|
| 14 | .... etc.
|
---|
| 15 |
|
---|
[e2ea8d7e] | 16 | Anything that does _not_ need to use this structure should be included
|
---|
| 17 | as a module, not a built in. If you want to include a new command, there
|
---|
| 18 | is a 99% chance that you want it to be a module.
|
---|
| 19 |
|
---|
| 20 |
|
---|
[216d6fc] | 21 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.