Re: The Bat! - bug report - Message Truncated after =00

2000-05-23 Thread Marck D. Pearlstone

Hi Steve,

On 22 May 2000 at 07:45:51 GMT -0700 (which was 15:45 where I
live) [EMAIL PROTECTED] wrote and made these points on the subject
of "The Bat! - bug report - Message Truncated after =00":

 the sequence "=00". At this sequence the message get truncated by
 the mail server (Zero Byte means often "end of Text").

 Uhm,  in  what  context.

In  the  context  of  'C'  and 'C++' programming where a nul character
(Ascii Zero) denotes the end of a string of characters.

Since  most *nix servers are written in C the chances are that some of
them  may  well  trip  over  nul  bytes in strings fields. This is, of
course,  a  coding  bug rather than adherence to any specific standard
:-).

-- 
Cheers,
.\\arck

Marck D. Pearlstone, Consultant Software Engineer
Moderator TBUDL / TBBETA
www: http://www.silverstones.com
PGP key: mailto:[EMAIL PROTECTED]?Body=GET%20MARCKKEY

*---
| Using The Bat! 1.42f S/N 14F4B4B2
| under Windows 98 4.10 Build 1998  
*---

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: The Bat! - bug report - Message Truncated after =00

2000-05-23 Thread Steve Lamb

On Tue, May 23, 2000 at 09:30:18AM +0100, Marck D. Pearlstone wrote:
  the sequence "=00". At this sequence the message get truncated by
  the mail server (Zero Byte means often "end of Text").
 
  Uhm,  in  what  context.
 
 In  the  context  of  'C'  and 'C++' programming where a nul character
 (Ascii Zero) denotes the end of a string of characters.

Yes, now translate how a single null character will truncate an entire
message and not just a single string; considering each line is a separate
string.  Also, aren't those codes normally appended to the end of the line?
What, then, is going to be trunctated?  :)
 
-- 
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
 ICQ: 5107343  | main connection to the switchboard of souls.
---+-
-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: The Bat! - bug report - Message Truncated after =00

2000-05-23 Thread Marck D. Pearlstone

Hi Steve,

On 23 May 2000 at 02:03:14 GMT -0700 (which was 10:03 where I
live) [EMAIL PROTECTED] wrote and made these points on the subject
of "The Bat! - bug report - Message Truncated after =00":

 In  the  context  of  'C'  and 'C++' programming where a nul character
 (Ascii Zero) denotes the end of a string of characters.

 Yes, now translate how a single null character will truncate an entire
 message and not just a single string;

Easy (see below).

 considering each line is a separate string.

Basic mistaken premise. You're talking standards/definitions - not 'C'
programming.

 Also, aren't those codes normally appended to the end of the line?

'C'  knows  nothing  of "lines". From the perspective of a 'C' program
such  entities  are  entirely  a  figment  of  the programmers fevered
imagination.

 What, then, is going to be trunctated? :)

'C' programs know nothing of EOL /n characters. Streams know something
of  them  ... if streams are being used at all. To parse a message and
to  stop  at  the  end  of every line is a feat of programming and not
default  behaviour of strings. The way this is usually achieved in 'C'
is  to  read the message into a buffer and then to scan the buffer for
/n  characters. If the buffer (aka "string") runs out (i.e. has a nul)
then  a  badly  written  program  would stop parsing right there. This
isn't a definitions issue. It's a bad programming issue.

-- 
Cheers,
.\\arck

Marck D. Pearlstone, Consultant Software Engineer
Moderator TBUDL / TBBETA
www: http://www.silverstones.com
PGP key: mailto:[EMAIL PROTECTED]?Body=GET%20MARCKKEY

*---
| Using The Bat! 1.42f S/N 14F4B4B2
| under Windows 98 4.10 Build 1998  
*---

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re[2]: The Bat! - bug report - Message Truncated after =00

2000-05-23 Thread phil

Greetings Marck!

On Tuesday, May 23, 2000 at 10:28:55 GMT +0100 (which was 2:28 AM
where you think I live) [EMAIL PROTECTED] typed:

 What, then, is going to be trunctated? :)

MDP 'C' programs know nothing of EOL /n characters. Streams know something
MDP of  them  ... if streams are being used at all. To parse a message and
MDP to  stop  at  the  end  of every line is a feat of programming and not
MDP default  behaviour of strings. The way this is usually achieved in 'C'
MDP is  to  read the message into a buffer and then to scan the buffer for
MDP /n  characters. If the buffer (aka "string") runs out (i.e. has a nul)
MDP then  a  badly  written  program  would stop parsing right there. This
MDP isn't a definitions issue. It's a bad programming issue.
Hey, do you got an example of this "sorting/ parsing" program in C
that I can look at?  -- I know it's OT.  I want to compare it to
another program that I have that does this.   I don't know C
very well yet, however I do know exactly what your talking about.

-- 
... A small Bat fixes Anything
--- The Bat! 1.42f + 98Lite + Revenge of Mozilla II

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re[2]: The Bat! - bug report - Message Truncated after =00

2000-05-23 Thread phil

Greetings Marck!

On Tuesday, May 23, 2000 at 10:28:55 GMT +0100 (which was 2:28 AM
where you think I live) [EMAIL PROTECTED] typed:

 What, then, is going to be trunctated? :)

MDP 'C' programs know nothing of EOL /n characters. Streams know something
MDP of  them  ... if streams are being used at all. To parse a message and
MDP to  stop  at  the  end  of every line is a feat of programming and not
MDP default  behaviour of strings. The way this is usually achieved in 'C'
MDP is  to  read the message into a buffer and then to scan the buffer for
MDP /n  characters. If the buffer (aka "string") runs out (i.e. has a nul)
MDP then  a  badly  written  program  would stop parsing right there. This
MDP isn't a definitions issue. It's a bad programming issue.
Hey, do you got an example of this "sorting/ parsing" program in C
that I can look at?  -- I know it's OT.  I want to compare it to
another program that I have that does this.   I don't know C
very well yet, however I do know exactly what your talking about.

I got GCC 2.95.2

-- 
... A small Bat fixes Anything
--- The Bat! 1.42f + 98Lite + Revenge of Mozilla II

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: The Bat! - bug report - Message Truncated after =00

2000-05-22 Thread Steve Lamb

Sunday, May 21, 2000, 3:37:39 PM, Dirk wrote:
Sometime the messages generated by the Bat! (quoted printable
coding) contain the sequence "=00". At this sequence the message
get truncated by the mail server (Zero Byte means often "end of
Text").

Uhm, in what context.  Last I saw RFC821 designated "\n.\n" as the end of
text.

-- 
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
 ICQ: 5107343  | main connection to the switchboard of souls.
---+-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





The Bat! - bug report - Message Truncated after =00

2000-05-21 Thread Dirk Heiser

Hello The Bat! developers,

  I'm using The Bat! Version 1.42f
  Serial Number 12A1F196
  under Windows 95 4.0 Build   B
  and would like to report a bug

  The bug description:


   Sometime the messages generated by the Bat! (quoted printable
   coding) contain the sequence "=00". At this sequence the message
   get truncated by the mail server (Zero Byte means often "end of
   Text").
  

  Steps to reproduce the bug:

   I do not find a pattern, a solution is simply _never_ add "=00" in
   the outgoing text.


Regards,
  Dirk Heiser



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org