I want to have my Ubuntu [KDE Neon] system display ANSI correctly at the terminal prompt... by just like
cat ansi.ans
ryan wrote to Paulie420 <=-
I want to have my Ubuntu [KDE Neon] system display ANSI correctly at the terminal prompt... by just like cat ansi.ans
You can change your terminal emulation most likely to ansi or
something like that, but I think you'll wind up with traditional
cli applications maybe not displaying correctly.
One piece of advice would be to clone
https://github.com/keaston/cp437 - build it, put it in
/usr/local/bin or some place on your path, and then precede every
command relating to ansi with cp437: cp437 cat ansi.ans
It'll "just work" and you won't have any terminal compatibility
issues with utf8 or anything :)
Wow, great tip there! I did the above and it works (almost)
perfectly. Very helpful little utility to have.
ryan wrote to Gamgee <=-
Wow, great tip there! I did the above and it works (almost)
perfectly. Very helpful little utility to have.
Yeah, it works pretty well :) I use it a lot. I actually also
cloned 'duhdraw' (it's also on github if you search for it, would
paste link but on iPad) and now I can 'cp437 duhdraw' and have an in-terminal accurate ANSI editor.
I tried it and it seems to work. A couple of things I notice are
that it doesn't go full-screen, so the work area is kind of small.
Also did not have any luck using the "line draw" function (like in TheDraw where you make lines/corners with F-keys).
I want to have my Ubuntu [KDE Neon] system display ANSI correctly at
the terminal prompt... by just like
cat ansi.ans
You can change your terminal emulation most likely to ansi or something like that, but I think you'll wind up with traditional cli applications maybe not displaying correctly.
One piece of advice would be to clone https://github.com/keaston/cp437 - build it, put it in /usr/local/bin or some place on your path, and then precede every command relating to ansi with cp437:
cp437 cat ansi.ans
It'll "just work" and you won't have any terminal compatibility issues with utf8 or anything :)
You can change your terminal emulation most likely to ansi or something like that, but I think you'll wind up with traditional cli applications maybe not displaying correctly.
I wonder... if you have more than one terminal emulator, like say both lxterminal and gnome-terminal, could you change only one of them to be ans and leave the other one as is. Then, when you want to see ansi, you use terminal package a, and otherwise use b.
Sysop: | Tandy |
---|---|
Location: | New York, USA |
Users: | 15 |
Nodes: | 13 (0 / 13) |
Uptime: | 01:44:49 |
Calls: | 335 |
Messages: | 112,908 |