Zobacz znaki:
$ echo 'j k l m n o p q r s t u v w y x'; tput smacs
$ echo 'j k l m n o p q r s t u v w y x'; tput rmacs
j k l m n o p q r s t u v w y x
┘ ┐ ┌ └ ┼ ⎺ ⎻ ─ ⎼ ⎽ ├ ┤ ┴ ┬ ≤
Albo tak:
$ for i in 6a 6b 6c 6d 6e 71 74 75 76 77 78; do \
printf "0x$i \x$i \x1b(0\x$i\x1b(B
"; done
0x6a j ┘
0x6b k ┐
0x6c l ┌
0x6d m └
0x6e n ┼
0x71 q ─
0x74 t ├
0x75 u ┤
0x76 v ┴
0x77 w ┬
0x78 x │
Narysuj tabelkę:
$ tput smacs; printf "%s
%s
%s
" 'lqqqqqk' 'tqqwqqu' 'mqqvqqj'; tput rmacs
┌─────┐
├──┬──┤
└──┴──┘
Przeczytaj
- Sekcję „Line Graphics” w terminfo(5)
- lokalnie:
man 5 terminfo - online: https://man7.org/linux/man-pages/man5/terminfo.5.html
- lokalnie:
- Wikipedia: Box-drawing character
- Wikipedia: Semigraphics
- Wikipedia: Dingbat