home *** CD-ROM | disk | FTP | other *** search
/ Amiga Times / AmigaTimes.iso / programme / trionbbs110 / Trion / docs / Updates / trion104.doc < prev    next >
Encoding:
Text File  |  1998-10-06  |  14.9 KB  |  399 lines

  1.  
  2.  
  3.         _____     _                  _     _              _    ___
  4.        |_   _|_ _(_) ___  _ __      | |__ | |__  ___     / |  / _ \
  5.          | | | '_| |/ _ \| '_ \     | '_ \| '_ \/ __|    | | | | | |
  6.          | | | | | | (_) | | | |    | |_) | |_) \__ \    | |_| |_| |
  7.          |_| |_| |_|\___/|_| |_|    |____/|____/|___/    |_(_)\___/
  8.  
  9.                         © 1994/97 by Paul Spijkerman
  10.                              All Rights Reserved
  11.  
  12.  
  13.      Update from V1.00 -> V1.04
  14.  
  15.      Well here is the fourth Update since the Version V1.0 archive.
  16.  
  17.      It took a long time, because some things where going very
  18.      slowly. And I was doing a lot of things at the same time.
  19.      So this update is more or less the smaller things I
  20.      did between the bigger things.
  21.  
  22.      I finally sold my Xenolink package I had laying on a shelf
  23.      almost sold it a number of times. But the people didn't
  24.      call back.
  25.  
  26.      I was developping extensions for the GUI-lib, like 
  27.      requesters to show wat went wrong, and a View window
  28.      for the GUI of the mailer and a dynamic list where you
  29.      can select more then one item for the file and mail
  30.      editor. Not finished yet.
  31.  
  32.      Checked a number of manuals and started to write a manual
  33.      for Trion (a disk based manual) but there are more holes
  34.      than text a this moment so it isn't included yet.
  35.  
  36.      I have been working on RIPscrip graphics a bit, but still
  37.      havn't found out how the BGI stroked Font files from
  38.      Borland work.
  39.  
  40.      I have been working on Blue Wave but noting more then
  41.      test code at this moment.
  42.  
  43.      I have been experimenting with a GUI for the mailer,
  44.      but there where a number of problems I haven't worked
  45.      out yet. Like a GUI element to show what is coming
  46.      in on the serial port and what inlog text is printed.
  47.      During a problem with an IEMSI inlog the users has
  48.      to type his name but he is still in the mailer,
  49.      the problem is when to go from the GUI window to
  50.      the ANSI window. And there probably has to be a
  51.      separate file transfer window for BBS and mailer.
  52.  
  53.      Stil studying on Internet books etc.
  54.  
  55.  
  56.  
  57.      Utils:   BBS, TrionRM, tick, areafix, ViewPacket, Tmp, BBStext, Menu
  58.               FileEd, UserEd, Maintmod, Guimod, MailEd, KillOldUsers
  59.               LastCallers, ScanUserStats, ShowStats, TopDL
  60.      Docs:    Trion-Net.doc, rexxlist
  61.      Doors:   ReadNla.rexx
  62.  
  63.  
  64.  
  65.    -Started with a GUI mail.cfg editor, but at this time it is
  66.     only a mail.cfg viewer because GUI code to select a number
  67.     of sections at a time wasn't ready yet.
  68.     But you can use it to check if all echomail sections are
  69.     in the mail.cfg.
  70.  
  71.    -Fixed a little bug in the bounce netmail function of areafix,
  72.     it trashed a node number because a nodenumber copy command
  73.     worked just the oposit as i thought .. so it didn't always
  74.     send netmail.
  75.  
  76.    -There was a little problem in the lastcallers program, when
  77.     there were more then 99 files transfered all text on the line
  78.     was shifted one character to the rigth. This was already
  79.     fixed in other programs like TrionRM.
  80.  
  81.    -Changed the mailer a little bit, until now the first nodenumber
  82.     an incoming mailer presented was taken as his main node number.
  83.     Now it will look at all the numbers presented and it will pick
  84.     the first where the password is correct. If there isn't any
  85.     then it will take the first node number.
  86.     This is necessary for Zmodem transfers if there are no
  87.     files to send. In that case it will make an empty poll packet,
  88.     but if the password isn't correct for the first node that
  89.     packet was never sent.
  90.  
  91.    -Fixed a little problem with the RIPscrip graphics function
  92.     that copies a piece of the screen to the buffer to save
  93.     it as an icon or to stamp it on an other place of the screen.
  94.     What happens is that the first 16 or 32 pixels on the
  95.     first line had the wrong color. This is Fixed by putting
  96.     a command to wait until the blitter is finished after the
  97.     blitter command that copies a piece of the screen to my
  98.     buffer bitmap in memory.
  99.  
  100.     This code is like a "os-legal" chuncky to planer converter
  101.     code .. but it doesn't write in the bitmap of a screen it
  102.     writes in a custom bitmap and let's the blitter write it
  103.     in the bitmap of the screen. Tested how fast it actual is.
  104.     You can write 64x64 chuncky pixels more then 16 times a second
  105.     to the screen with 4 bitplanes.
  106.  
  107.     So I probably will use this code to make the scheduler faster
  108.     and maybe to plot text in the RIPscrip mode with the RIP fonts.
  109.  
  110.    -Fixed a little problem in the BBStext compiler, it didn't
  111.     worked exactly as advertised.
  112.  
  113.     It should translate '_' (underscores) to spaces and '|'
  114.     to returns. Unless there was a '%' before the '_' and '|'
  115.     then it should print the character after the '%'.
  116.     But the BBStext programm translated all '_' and '|'
  117.     so the bbs program never found a '_' of '|' after
  118.     a '%' .. this is now fixed .. the BBStext util
  119.     doesn't translate characters after a '%'.
  120.     
  121.    -The BBS recognizes the "+FHS:nn" string as a Fax connect.  (nn = 01 ?)
  122.     Later changed it to a "no carrier" string, it seems to mean
  123.     something like not connected (Fax Hangup Status nn).
  124.  
  125.    -Added a 'ScanWaitingMail' menu command.
  126.     There already was a 'ReadWaitingMail' command, but only
  127.     the messages which arrive on the system after the user
  128.     logs on for the first time are shown.
  129.  
  130.     The reason of this is that the mail processor adds messages
  131.     to waiting mail files of users when new mail comes in.
  132.     So there is no timely scan needed when some logs in.
  133.     But new users don't get to see any waiting mail altough
  134.     messages to them may be in the message base.
  135.  
  136.     With the new menu command you can make a messages file for
  137.     new users (or for yourself when deleted all waiting messages).
  138.     Just put the ScanWaitingMail for the line ReadWaitingMail in
  139.     the start menu with levels 0-4 or something like that.
  140.     The scan should be stopable with Ctrl-C
  141.  
  142.    -Added a 'Continue' menu command.
  143.     With this command you can ask (confirm) the user if he really
  144.     wants to do something. Works a bit like the password command,
  145.     you put it before an other command, and if the users answers
  146.     no the executing of the command sequence is exited.
  147.  
  148.     Confirm  "Do you really want to logoff (Y/n) ? "
  149.     Confirm  "Do you really want to scan for waiting mail (Y/n) ? "
  150.  
  151.  
  152. Cmd "?" , 0- 255
  153.    Confirm  "Do you really want to scan for waiting mail (Y/n) ? " 
  154.    ScanWaitingMail
  155.    More
  156. EndCmd
  157.  
  158.  
  159.  
  160.    -Added a warning to TrionRM that complains when there is not a
  161.     Trion key file to be found. There wasn't one before so there
  162.     weren't any hints to the key code, but that is a bit silly.
  163.  
  164.  
  165.    -Added an Info button to the UserEditor, when you press the
  166.     button you get the last on date and the place name instead
  167.     of the alias of the user. Note that loading in this mode
  168.     is a lot slower. With an other click on the Info button you
  169.     get the alias back.
  170.  
  171.     Made the UserEditor window 4 character wider and added levels.
  172.     The Usereditor also uses wildcards on aliases now.
  173.     Removed unused buttons with a few comment lines.
  174.  
  175.     When you have edited a user the user list was reloaded,
  176.     this is now only done when fields of the user that are
  177.     displayed in the user list are changed to make things
  178.     speedier.
  179.  
  180.  
  181.    -Removed some buttons from the file editor by putting a handfull
  182.     comment lines in the source without challenging the functionality.
  183.     The double buttons (Forward/Backward etc.) didn't work always
  184.     as they should. One of them should be on and the other off.
  185.     But Whatever I tried, it didn't worked like it should.
  186.     The current version has full functionality and the window
  187.     needs less space.
  188.  
  189.     Fixed a little problem in the File editor, when you click on
  190.     a fill it got the file from the list in the screen. It did this
  191.     by taking the text before the first space. This gave problems
  192.     with file names with spaces in them. So now it walks through
  193.     the file list it gets from TrionRM until it counted as much files
  194.     as the line it was on. This is only a fraction slower.
  195.  
  196.     Added the upload date to the file list, so you can delete old
  197.     files easier.
  198.  
  199.  
  200.    -Written code to calculate the exact number of days between
  201.     two days for use in some programs.
  202.  
  203.     Written a KillOldUsers program.
  204.     When you run it with a number on the command line it will
  205.     remove users that have not logged in for a number of days.
  206.     When you use -T on the command line it does not delete users
  207.     but just shows you what it would do if it was removing users.
  208.     So you can see if you have any users left after execution.
  209.     The program will only work with numbers greater then 30 to
  210.     protect the sysop against himself .. he can't delete his
  211.     own account that way :)
  212.     Maybe this is a good moment to make a copy of your Userbase.
  213.  
  214.    -Added an option to the checkfilebase program to remove old
  215.     files. If the files are older then the number on the
  216.     command line it will tell you the file is old.
  217.  
  218.  
  219.    -Added a Groups button to GuiMod (Config edit gui)
  220.  
  221.    -Had a real long think about how to do it RIGHT and implemented
  222.     more or less optional Group support. Groups (of mail or
  223.     file sections) could be easy if you have many sections.
  224.     It would be easier if a (sub) list of sections would fit
  225.     on one screen. Or why should an PC user see all the new
  226.     Amiga files (and vice versa).
  227.  
  228.     From what I have seen from systems as RemoteAccess and FrontDoor
  229.     (MS-DOS programmas I toyed with more then half a decade ago)
  230.     every sections has a character (a-z) to indicate to which group
  231.     they belong.
  232.     Which has its drawbacks, I have to change all programms because
  233.     the way sections are dealt with are changed, and what if you have
  234.     a Fido-netmail section, do you add it to the net-mail group or
  235.     to the Fido (echomail) group ?? Well .. wouldn't both be nice.
  236.     Or what if you would make a group with all programming sections
  237.     of all the mail nets you get.
  238.     Or how about a group with ALL sections, which is also
  239.     usefull for people (users or sysops) who don't want to use groups.
  240.  
  241.     So I added Group Support to TrionRM, programms that require
  242.     this option can get the information they need from TrionRM.
  243.     (Which is basically a couple of "Get Group Info" commands like:
  244.      GetFirstGroup, GetNextGroup, GetGroupOnNumber)
  245.  
  246.     With this system, the support for groups is separated from the
  247.     support for file and message sections. So nothing has to be
  248.     changed to programms like the mail processor, Areafix (which
  249.     has its own group system) and Allfiles.
  250.  
  251.     Also because of the way the BBS is written this system was
  252.     very easy to implement. Altough the code in the BBS programm
  253.     itself for messages and files is like 100KB+ C-code each.
  254.     The BBS programm uses a few functions to get the first
  255.     and next section to process. This is done because there
  256.     has to be checked if a user has access to a section.
  257.     For groups this access checking had to be extended with
  258.     group checking.
  259.  
  260.     When you don't want to Use groups you don't have to change
  261.     a thing. When there isn't a "trion:cfg/groups.cfg" (or
  262.     when there isn't a file or msgs group in the cfg) the system
  263.     makes an "All" group with all sections and the system should
  264.     work as before.
  265.  
  266.     Also you could use the system as before and use groups in
  267.     an other menu. If you have made ANSI screens to select
  268.     sections you probably don't need groups.
  269.  
  270.  
  271.     new MenuCommands
  272.  
  273.     ListFileGroups         (like: ListFileAreas)
  274.     OtherFileGroup         (like: OtherFileArea)
  275.     ChangeFileGroup "n"    (like: ChangeFileArea)
  276.  
  277.     ListMessageGroups      (like: ListMessageAreas)
  278.     OtherMessageGroup      (like: OtherMessageArea)
  279.     ChangeMessageGroup "n" (like: ChangeMessageArea)
  280.  
  281.  
  282.     new TildeCodes
  283.  
  284.       ~350                  File Group number
  285.       ~351                  File Group name
  286.       ~352                  Messages Group number
  287.       ~353                  Messages Group name
  288.  
  289.  
  290. Cmd "G"
  291.    ClrScr
  292.    ListFileGroups
  293.    OtherFileGroup
  294.  
  295.    ClrScr
  296.    ListFileAreas            ;Or PrintFile "trion:text/FileAreas.ansi"
  297.    OtherFileArea
  298.    LogMessage "Changed to file area: ~301."
  299. EndCmd
  300.  
  301. Cmd "A"
  302.    ClrScr
  303.    ListFileAreas
  304. ;   PrintFile "trion:text/FileAreas.ansi"
  305.    OtherFileArea
  306.    LogMessage "Changed to file area: ~301."
  307. EndCmd
  308.  
  309. Cmd "O"
  310. ;   ClrScr
  311. ;   ListFileAreas
  312.    PrintFile "trion:text/FileAreas.ansi"
  313.    OtherFileArea
  314.    LogMessage "Changed to file area: ~301."
  315. EndCmd
  316.  
  317.  
  318.  
  319.     When you want to use Groups you could add the ListFileGroups
  320.     and OtherFileGroup command to the "other area" command 
  321.     sequence in a menu. If you don't you get in the first group.
  322.  
  323.     It's important to have the Group "All" as first in the group
  324.     list to have the system operating as before.
  325.  
  326.     When you want to make groups optional you could make a new command
  327.     to change Groups and leave the Change area command as before.
  328.     When the user logs in he is in the "All" groups and doesn't
  329.     have to choose a group.
  330.  
  331.     Or when you really want to annoy users you put the ListGroups
  332.     and OtherGroup command before the NewFileScan when a user logs
  333.     in. 
  334.  
  335.     Have an upload area in every file group (which can of cause
  336.     be the same area in all groups).
  337.     Note that if you are in a group all the global commands, like
  338.     newfiles or readGlobalNew work only on the sections in the
  339.     current group but you can go to all sections with change
  340.     sections commands. So you can put the ListGroups and
  341.     OtherGroup command before the newfiles command and the
  342.     user only sees the files he is really interested in.
  343.  
  344.  
  345.     You probably also want a menu command to change area without
  346.     having to change the group. (which is basically a command
  347.     like you have in use now).
  348.  
  349.     The "trion:cfg/groups.cfg" is very simple.
  350.  
  351.     Just have a FILEGROUP or MAILGROUP line folowed with one
  352.     or more SECTIONS lines.
  353.     After a group line you put a group number and a group name
  354.     (separated with a comma !!!).
  355.     Check the suplied config for reference.
  356.  
  357.  
  358.  
  359. FILEGROUP    1 , "All"
  360. SECTIONS     1 - 65535
  361.  
  362. FILEGROUP    2,  "Amiga-files"
  363. SECTIONS     1 - 15 , 20 - 59
  364.  
  365. FileGroup    3,  "PC-files"
  366. Sections     1 - 15 , 60 - 99
  367.  
  368.  
  369.  
  370. MAILGROUP    2 , "Sections on programming"
  371. SECTIONS     11, 111, 211, 311, 411, 511
  372. SECTIONS     611, 711, 811
  373.  
  374.  
  375.    -Made the global new message scan and global new file scan
  376.     faster because now only the areas that a users has access to
  377.     and are in the current group are opend.
  378.  
  379.    -When reading global new messages, it prints a line with
  380.     the section name currently scanned for new messages.
  381.  
  382.    -Added some menu commands to make handling of messages from
  383.     the current user easier.
  384.  
  385.     ScanToYou
  386.     ScanFromYou
  387.     ScanToOrFromYou
  388.     ScanReverseToYou
  389.     ScanReverseFromYou
  390.     ScanReverseToOrFromYou
  391.  
  392.     ReadToYou
  393.     ReadFromYou
  394.     ReadToOrFromYou
  395.     ReadReverseToYou
  396.     ReadReverseFromYou
  397.     ReadReverseToOrFromYou
  398.  
  399.