home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   MYSTIC      Mystic support echo      16,010 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 15,164 of 16,010   
   Mike Fenton to g00r00   
   Mystic Program Question   
   06 Jan 23 12:50:51   
   
   TID: Mystic BBS 1.12 A48   
   MSGID: 1:229/310 93aa05d9   
   REPLY: 1:129/215 86eb92b8   
   TZUTC: -0500   
   On 05 Jan 2023, g00r00 said the following...   
       
    g0>  MF> I did attempt to write this to a file using appendtext and when I did   
    g0>  MF> this way, the information contained in the bat file was also cut off.   
    g0>  MF> wasn't passing all the information. Seemed like a limit there too....   
    g0>    
    g0> Yep AppendText would have the same limit.  Strings in MPL are limited to   
    g0> 255 characters everywhere.   
    g0>    
    g0> To do it in MPL you have to break it up into small chunks and then write   
    g0> it to the file.  Here is a quick example I whipped up for you (you could   
    g0> also check the OSID function and make it create a .sh in Unix and .bat   
    g0> in Windows):   
    g0>    
    g0> Uses CFG   
    g0>    
    g0> Var   
    g0>   F         : File;   
    g0>   Cmd1      : String;   
    g0>   Cmd2      : String;   
    g0>   Cmd3      : String;   
    g0>   BatchName : String;   
    g0> Begin   
    g0>   Cmd1 := 'REM This is the first part of a long command. ';   
    g0>   Cmd2 := 'And this is part two of a long commmand. ';   
    g0>   Cmd3 := 'And this is part three of a long command';   
    g0>    
    g0>   Write   ('Command line: ');   
    g0>   Write   (Cmd1)   
    g0>   Write   (Cmd2)   
    g0>   WriteLn (Cmd3)   
    g0>    
    g0>   fAssign   (F, CfgTempPath + 'mybat.bat', 66);   
    g0>   fReWrite  (F);   
    g0>   fWriteStr (F, Cmd1);   
    g0>   fWriteStr (F, Cmd2);   
    g0>   fWriteLn  (F, Cmd3);   
    g0>   fClose    (F);   
    g0>    
    g0>   WriteLn ('Batch file created. Press any key to execute and delete:   
    g0> |PN');      
    g0>   MenuCmd('DD', CfgTempPath + 'mybat.bat');   
    g0>    
    g0>   FileErase (CfgTempPath + 'mybat.bat');   
    g0> End.   
    g0>    
      
   This worked great! Thanks.    
      
   ... Marriage is one of the chief causes of divorce   
      
   --- Mystic BBS v1.12 A48 (Linux/64)   
    * Origin: Clutch BBS * telnet://bbs.clutchbbs.com (1:229/310)   
   SEEN-BY: 1/123 15/0 90/1 105/81 106/201 114/705 120/340 616 123/10   
   SEEN-BY: 123/120 131 129/215 305 153/7715 154/10 30 40 50 700 218/700   
   SEEN-BY: 218/840 220/70 90 221/6 226/17 18 30 70 100 227/114 201 229/110   
   SEEN-BY: 229/111 112 113 114 206 275 307 310 317 400 424 426 428 452   
   SEEN-BY: 229/470 550 664 700 250/5 8 266/512 267/800 280/464 282/1038   
   SEEN-BY: 292/854 298/25 301/1 305/2 3 317/3 320/219 322/757 342/200   
   SEEN-BY: 396/45 460/58 633/280 712/848 770/1 2320/105 3634/12   
   PATH: 229/310 154/10 770/1 317/3 229/426   
      

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca