I'm trying to set up a CentOS distro to output on a serial console. I went through all the steps described on this page .

My question concerns the agetty command:

exec /sbin/agetty ttyS1 19200 vt100-nav

Would it be possible to specify a dumb terminal type as the last command line option so that it only sends plain ASCII? I don't really care for vt100 escape characters, since it would complicate my parsing code on the other end of the serial connection.


The agetty program only sets TERM, does not affect the way the terminal operates (other than initializing the connection). Any initialization that is concerned with the value of TERM would be in your shell.

The shell in turn will check the terminal database; you may find "dumb" or "unknown" works with your shell.

Further reading:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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