This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# run this script form the vt220 to set up terminal width, keyboard shortcuts and other stuff. | |
stty rows 24 cols 132 | |
export TERM=vt220 | |
export LANG=en_GB.iso88591 | |
# vim: `:set termencoding=iso88591` | |
echo -en "\eP1;1|17/5B\e\\" # Shift+F6 = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### | |
IF YOU'RE COMING HERE BECAUSE OF PROBLEMS MAKE SURE YOU HAVE THE PROPPER ADAPTER | |
I tried several adapters and the one from Tripplite works the best. Some don't work at all, others create a lot of gibberish on the VT220. | |
Link: http://www.amazon.com/gp/product/B0000VYJRY/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1 | |
##### | |
1. Installed drivers for USB -> Serial adapter | |
2. Run ls /dev/tty.* | |
I see my adapter as: '/dev/tty.usbserial' |