Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!ames!ucsd!hub.ucsb.edu!spica!hubert From: hubert@spica.ucsb.edu Newsgroups: comp.lang.lisp Subject: read-char read-line Message-ID: <10194@hub.ucsb.edu> Date: 27 Mar 91 04:04:42 GMT Sender: news@hub.ucsb.edu Lines: 20 Hi! I have tried out some I/O on the Austin Kyoto Common Lisp and it seems to men that the read-char and read-line won't wait for the input. The following progrm: (defun musical-taste () (format t "~% Do you like rock'n' roll?~%") (case ( read) ((#\y #\Y ) (format t "~%Great! We'll have to take in a concert sometimes.~%")) (t ( format t "~%Nice weahter, isn't it~%")))) Just won't work as it is expceted. Any remedy? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hung-Hsien Chang ( Hubert) E-mail: hubert@cs.ucsb.edu P.S: Hubert is not my middle name; it is easier for American friends to call me.