[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The ~C format directive
- To: greek%bach.decnet@HUDSON.DEC.COM
- Subject: Re: The ~C format directive
- From: NGALL@G.BBN.COM
- Date: Fri, 07 Mar 1986 14:40:00 -0000
- Cc: common-lisp@SU-AI.ARPA
- In-reply-to: The message of 0 0 00:00:00 EST from "BACH::GREEK" <greek%bach.decnet@hudson.dec.com>
- Sender: NGALL@G.BBN.COM
From: "BACH::GREEK" <greek%bach.decnet@hudson.dec.com>
Subject: The ~C format directive
Does anyone have a guess as to what the ~C format directive (without any
modifiers) is supposed to do? CLtL says "prints the character in an
implementation-dependent abbreviated format."
At least one person has said they think it should just throw the
character at the terminal, as with ~A.
I agree.
Currently, VAX LISP prints it like ~S would, abbreviating any control
bits down to one letter. This seems right according to the rationale
given under the description of ~C. But then one can't use any variant
of ~C to just throw the character at the terminal.
~@C should be used to print a char. in a readable way (i.e. "like ~S
would").
Any opinions?
- Paul
------
-- Nick