***** ***** * * How DLGTIN is Setup at Mental Vortex * * ** * * * * * * Written by * * * ** Allen Wittenauer 1:2222/600.0 * ***** * * [ecereal@crispy.carb.il.us] Since TIN has been in the "news" (ack, what a bad pun) lately, I thought I would offer my setup for using DLGTIN. The documentation that comes with DLGTIN is less than helpful on a lot of things. Through experimentation, we at MtV think we found the answers to your questions about how to set it up. Hopefully this will make it as painless as possible. A few things that might be necessary to know before we get started" 1. MtV is running DLG Pro v0.995 2. MtV's Amiga 2000 is running v2.04 3. MtV's UUCP and DLG files are spread across several partitions. 4. MtV is running UUCP v1.16d and TIN v1.1 pl 6 -=-=- Files included with this archive: TIN.DLG - DLG Menuscript for running TIN TIN.MSG - Msg for when users enter into TIN Bundle_News - Archive up 's'elected articles TIN.Edit - So users can create messages in TIN TIN.SigSet - Copies signature.uucp to .sig for users UserArchive - Does actual archiving and uploading LineFix - fixes line wrapping in UUCP msgs created by DLGEdit newscron - my 'process news' batch file -=-=- First, I have changed the following in my startup sequence: path ram: sys:binaries sys:utilities sys:rexxc sys:system s: sys:uucp/c dh1:sc/c sys: sys:prefs sys:wbstartup SYS:1.3-C add quiet My UUCP stuff sits in SYS:UUCP/C. This will allow it to be accessed from *everywhere*. -=-=- In my user-startup, these are some nice definitions: ;DLG Utilities Assign DLGUtil: DH2:DLGUtil ; where I store misc. dlg utils Assign TIN: DLGUtil:DLG-TIN/TIN ; TIN has its own directory setenv TIN_INDEX TIN: ; root of where TIN stores index files -=-=- Depending on how you have your own news system setup, I have an entry in my DLGConfig:Batch/CRONTAB to run my 'newscron' file. One such entry looks like this: 0 7 * * * NewShell FROM S:NewsCron I do a NewShell on it so that I can see if/when it hangs where it hung and what it is doing. -=-=- Within DLG, I made a completely separate menu for TIN. It uses 'T' from the main menu and '*' from the msg. menu. On this menu, I have set up for the users the ability to execute TIN, 'bundlenews', and the check for saved news commands. Let's do one at a time. -=- TIN -=- [ 1] Letter: T [ 2] Menu Script: TIN:TIN.DLG [ 3] Edit File: [ 4] Description: TIN News Reader [ 5] Type: Menu Script [ 6] Help File: MAIN/T <-- system dependent [ 7] Lower Level: 30 <-- system dependent [ 8] Upper Level: 255 <-- system dependent [ 9] Hidden: NO [10] Load type: OVERLAY [11] Ask user if sure: YES [12] Pend messages: YES [13] Cli mode: NO [14] Pause on completion: NO [15] Log value: 234 [basically says 'Ran TIN'] [16] Activity string: TINning News [17] Priority: DEFAULT [might want to change] [18] Edit help file -=- TIN:Bundle_news -=- [ 1] Letter: B [ 2] Batch file: TIN:bundle_news %uname [ 3] Edit File: [ 4] Description: Bundle news for offline reading [ 5] Type: AmigaDos Batch [ 6] Help File: TIN/B <-- system dependent [ 7] Lower Level: 30 <-- system dependent [ 8] Upper Level: 255 <-- system dependent [ 9] Hidden: NO [10] Load type: OVERLAY [11] Ask user if sure: NO [12] Pend messages: YES [13] Cli mode: NO [14] Pause on completion: NO [15] Log value: 235 [basically says 'Ran TIN-Bundle'] [16] Activity string: [17] Priority: 1 [might want to change] [18] Edit help file -=- Check saved news -=- [ 1] Letter: C [ 2] Menu Script: C:List User:%uname/news [ 4] Description: Check saved news [ 5] Type: Executable [ 6] Help File: TIN/C <-- system dependent [ 7] Lower Level: 1 <-- system dependent [ 8] Upper Level: 255 <-- system dependent [ 9] Hidden: NO [10] Load type: OVERLAY [11] Ask user if sure: NO [12] Pend messages: YES [13] Cli mode: NO [14] Pause on completion: NO [15] Log value: None [16] Activity string: Listing saved news [17] Priority: DEFAULT [18] Edit help file Of course, within the same menu, I have things like goodbye, help, and main. -=-=- Basically, the rest of the installation is just copying files to their necessary locations. Things with an asterick are AmigaDOS batch files. They should have the 's'cript bit set. Files that go into TIN: -=-=-=-=-=-=-=-=-=-=-=- bundle_news* doarchive [included w/TIN] linefix [included as source as TIN] localset [included w/TIN] TIN [duh] TIN.DLG tin.edit* tin.msg tin.sigset* tind [included w/TIN] userarchive* [requires S:SPAT from WorkBench disks!] news_archive.txt [I moved this out of DLGConfig:Text/came w/TIN] Uploadtext [this one too/came w/TIN] Files that go into S: -=-=-=-=-=-=-=-=-=-=- newscron* [hope this is helpful!]