Re: [netatalk-admins] Anomoly in nbplkup


Subject: Re: [netatalk-admins] Anomoly in nbplkup
From: Alistair Riddell (alistair@watsons.edin.sch.uk)
Date: Thu Apr 16 1998 - 07:12:26 EDT


On Thu, 16 Apr 1998, Robert Edwards wrote:
[snip]
> I replaced the code in the asciize() routine with code that renders an '*'
> if the 8-bit - 7-bit conversion yields a non-printing character (hence my
> Asante box now appears as an Ether*Print).
>
> If this problem has affected anyone else, my solution is to modify asciize():
> if ( !isascii( *p )) {
> *p = toascii( *p );
> if ( !isprint( *p ))
> *p = '*';
> }

It might be a better idea to use something other than a * since this has
special meaning on both the Unix and Mac side. At the very least there is
potential for confusion. Perhaps a _ (underscore) would be a better
choice?

-- 
Alistair Riddell - BOFH
IT Support Department, George Watson's College, Edinburgh
Tel: +44 131 447 7931 Ext 176       Fax: +44 131 452 8594
Microsoft - because god hates us



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:32:25 EST