ps.map in Linux versions of GRASS4.1

Has anyone solved the mystery of the errors in Kang's latest compilation of
ps.map?

I am very confused about the ps.map generated by me in early January. Some
tried OK and lots has the segmentation error. Finally, I take a look again
and solved the mystery.

Guess what? I also got the segmentation error. This reminded me that when
compiling ps.map under gun c, you need to add the -fwritable-strings to the
COMPILE_FLAGS variable. So, I recompiled it and were able to create a 2MB
PS file and printed out from our HP4MVJ printer.

However, I can't get the ps.select to work correct on my machine. It was
compiled ok but with the following error message when try to define a painter
"Error: value <test> out of range for parameter <painter>"
        and some junk letters

So, what is the range for parameter <painter>? I accidently discovered a
solution. I created a file "8.5by11" in the ps.devices directory. Then,
create another one called test. As long as the test appear after 8.5by11 when
run ps.select -l, I were able to do "ps.select painter=test".

Kang,