Welcome, Guest. Please login or register.

Author Topic: Q for Linux heads! How to suppress character codes for dumb terminals?  (Read 1617 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Merc

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 312
    • Show all replies
    • http://chebucto.ns.ca/~ah210/Profile.html


If you're using agetty, you can set the terminal type to use on the agetty command line:

agetty [-ihLmnw] [-f issue_file] [-l login_program] [-I init] [-t time-out] [-H login_host] port baud_rate,...  [term]

The term option sets the TERM environment variable when you log in.

I'm sure there's a terminal type that would work -- maybe one of these:

# locate terminfo | grep dumb
/usr/share/terminfo/d/dku7003-dumb
/usr/share/terminfo/d/dumb
/usr/share/terminfo/k/klone+sgr-dumb

# locate terminfo | grep comm
/usr/share/terminfo/c/commodore

Hope that helps!