Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!ll-xn!cogen From: cogen@XN.LL.MIT.EDU (David Cogen) Newsgroups: comp.lang.lisp Subject: Re: Symbolics Common Lisp Message-ID: <699@xn.LL.MIT.EDU> Date: Fri, 11-Sep-87 11:29:04 EDT Article-I.D.: xn.699 Posted: Fri Sep 11 11:29:04 1987 Date-Received: Sat, 12-Sep-87 17:21:09 EDT References: <10224@duke.cs.duke.edu> Organization: MIT Lincoln Laboratory, Lexington, MA Lines: 17 In-reply-to: rfs@duke.cs.duke.edu's message of 11 Sep 87 14:53:06 GMT Posting-Front-End: GNU Emacs 18.46.1 of Fri Jun 12 1987 on xn (berkeley-unix) In article <10224@duke.cs.duke.edu> rfs@duke.cs.duke.edu (Robert F. Smith) writes: I am working in common lisp on a symbolics lisp machine. I need to be able to distinguish between upper and lower case letters entered from the keyboard. It seems that the lisp machine treats characters from the keyboard differently than characters stored in files (where case tests do work). Is there some trick, or some flag to set, that will allow me to test the case distinction? You should have no problem (I just verified it.) First, how are you reading the characters from the keyboard? The correct way is READ-CHAR; it will return a character object. (Do not use READ; this will read a single-character symbol, which generally gets converted to upper case.) When you have the characters, test using CHAR=, which respects case distinctions, or CHAR-EQUAL, which ignores them. As far as differences between keyboard input and file input, I have never noticed this. Could you elaborate? (david () cogen)