Re: [PATCH v2 1/1] paint visual host key with unicode box-drawing characters

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Jim Knoble <jmknoble+kleankanteen@xxxxxxxxx> 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);}

Attachment: pgpx5idWONMs1.pgp
Description: OpenPGP digital signature

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux