| 1 |
1. Missing capability in the linux terminfo entry. |
| 2 |
|
| 3 |
You should check if your linux terminfo description has `csr' |
| 4 |
defined; do this with "infocmp linux | grep csr". If not, do |
| 5 |
the following: |
| 6 |
|
| 7 |
# infocmp linux > linux |
| 8 |
# vi linux |
| 9 |
[ add the line "csr=\E[%i%p1%d;%p2%dr," ] |
| 10 |
# tic linux |
| 11 |
|
| 12 |
|
| 13 |
2. Using the real ANSI or IBM-PC graphic characters. |
| 14 |
|
| 15 |
If you install this terminfo entry you can use the options |
| 16 |
"-l -tmc" to let minicom use the IBM-PC character set on |
| 17 |
the linux console. |
| 18 |
|
| 19 |
You can do this by entering (as root): |
| 20 |
|
| 21 |
# tic minicom |
| 22 |
|
| 23 |
Some terminals, such as most consoles on Unixes that run on IBM |
| 24 |
compatible PC's, can display special line drawing characters. |
| 25 |
If these characters map 1-to-1 to the IBM character set, you can just |
| 26 |
use the '-l' (literal) flag when invoking minicom. If your |
| 27 |
terminal cannot display the IBM characters directly, you should add |
| 28 |
the 'as', 'ae' and 'ac' entries to your termcap or terminfo. |
| 29 |
|
| 30 |
The Linux console only maps 1-to-1 in a special mode. Therefore you need to |
| 31 |
make a special terminfo entry that initializes the |
| 32 |
console on startup. For an example see the file minicom. |
| 33 |
This defines a terminfo entry called "mc". |
| 34 |
To use this information instead of the normal 'console' information, |
| 35 |
minicom has to be invoked with the '-t mc' option (meaning use TERM=mc |
| 36 |
instead of the normal TERM environment variable). |
| 37 |
|
| 38 |
And, in my /etc/profile I have added the lines: |
| 39 |
|
| 40 |
case "$TERM" in |
| 41 |
con*|linux) |
| 42 |
MINICOM="-l -m -con -tmc" ; export MINICOM |
| 43 |
;; |
| 44 |
esac |
| 45 |
|
| 46 |
So when I log in on the console I can use minicom in full color, |
| 47 |
full ANSI mode. |
| 48 |
|