πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #229474

Can you run X.EXE under the debugger ?

#229474
From: Jeffβ–²Relf
Date: Fri, 30 Jan 2009 15:31
73 lines
3737 bytes
Can you run X.EXE under the debugger ?
Are you an expert on Visual C++ 9 and
Visual Studio 2008 Standard Edition ?

If not, then it's no surprise that you can't follow it.

The hard-coded URL was an aborted attempt
to make X.EXE a mini web browser.

The hard-coded IP addresses were part of
an aborted attempt to get a hostname from an IP address.
( My cost-free ISP, NoCharge.COM, blocks pings and such )

β€œ DaysPerYear = 365.2425, DaysPerMonth = DaysPerYear / 12 ”
is good enough for reporting something like:
β€œ β€˜ Was posted 3.6 months ago ’ and even β€˜ 2.1 years ago ’ ”.
  
Someone ( Gergory Hall, I'm sure ) was forging ( a.k.a. frogging )
me and others using β€œ Odessa.UA ”.
I tagged those nyms with the β€œ FaKE_ ” prefix, like this:
β€œ FaKE_Lesβ€ΈHarris ”.

The β€œ Header is endless ” error message is not essential;
it's just there in case I ( me, and only me ) screw something up.

When X.EXE can't find what client was used to post an article,
it looks at the Message-ID or Host to come up with nicks like:
β€œ MicroSoft_ ” ( via its website ), β€œ Web_TV_ ” and β€œ U_Cambridge ”.

Here's some comments for the code you quoted from JeffRelf.F-M.FM/X.CPP:

  //  β€œ Def( Title ) ”, for example, creates a variable named β€œ Title ”
  //  and sets it to the current line ( and null terminates it ).
  //
  //  β€œ Title ” is then used to see if the outgoing post
  //  has this essential field; it's also used to report what was sent.
  //  When testing and reporting, a leading β€œ .. ” becomes just β€œ . ”.
  #define  Def( NP )  \
    LnP NP = P + EqN ( P, L"..", 2 );  _Def( B_Def, P, NP, Z, ChZ );
    
_Def( LnP  & B_Def, LnP  & P, LnP  & NP, LnP  & Z, wchar_t  & ChZ ) {

  //  Remove leading spaces and tabs.
  while ( * NP == 32 || * NP == 9 )  NP ++ ;
  
  P = Find ( 10, B_Def = NP, 400 );
  if ( ! P )
    //  No lineFeed, so get the null terminator.
    //  The line, which comes from something I wrote or copied,
    //  is seldom over 72 columns long, never over 400.
    P = Find ( 0, B_Def, 400 );
  //  At this point, P points to the end of the line.

  // Here, I used to have a warning about
  // a line being over 400 columns long, but I took it out
  // because I control the line length elsewhere.
  Z = P ;  
  if ( * P )
    //  P, the end of the line, is not the null terminator;
    //  so move it to the start of the next line.
    P ++ ;
  
  //  Remove trailing spaces from the line.
  while ( Z > B_Def && * Z <= 32 )  Z -- ;
  
  if ( * Z > 32 )
    //  Found some blackspace at the end of the line,
    //  move Z to β€œ one beyond the blackspace ”.
    Z ++ ;
  
  //  Clobber the end of the line with a null,
  //  but remember what was there.  
  ChZ =  * Z ;  * Z = 0 ;   }
Technical Details
Message-ID: <Jeff_Relf@Seattle.2009_Jan.30|7.30am|y>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.ams.giganews.com!nntp.giganews.com!news.addix.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <z7ednbZD8-zrdh_UnZ2dnUVZ_q_inZ2d@giganews.com>

Show Full Headers
Complete Article Headers
Message-ID: <Jeff_Relf@Seattle.2009_Jan.30|7.30am|y>
Subject: Can you run X.EXE under the debugger ?
Date: Fri, 30 Jan 2009 15:31:00 +0000
From: Jeffβ–²Relf <Jeff_Relf@Seattle.Test>
References: <z7ednbZD8-zrdh_UnZ2dnUVZ_q_inZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.ams.giganews.com!nntp.giganews.com!news.addix.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 73
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net WO0YkfSMQ0vbezfAIXOp2gRmOT4agQTfGf6F3d2h2DvbU/l7pr
Cancel-Lock: sha1:9uFqem6cH0taA0cQNQa/QeZIeB4=
User-Agent: JeffRelf.F-M.FM/X.ZIP