samba 2.2.8/util_str.c - Why is '$' exempted from '_' replac

John E. Malmberg wb8tyw at qsl.net
Mon Oct 11 14:03:49 GMT 2004


In article <CF0913E9C3D53D4E94DE47FDE25C633D0532F40A at hermes.cofiroute.com>, COLLOT Jean-Yves <jean-yves.collot at cofiroute.fr> writes:
> Well, basically the "$" character has a special signification on Unix =
> which it has not in VMS. Replacing "$" with "_" may be useful in a number of
> cases, but just let's take an example where it must not be done.
>
> If you keep the default parameters for a print queue, the "print command"
> should be "print %f/queue=3D%p/delete/passall".

Item on the todo list is to either have a VMS specific queue module that
uses the $sndjbc[w]/$getqui[w] interfaces, or provide a wrapper that presents
one of the UNIX defacto standard API's like CUPS.

> So, now, try to create a printer share named SYS$PRINT, or try, on any
> printer share, to print a file named TOTO$TEXT.LOG. If you remove the '$'
> exemption in UTIL_SRC.C, the "%f" part of the command will be replaced =
> by "TOTO_TEXT.LOG", and the queue name (%p) will be replaced by  "SYS_PRINT".
>
> It will not work so well...

I will submit it as an enhancement to Bugzilla of a change needed in the
SAMBA code specificially for VMS.

Thanks,
-John
wb8tyw at qsl.net
Personal Opinion Only



More information about the samba-vms mailing list