home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.development      Operating system development chatter      4,255 messages   

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

   Message 2,853 of 4,255   
   mutazilah@gmail.com to All   
   news galore   
   12 Oct 21 11:37:20   
   
   From: muta...@gmail.com   
      
   I have been struggling with when to use XON, but just   
   now I realized that I don't need XON to communicate   
   with eternal-september. The NNTP protocol already has   
   appropriate markers so that I know when to switch   
   to/from reading/writing.   
      
   So I now have a design for a C90-compliant news reader.   
      
   It will open a device, such as "COM1" on PDOS/386 or   
   "0x10001" on z/PDOS, as "r+b" and start reading characters   
   until it hits whatever endless-september uses as end-of-line   
   marker (they are the server, they can do whatever the fuck   
   they want - I'm pretty sure it is CRLF), and translates from   
   ASCII to the local character set.   
      
   This will get the 0200 line that eternal-september puts out.   
      
   There will be an fseek SEEK_CUR 0 as required by the C90   
   standard prior to then doing a write, which needs to be sent   
   in ASCII as "LIST\r\n" (that's what I currently do, but it isn't   
   actually necessary).   
      
   This setup will replace the crappy TCP/IP calls that I   
   currently do.   
      
   BFN. Paul.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca