Re: [0T] need a url that crashes netscape
ktb <x.y.f@home.com> writes:
> This may be a strange request but I'm trying to write a little
> wrapper of sorts for Netscape that removes the lock file
> automatically after killing the browser when it hangs. The
> problem I'm having is finding a site that hangs Netscape. I
> usually have no trouble when I'm not looking:)
> thanks,
> kent
You can do it the other way round: remove the file before starting
it, like
rm ~/.netscape/lock 2> /dev/null
netscape
or maybe in a loop (inspired from the Kiosk-HOWTO)
while true ; do
if [ -f $HOME/.netscape/lock] ; then
rm $HOME/.netscape/lock
fi
netscape
done
-- Andre
Reply to: