Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Ubuntu 10.10 Server box with a Digital VT220 connected over a serial line. (That's a real VT220, not a virtual one. An actual beige CRT thing.)

It works great apart from the fact that Ubuntu is sending it UTF-8, so occasionally you get a weird character in place of a normal one, because the VT220 doesn't support UTF-8.

Can I configure Ubuntu to use ASCII or ISO 8859-1 only on the serial line? I don't know if it's a getty option or otherwise.

share|improve this question

Try adding something like this to /etc/profile

if [ "$TTY%[0-9]}" == '/dev/TTY' ]; then

You may need to generate the locale without UTF-8.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.