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.

   BBBS.ENGLISH      The International BBBS Support Echo      2,762 messages   

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

   Message 1,761 of 2,762   
   Janis Kracht to Robert Wolfe   
   Problems with a script...   
   01 Feb 17 17:57:52   
   
   Hi Robert,   
      
   > Hmm, think you could post this code when you get it working?  I would   
   > like to try and do the same thing for WINServer :)  I am having   
   > writers' block as far as modding for the BBS goes :(   
      
   I posted the code today in the fidogazette..   
      
   This is what I've got working so far:   
      
   int main() {   
   char cs,ga,cc,sp,cg,x;   
   cs="";   
   int l;   
   bbbs("cls");   
   printf("\e[1;1H\e[1;33mTo get the weather for names containing spaces,");   
   printf("\e[2;1H\e[1;33menter the name in quotes or use an underscore");   
   printf("\e[3;1H\e[1;33mfor example, both \"new york\" and new_york work.");   
   printf("\n\n");   
   cs=input("Enter City:    ",50,0);   
   cc=sprintf("\"%s\"",cs);   
   system(sprintf("/usr/bin/curl wttr.in/%s -O",cc),1,0); system(sp   
   intf("/usr/bin/head -n 7 %s",cc),1,0); printf("\e[30;1H\e[1;33mPress a key to   
   continue"); getch();   
   // x=system(sprintf("cat /home/bbbs/%s>/dev/null 2>&1",cs),1,0);   
   // return(x);   
   }   
      
   Everything is working great, but I'm still working on removing the the quoted   
   filename that it leaves behind in the /bbbs/directory.  Read the article in   
   today's Fidogazette, you'll see what I am talking about .  I also posted   
   links to curl and head in that article.   
      
   Take care,   
   Janis   
      
   --- BBBS/Li6 v4.10 Toy-3   
    * Origin: Prism bbs (1:261/38)   

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


(c) 1994,  bbs@darkrealms.ca