Ignore:
Timestamp:
2008-08-27T05:36:12Z (16 years ago)
Author:
Tim Post <echo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b4b7b6
Parents:
b510d52
Message:

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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/builtins/README

    rb510d52 re2ea8d7e  
    55Examples of what should be a built-in and not a module would be:
    66
    7 cd     (the cwd needs to be updated)
    8 prompt (the prompt needs to be updated)
    9 enable (the euid needs to be updated)
     7cd     (cliuser_t->cwd needs to be updated)
     8
     9In the future, more user preferences will be set via built-in commands,
     10such as the formatting of the prompt string (HelenOS doesn't yet have
     11an environment, much less PS*, even if it did we'd likely do it a little
     12differently).
    1013
    1114.... etc.
    1215
    13 Anything that does _not_ need to write to this structure should be included
    14 as a module, not a built in.
     16Anything that does _not_ need to use this structure should be included
     17as a module, not a built in. If you want to include a new command, there
     18is a 99% chance that you want it to be a module.
    1519
    16 For now, a skeleton directory of stuff that will exist lives here.
     20
     21
Note: See TracChangeset for help on using the changeset viewer.