Rev 3346 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3346 | Rev 3366 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | Modules are commands or full programs (anything can be made into a module that can return |
1 | Modules are commands or full programs (anything can be made into a module |
2 | int type) should go here. Note, modules do not update the structures containing user info |
2 | that can return int type) should go here. Note, modules do not (can not) |
3 | such as the working directory, euid, etc. |
3 | update or read cliuser_t. |
- | 4 | ||
- | 5 | Stuff that needs to write to the user structures contained in scli.h should |
|
- | 6 | be made as built-in commands, not modules, but there are very few times when |
|
- | 7 | you would want to do that. |
|
- | 8 | ||
- | 9 | See the README file in the bdsh root directory for a quick overview of how to |
|
- | 10 | write a new command, or convert an existig stand-alone program into a module |
|
- | 11 | for BDSH. |
|
- | 12 | ||
4 | 13 | ||
5 | Stuff that needs to write to the user structures contained in scli.h should be made as |
- | |
6 | built-in commands, not modules. |
- | |
7 | 14 | ||
8 | 15 |