[PATCH v2 1/1] paint visual host key with unicode box-drawing characters
Christian Hesse
list at eworm.de
Tue Jul 7 23:23:13 AEST 2015
Jim Knoble <jmknoble+kleankanteen at pobox.com> on Tue, 2015/07/07 05:58:
> It's not difficult to set LANG=C (or LANG=POSIX) in ssh's enviroment. That
> should force ASCII.
LC_CTYPE=C should be sufficient.
> Otherwise, UTF8 should be used wherever possible (and
> LANG permits), not just for a terminal, IMHO.
What comes to mind is pstree. Running it in a terminal you get a tree of
unicode characters, piping (or redirecting) you get ascii characters.
Basically it is a matter of preference. I would prefer ascii for a
non-terminal to make sure you can view a redirected text file without issue
even if unicode is not supported.
--
main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];)
putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20150707/c328edd2/attachment-0001.bin>
More information about the openssh-unix-dev
mailing list