🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6646

Message filters in BP/BC++

#6646
From: Duncan Murdoch
Date: Mon, 23 Nov 1992 15:27
32 lines
1745 bytes
Borland Pascal 7.0 comes with a new feature in the IDE:  You can install 
external programs like GREP or TASM, filter their output through a 
message filter program, and then link each line of the output to a line of 
source code.

I suspect that this feature isn't really new, but is just borrowed from 
BC++, but I don't have a copy of that, so I'm not sure.

Anyways, here's my question:  Are the message filters in the two programs 
the same?  What a message filter in BP does is the following:

Reading program output from stdin, and writing to stdout, it:

1.  Writes the string 'BI#PIP#OK', followed by a null terminator.

2.  The beginning of a new file is marked by a #0, the file's name, 
    terminated by a #0 character.

3.  Each message line begins with a #1, followed the line number (in low/high
    order), followed by the column number (in low/high order), then 
    the message text itself, terminated with a #0 character.

4.  The end of the output stream is marked by a #127 character.

(For those of you not familiar with BP:  #n is a character with ascii value
 n, written in decimal notation.)

I'm writing a filter for use with my DUMPPROG disassembler; if I follow 
these rules, will it work in BC++ too?  Which versions?

Duncan Murdoch
dmurdoch@mast.queensu.ca
Technical Details
Message-ID: <dmurdoch.299.722532455@mast.queensu.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!news.ccs.queensu.ca!mast.queensu.ca!dmurdoch

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!news.ccs.queensu.ca!mast.queensu.ca!dmurdoch
From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
Subject: Message filters in BP/BC++
Message-ID: <dmurdoch.299.722532455@mast.queensu.ca>
Lines: 32
Sender: news@knot.ccs.queensu.ca (Netnews control)
Organization: Queen's University
Date: Mon, 23 Nov 1992 15:27:35 GMT