[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

random hacksaws



Vincent Keunen writes:

    I am using show hacksaw in my login file to have some nice tricks
    everytime I log in my lispm.
    
    However, it doesn't seem to choose the text randomly, rather in a
    sequential manner.  That's fine, except that every time you reboot, it
    starts from the beginning of the file again.
    
    ...
    
    So, how do you do to always have never-seen tricks, even if you reboot?

Each time you boot, evaluate the following form before you ask for a
hacksaw:

(setf *random-state* (make-random-state t))

John Krieger (s9274@srl1.lanl.gov)
Westinghouse Savannah River Company