home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / nShell Prog / Programmer's Guide / 02 General < prev    next >
Encoding:
Text File  |  1994-09-04  |  1.1 KB  |  13 lines  |  [TEXT/ttxt]

  1. 02 General
  2. ==========
  3.  
  4. The nShell uses external code resources for most commands.  The commands which are built into the nShell application are those used for basic navigation: cd, pwd, path, which, and so on.  (Type “which command” at the nShell prompt to see where a command resides.)
  5.  
  6. Because the bulk of the commands are stored externally in the :bin directory, you can modify or replace them to fit your preferences.  The usual technique is to create a new directory called "custom" and set your path to “:/${HOME}custom/${HOME}bin”.  This will cause nShell to search the "custom" directory for each command (after it searches the current directory and before it looks in "bin").
  7.  
  8. External commands are very closely tied to the nShell application.  For this reason, the “External Command Interface” section of this manual should be followed very carefully.
  9.  
  10. We have included source code for several commands using Symantec’s THINK C.
  11.  
  12. Technical notes have also been included which explain how to write nShell commands using Metrowerk's CodeWarrior and Symantec's THINK Pascal.
  13.