next up previous
Next: 2.3 Appending Files Up: 2. The Command Line Previous: 2.1 Loading a Single

2.2 Loading Multiple Files

You can specify more than one filename if you wish. For example:

ved file1 file2 file3

will load three files into separate buffers. The first file will be displayed. Displaying the other files is easy, and is covered in detail in Chapter 8. The maximum number of buffers you can load at one time is 50. This is controlled at compile time and can be changed though the setting of the constant MAXBUFFS in ved.h. We've decided that 50 is a reasonable number ... but you can change it if you want. Let us know what problems you run into with larger values!

Since your shell controls wildcard expansion, a line like:

ved *.h

would load all the ``.h'' into separate buffers.



2004-05-02