Port-vax archive

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

Re: boot getchar (sys/arch/vax/boot/boot/consio.c)



>> 	if (c < 96 && c > 64)
>> 		c += 32;

>> Ragge?  That first commit was yours, if I'm reading cvsweb right....

> You're asking about uncommented code that I wrote > 20 years ago? :-)

Yes, I believe that is exactly what I was doing. :-)  (Well, strictly,
I didn't know you wrote it, only that you committed it.)

> But yes, I have a vague memory that it had to do with some prom
> console code, that only returned uppercase characters.

I suspected something of the sort.  I've removed that code in my tree
and, if I have to deal with such a PROM, I'll figure something else
out.  (Maybe, as long as all the input is uppercase, it gets
lowercased, but getting a lowercase letter turns casefolding off for
that input line.  Or perhaps processing the input line lowercases it if
it's all uppercase.  Or maybe something else.  I'd have to see what
looks feasible.)

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index