Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DEC vt220 keymap question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 812

PostPosted: Tue Nov 15, 2022 2:44 am    Post subject: DEC vt220 keymap question Reply with quote

Ok, I'm in need of a beard longer and more grey than mine.

Let's say I get a vt220 terminal? Or a 420? Not sure which yet.

I assume all I'd need is a USB serial adapter?

There's drivers in the kernel for such things still?

But I type with Dvorak, would changing the keymap be an ordeal?
_________________
“Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”

― Plato
Back to top
View user's profile Send private message
theotherjoe
Guru
Guru


Joined: 22 Nov 2003
Posts: 393

PostPosted: Wed Nov 16, 2022 12:13 pm    Post subject: Reply with quote

djdunn,

I dont have proper answers to your questions.
But I tried to come up with some (hopefully) helpful
information from digging around a bit.
The only (possibly) helpful article I have found is the
following:
https://ma.tt/2004/01/dvorak-on-linux-console/
It is focused on the console (as the link already gives away) but
maybe it helps in finding some proper answers to your questions. :(

edit:
actually, there are dvorak keymaps present in
/usr/share/keymaps/{i386,mac,sun} on a gentoo installation.
never even looked for it ...
Back to top
View user's profile Send private message
gentoo_ram
Guru
Guru


Joined: 25 Oct 2007
Posts: 515
Location: San Diego, California USA

PostPosted: Wed Nov 16, 2022 6:25 pm    Post subject: Reply with quote

Yeah, adding a VT terminal shouldn't be a big problem. You may want to add your favorite getty process for the serial port in your inittab so you can log in with the terminal. I assume that's what you'd want that for. Or you could redirect log messages to the terminal, etc.

If you do a USB-Serial adapter then you may need to start the getty process later using udev rules if your USB drivers are configured using modules. I have all my USB drivers compiled as modules.

Not sure abut keymaps on serial lines.
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 812

PostPosted: Tue Nov 29, 2022 3:18 am    Post subject: Reply with quote

theotherjoe wrote:
djdunn,

I dont have proper answers to your questions.
But I tried to come up with some (hopefully) helpful
information from digging around a bit.
The only (possibly) helpful article I have found is the
following:
https://ma.tt/2004/01/dvorak-on-linux-console/
It is focused on the console (as the link already gives away) but
maybe it helps in finding some proper answers to your questions. :(

edit:
actually, there are dvorak keymaps present in
/usr/share/keymaps/{i386,mac,sun} on a gentoo installation.
never even looked for it ...


yeah i have dvorak working on the virtual consoles, so it should just work then?
_________________
“Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”

― Plato
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 812

PostPosted: Tue Nov 29, 2022 3:20 am    Post subject: Reply with quote

gentoo_ram wrote:
Yeah, adding a VT terminal shouldn't be a big problem. You may want to add your favorite getty process for the serial port in your inittab so you can log in with the terminal. I assume that's what you'd want that for. Or you could redirect log messages to the terminal, etc.

If you do a USB-Serial adapter then you may need to start the getty process later using udev rules if your USB drivers are configured using modules. I have all my USB drivers compiled as modules.

Not sure abut keymaps on serial lines.


it might just be because im running on no sleep but what do you mean favorite getty process? what makes it my favorite? id just assign a VT to the serial adaptor?
_________________
“Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”

― Plato
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54851
Location: 56N 3W

PostPosted: Tue Nov 29, 2022 9:49 am    Post subject: Reply with quote

djdunn,

There are several packages providing the getty service. I use /sbin/agetty as that's the Gentoo default.
Look in /etc/inittab. There are others.

I'm a dvorak-uk user. The keymap is no problem. Its available in the console and in Xorg, so that bit works.
However, I'm not a touch typist, so I either have to rearrange the key tops or fit stickers to the keys.
Nobody makes a dvorak-uk keyboard. dvorak (USA) has a couple of keys swapped over and the £ symbol missing.

The only place that this fails hard is in the BIOS, as it only supports QWERTY, so I have to dig out a QWERTY keyboard for that.

If you want to use all the wonderful extended features that VT"* you need to tell the getty service about them.
I knew it does VT100 but I've not looked at others.

A VT220 or later sounds fun. Hide a Raspberry Pi in one corner ...
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum