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)



On Mon, 17 Aug 2020, Mouse wrote:

> > 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.)

 A terminal only doing uppercase characters would be another possibility.  
Classic getty(1) implementations had provisions for that, e.g.:

      "The user's name is scanned to see if it contains only upper-case char-
       acters.  If so, the system is set to map any future upper-case charac-
       ters into lower-case."

(from the man page of getty_ps).

  Maciej


Home | Main Index | Thread Index | Old Index