r896: more flexible ALT reading
updated README, a bit
r898: read the index into a single memory block

Prepare for shared memory. Not used now.
shared memory
shm works on small files, but not large ones

I don't know why. SHMMAX, SHMALL and SHMMNI are large enough.
replaced Sys V shm with POSIX shm
added -lrt on Linux