home *** CD-ROM | disk | FTP | other *** search
-
-
- Introduction
- ------------
-
- This chapter describes the text files used by Trion BBS in
- menus, by menu commands and other places and how they are
- named and used.
-
-
- Text files
- ----------
-
- Text files are the files that produce most output to the screen.
- They are used in menus to produce a screen with selections.
- They are used by the system to show login screens and can be
- used by menu commands to show all kind of texts or to show
- the logout screen.
-
- Text files can not only contain pure text but also ANSI,
- or RIP codes to add colors or other graphical effects.
-
- Basically text files can have every name but there are
- a number of special cases.
- When you give a name and the system can't find the file
- it will try a number of extensions:
-
- ".ANSI", ".TXT", ".RIP", ".GR0"
-
- When a file with on of these extensions if found it will
- be printed.
- So in a menu you can use names like "mailscreen" and not
- have to worry about extensions in the name of the files
- on disk. But you could also have named the file "mailscreen.ANSI"
- but only files with that name will be displayed. If you
- would rename the file on disk to "mailscreen.RIP" the system
- can't find it.
-
- Note that files with the extension ".RIP" are a little
- different interpreted as other screens. In other screens
- the number of lines are counted, and if the screen if
- "full" a more prompt will appear. In RIPscrip a line
- of codes doesn't have the same meaning as a line with
- text but is the code the graphical draw a screen so
- there are no more prompts in RIPscreens.
-
-
- File types
- ----------
-
- Menu screens:
-
- Default menu screens are stored in "Trion:menutext/".
- Screens from that directory are used when a user selects menu set 0
- or when there are no screens for other menu sets.
- For menu sets greater than zero a number is added to the name.
- So screens for menu set one are stored in "Trion:menutext1/"
- and so on for other menu sets. But when the directory or
- the file name does not exists the screen from menu set zero is used.
- Note that the menu set number is also used to select a BBStext set.
-
- Text screens:
-
- While loging in the BBS will display a number of screens, these
- screens are stored in "Trion:text/".
- The first screen displayed is "login.ansi".
- For all the following screens a number should be added after the
- login part like "login1.ansi".
- Note that if a screen with a certain number does not exist the
- BBS will terminate the loop to show login screens. So you
- should leave no gaps in the numbering.
-
- Texts displayed by menu commands:
-
- There are menu commands to print files to the screen like
- PrintFile and PrintFileNoPause.
- These are used by the system to print the logout screen.
- The screens are not limited to one space on harddisk so
- a path has to be used. Note that "Trion:text/" is used
- in the default menu set. It's a good idea to store all
- your text files their so you don't have to search
- when you are updating a screen.
-
- An example would be :
-
- PrintFile "trion:text/logout.ansi"
-
-
-