8bit chars, no refresh


Subject: 8bit chars, no refresh
From: Axel Rose (rose@sj.com)
Date: Fri Apr 27 2001 - 06:30:59 EDT


Hello,

I posted two support requests on sourceforge but got no responses
until now.

May I repeat them here on the mailing list:

-1-
no Finder refresh after Unix move

after moving a file by a Unix script to a shared volume it will not
become visible if the volume is already opened in the Finder.
If otoh I close cmd-w the volume and reopen the moved file is
visible immediately.

scenario:
pap print
lpd is configured with :if=<script>:
<script> moves stdin to a temporary location
PostScript file is distilled with GhostScript "ps2pdf"
script moves ready-made PDF to shared location
now Macs have to wait ages or reopen the volume

I tried a "touch" on the created files but without success.

My sample lpd if follows:
#!/usr/local/bin/perl -w

my $out = "/tmp/psout$$.ps";
open( O, ">$out" ) || die "can't create '$out'\n$!\n";
print O while(<STDIN>);
close O;

my $tmp = "/tmp/pdf/psout.$$.pdf";
my $pdf = "/share/pdf/psout$$.pdf";
system( "/usr/local/bin/ps2pdf13 -dPDFSettings=/prepress $out $tmp" );
rename( $tmp, $pdf );
system( "chmod 777 $pdf" );
exit 0;

Is there a configuration parameter somwhere?
Is there a workaround to notify Macs of changes in the server Desktop?
(I'm used to Helios EtherShare where I apply a special move command
or a Desktop rebuild)

my system: netatalk-1.5pre6, RH 7.0

-2-

can't delete files if 8bit chars

I can reproduce the following error on two different
RedHat 7.0 systems running a fresh install of 1.5-pre6:

Files with a filename containing 8bit chars can't be
deleted from the Mac side.

To reproduce:
$ perl -e '$file="\212"; open(F,">/share/pdf/$file") or
die; close F;'

where /share/pdf is my shared volume

You will see a file "ä" on the server which can't be
deleted from the Mac. The Finder will complain and not
offer a workaround.

---

I would be very grateful for help regarding those issues.

Best regards

Axel Rose

---------------------------------------------------------------------- Axel Rose, Springer & Jacoby Digital GmbH & Co. KG, mailto:rose@sj.com pub PGP key 1024/A21CB825 E0E4 BC69 E001 96E9 2EFD 86CA 9CA1 AAC5 "... denn alles, was entsteht, ist wert, daß es zugrunde geht ..."



This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:38 EDT