It was thus said that the Great Rainer Gerhards once stated:
> > -----Original Message-----
> > 
> >   What is the semantic meaning of a NUL?  Because there are other
> > problematic characters (say, CTRL-Z under Windows) that can also cause
> > issues with the tool stream.  Knowing how an ASCII NUL is used (or
> > meant to
> > be used) could help decide how to handle it.
> 
> The original US-ASCII semantic is a NOP (no-operation). NULs were used to
> stuff in extra bytes to give terminal devices (VT 100 and similar ones) some
> time to execute "more demanding" escape sequences (like clear screen). During
> processing these sequences, some input characters could be lost (especially
> at higher rates like 2,400 baud or above ;)). So NUL were sent as loss
> victims.
> 
> However, this is not the problem. The semantic in the C context is that NUL
> is an indicator for "end of string".

  No, I meant the semantic meaning of NUL is syslog messages.  Why would you
want to log a message with such a character?  (or any of the control
characters really)

  -spc

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to