1) The problem is that the PICs configuration bits are not being cleared and reprogrammed.
./readcfg (after ./erasepic) always reads same data
It seems to erase we need to bring MCLR from GND to ViHH (12-14v)
(just connecting it to ViHH, well of 12v from 9v and 3v batteries in series, doesn't work.)
see:
http://web.interware.hu/lekovacs/PIC/index.html
and:
http://www4.tpg.com.au/users/talking/Burning%20a%20Chip_Page1.html
also length of parallel port cable may be an issue...