home *** CD-ROM | disk | FTP | other *** search
-
-
-
- =====( FileEd V1.00 )=============================================
-
-
- Trion offline GUI FileEditor.
-
- (c) Copyright Paul Spijkerman, '96-'97. All rights reserved.
-
- Written for use with the Trion BBS package.
-
-
- ===================================================================
-
-
- The programm called FileEd is the offline GUI FileCatalogue
- Editor of the Trion BBS package.
- There is also a simple file editor in the BBS programm itself
- wich we will revere to as the "online editor".
-
- The GUI windows of the File editor are dynamic, you can resize
- them and they render them self using all the space in the window.
- The list with users becomes shorter or longer and the space
- between buttons and other GUI elements changes.
- Also GUI elements like buttons can change size to better use the
- window space .. This depends on what is usefull in Utilities.
-
- You can start it by typing FileEd in shell or by Clicking on
- the Files button in TrionRM monitor or the GuiMod programm.
- If it was run this way you find yourself in the section list
- to select a file section.
-
- You select a file section by clicking once on a section
- name. When you selected a section you are in the file list.
-
- You can select a file by double clicking on them,
- or click one time on a file and click on the "Edit" button or by
- typing return in the file string gadged.
- The filelist has a wildcard option, you can type a search
- string in the "Show" string gadged and only matching files
- will be shown in the Filelist.
-
- Note that if you click on the Delete button in the file list,
- the file is removed from the file catalogue, but the fysical
- file is moved to the killed files directory.
-
-
- If you start it from shell with a name on the commandline or
- you click on a file name in the Maintenance monitor the
- FileEditor will load a File at run time and you
- find yourself in the FileEdit part of the programm.
-
- Note that if you start the programm from shell you have
- to put the name on the command line between "" if it
- contains spaces.
-
-
-
- The file editor has a simple DescriptionEditor which needs
- a little work because it is a difficult subject.
-
- A long time ago a description was just a long line of
- characters without returns, showing was relativly easy
- it was just a wordwrap add the end of the line on a
- space and then skip the next spaces.
-
- Then came formatted descriptions with returns in it.
- (descriptions from File_ID.diz files).
- Now you have to go to the next line if you see a return
- but also do the wordwrap thing, but you cannot skip the
- spaces at the beginning of the line .. because some
- formatted File_ID.diz descriptions become very messy.
- So when showing a file the BBS first checks if there
- are returns and if there are space at the beginning
- of the line are not skipped.
-
- Editing something like this is not easy .. because
- some lines in the editor end with a return and
- some are wrapped. If the description is saved after
- editing the wordwrapped lines can't have returns
- after them because they become a mess. So you can't
- use a normal full screen editor.
-
- So I use the line editor with 2 special characters, the
- 'inverted P' is the end of a line marker (word wrap or
- return) .. and a '>>' character means that the line
- was terminated with a return. So don't remove those
- characters because you will be creating a real mess.
-
- The descriptions are shown in the line editor at the
- same way they are shown in the BBS .. exept spaces
- before the end of the line marker are trown away
- because of the way lines are saved.
- When the description is saved the lines from
- the line editor are written to disk with a character
- between the lines. If the line ended with a return the
- character is a return ofcouse.. but if the line was wrapped
- (so there was no return) a space is placed between lines
- so words from differend lines are not glued together.
-
- Editing goes something like this.
- If you click on a line it is copied to the stringgadget
- under the descriptions. where you can edit the line.
- If you click on an other line the line you edited is
- copied back and a new line is copied to the editor.
- Also when you press return in the stringgadget it is
- copied back to the description.
- You can add lines to the description by clicking on
- the first empty line beneath the description .. the
- empty line is copied to the stringgadget .. and when it
- is copied back there will be an 'inverted P' at the end.
- When you click on the Update button all lines to the
- first empty line will be saved.
-
-