使用 getty 時物理終端 (Teleray 1060) 上的按鍵映射

使用 getty 時物理終端 (Teleray 1060) 上的按鍵映射

我有一個舊的實體終端 (Teleray 1060),我嘗試使用 getty 將其用作 Linux 終端。我已經開始登入會話了。但是,我的終端缺少回車鍵,同時具有回車鍵和換行鍵。這些都不能用作輸入鍵,因此我無法登入。是否可以將回車重新指定為回車鍵。我對 Linux 非常缺乏經驗。我正在使用 Xubuntu 20.04.1 和 USB 轉串行電纜。

Ctrl+M 在虛擬終端上工作。

我嘗試使用 Ubuntu 18.04.5,現在似乎運作正常。兩個版本之間是否存在可能會影響此問題的變更?

用於啟動登入會話的命令:

systemctl enable [email protected] --now

stty -a在虛擬終端機上以 root 身分輸出:

intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ^E; eol2 = <undef>;
swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V;
discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany
-imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo``` 

Thanks

相關內容