Hi Mac PDers,
The normal pd help files don't render very cleanly on MacOSX. There are three things that typically go wrong: the window can be wedged up at the top of the screen (and not be movable), the window can extend past the bottom of the screen (and not be resizable), and the text can be mis- aligned. I believe the following shell/awk script fixes all three. It creates backups of all the files as it goes.
Use it by moving into the directory with the help.pd files you want to change (like pd/doc/5.reference), and calling the script with: source path/to/fix-doc-windows.sh
I'd appreciate it if some adventurous types gave it a try.
#/bin/csh
foreach f (*.pd)
cp $f $f~
# You can change the '928' value to your (y.resolution-96) here ___ ___
awk '$2 ~ /canvas/ {print $1, $2, $3,($4>22?$4:22), $5,
($6>928?928:$6), ($7=="12;"?"10;":$7), $8, $9}
$2 !~ /canvas/ {print $0}' $f~ > $f
end