Darwin Help
Back to Index
Input/Output
Input/output is done in Darwin through function calls.
The open commands cause no immediate input/output, they are expected
to be followed by read or write commands.
The open commands accept the name 'terminal', meaning the standard
interactive input and output (stdin/stdout) of Darwin.
File input/output
| dprint | print a general expression so that it can be read back |
| lprint | print a general expression |
| OpenAppending | all future output will be appended to file |
| OpenPipe | all future ReadRawLine commands will read from pipe |
| OpenReading | all future ReadRawLine commands will read from file |
| OpenWriting | all future output will go to file |
| print | pretty print expressions |
| printf | print according to format |
| ReadRawFile | read an entire file as a string |
| ReadRawLine | read a line as a string |
Darwin commands input/output
| OpenPipe | all future ReadLine commands will read from pipe |
| OpenReading | all future ReadLine commands will read from file |
| ReadLibrary | read a file/function from the darwin library |
| ReadLine | reads a darwin command in a single line |
| ReadOffsetLine | reads a darwin command from a file (offseted) |
| ReadProgram | read an entire file of darwin commands |
Databases input/output
| Protein/Nucleotide: | ReadDb |
| | ReadBrk |
| | ReadDomain |
| | ReadDssp |
| | ReadFasta |
| | ReadMap |
| | ReadMsa |
| | ReadPima |
| | ReadPir |
| | WriteDomainDB |
| | WriteFasta |
| Grid files: | AddGrid |
| | CloseGrid |
| | CompressGrid |
| | CreateGrid |
| | FlushGrid |
| | GetNextGrid |
| | MapGrid |
| | OpenGrid |
| | QueryGrid |
| | UncompressGrid |
| NDBM: | StoreKey |
| | FindKey |
Plotting output
System commands