VT320 over ttyUSB0 crashes when encountering emoji
15
votes
2
answers
1388
views
For better or worse, I hooked up my VT320 to my Linux machine. I'm trying to run some software on, but the serial connection seems to end up in a crashed state whenever somes emojis are rendered.
Not sure if it's important, but in this case it was the 🎲 (die) emoji. Instead, I get a mirrored question mark and the terminal doesn't render anything else.
I know emojis would never work. I'll settle for an incorrect character or none at all, but I would like to know if it's possible to avoid freezing the connection.
In case it's relevant, this is how agetty is configured in

/lib/systemd/system/serial-getty@.service
. I opted for the VT220, as it's the closest to what I have.
ExecStart=-/sbin/agetty -h -L 19200 %I vt220
Output of stty -a
:
speed 19200 baud; rows 24; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ;
eol2 = ; swtch = ; start = ^Q; stop = ^S; susp = ;
rprnt = ; werase = ; lnext = ; discard = ;
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 echoe echok -echonl -noflsh -xcase -tostop -echoprt
-echoctl echoke -flusho -extproc
Asked by Evert
(262 rep)
Feb 16, 2025, 02:17 AM
Last activity: Feb 18, 2025, 02:27 PM
Last activity: Feb 18, 2025, 02:27 PM