the unicode arrow
When doing cp -va I can see neat quotes (depending on locale), as in „blah“, but the arrow is still composed of a dash and a greater-than symbol, as in ->. Is there any plan to make the arrow also neat, using the unicore arrow symbol?
Re: the unicode arrow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Michal Svoboda on 9/6/2009 5:33 AM: > When doing cp -va I can see neat quotes (depending on locale), as in > „blah“, but the arrow is still composed of a dash and a greater-than > symbol, as in ->. Is there any plan to make the arrow also neat, using > the unicore arrow symbol? This was discussed last month. The verdict is no. http://lists.gnu.org/archive/html/bug-coreutils/2009-08/msg00048.html - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqlCT8ACgkQ84KuGfSFAYAjJgCfVC6W/+UglmNz+uVIUx5AB70Y jygAnimlpjMMJc0gr7ZKhFdJmHX7uqoQ =NCtp -END PGP SIGNATURE-
Re: the unicode arrow
Hi, On Mon, Sep 07, 2009 at 07:23:12AM -0600, Eric Blake wrote: > According to Michal Svoboda on 9/6/2009 5:33 AM: > > When doing cp -va I can see neat quotes (depending on locale), as in > > „blah“, but the arrow is still composed of a dash and a greater-than > > symbol, as in ->. Is there any plan to make the arrow also neat, using > > the unicore arrow symbol? > > This was discussed last month. The verdict is no. > http://lists.gnu.org/archive/html/bug-coreutils/2009-08/msg00048.html Actually that discussion was about ls -l, which has a POSIX specified output format. The cp -v case is different in that it is not POSIX specified and already uses special characters (those "neat quotes"). I'd say that cp -v could very well use an arrow symbol (but I don't intend to write a patch, since this is not important to me ;-). Erik -- But hey, don't listen to me - I like C++, and approve of Java. -- Andrew Morton
Re: the unicode arrow
Erik Auerswald wrote: > Hi, > > On Mon, Sep 07, 2009 at 07:23:12AM -0600, Eric Blake wrote: >> According to Michal Svoboda on 9/6/2009 5:33 AM: >>> When doing cp -va I can see neat quotes (depending on locale), as in >>> „blah“, but the arrow is still composed of a dash and a greater-than >>> symbol, as in ->. Is there any plan to make the arrow also neat, using >>> the unicore arrow symbol? >> This was discussed last month. The verdict is no. >> http://lists.gnu.org/archive/html/bug-coreutils/2009-08/msg00048.html > > Actually that discussion was about ls -l, which has a POSIX specified > output format. The cp -v case is different in that it is not POSIX > specified and already uses special characters (those "neat quotes"). What cp -v displays for quotes can be seen using `ls -l --quoting-style=locale` The German local on my system has the quotes the OP referred to: LANG=de_DE.utf8 ls -l --quoting-style=locale > I'd say that cp -v could very well use an arrow symbol (but I don't > intend to write a patch, since this is not important to me ;-). It's a trivial patch, though it's of marginal benefit. Also some scripts may be depending on the output from `cp -v`, so I'm not on for changing it. cheers, Pádraig.
Re: the unicode arrow
On Mon, 7 Sep 2009, Eric Blake wrote: This was discussed last month. The verdict is no. http://lists.gnu.org/archive/html/bug-coreutils/2009-08/msg00048.html This list archive has done strange things with character encodings which make the discussion difficult to follow. Something along the way has converted all the non-ascii characters into 'Ã', e.g. Pádraig into PÃdraig. Anyone know who maintains lists.gnu.org (or is this a mailman/mhonarc issue)? Cheers, Phil
Re: the unicode arrow
Philip Rowlands wrote: > On Mon, 7 Sep 2009, Eric Blake wrote: > >> This was discussed last month. The verdict is no. >> http://lists.gnu.org/archive/html/bug-coreutils/2009-08/msg00048.html > > This list archive has done strange things with character encodings > which make the discussion difficult to follow. Something along the way > has converted all the non-ascii characters into 'Ã', e.g. Pádraig into > PÃdraig. gmane's interface displays them properly: http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/17612/focus=17617 There's also the marc.info mirror, but it seems to mis-handle multi-byte output: http://marc.info/?t=12495917586&r=1&w=2
Re: the unicode arrow
Philip Rowlands wrote: > On Mon, 7 Sep 2009, Eric Blake wrote: > >> This was discussed last month. The verdict is no. >> http://lists.gnu.org/archive/html/bug-coreutils/2009-08/msg00048.html > > This list archive has done strange things with character encodings which > make the discussion difficult to follow. Something along the way has > converted all the non-ascii characters into 'Ã', e.g. Pádraig into PÃdraig. Interestingly it's just that particular mail that seems to be mangled. Note the "l" alias mentioned there can't take parameters, so I'll paste an l() function here to see if it has the same issue: # quick dir listing with latest files/dirs at the bottom, # prettify symlink arrows. # using eval to precompute the tput sequences. eval " l() { ls -lrt --color=always \"\...@\" | sed 's/ -> / $(tput bold)▪▶$(tput sgr0) /' }" If the above is mangled in the archives, one can get l() from: http://www.pixelbeat.org/settings/.bashrc > Anyone know who maintains lists.gnu.org (or is this a mailman/mhonarc > issue)? cheers, Pádraig.
Re: the unicode arrow
Pádraig Brady wrote 1276 bytes: > Also some scripts may be depending on the output from `cp -v`, > so I'm not on for changing it. The output is already changed (the neat quotes). And one can use LC_ALL=POSIX to get rid of both.
Re: the unicode arrow
Pádraig Brady wrote: > Philip Rowlands wrote: >> On Mon, 7 Sep 2009, Eric Blake wrote: >> >>> This was discussed last month. The verdict is no. >>> http://lists.gnu.org/archive/html/bug-coreutils/2009-08/msg00048.html >> This list archive has done strange things with character encodings which >> make the discussion difficult to follow. Something along the way has >> converted all the non-ascii characters into 'Ã', e.g. Pádraig into PÃdraig. > > Interestingly it's just that particular mail that seems to be mangled. Actually it seems to be randomly mangling the mails. Seems like some state is not initialized for multibyte routines somewhere. cheers, Pádraig.
Re: the unicode arrow
Pádraig Brady writes: > # quick dir listing with latest files/dirs at the bottom, > # prettify symlink arrows. > # using eval to precompute the tput sequences. > eval " > l() { > ls -lrt --color=always \"\...@\" | > sed 's/ -> / $(tput bold)▪▶$(tput sgr0) /' FWIW, I find this arrow pretty ugly. Why not →? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Re: the unicode arrow
Andreas Schwab wrote: > Pádraig Brady writes: > >> # quick dir listing with latest files/dirs at the bottom, >> # prettify symlink arrows. >> # using eval to precompute the tput sequences. >> eval " >> l() { >> ls -lrt --color=always \"\...@\" | >> sed 's/ -> / $(tput bold)▪▶$(tput sgr0) /' > > FWIW, I find this arrow pretty ugly. Why not →? Because I can't see it with my font (Bitstream Vera Mono 10). Feel free to change it in your copy of l() :) cheers, Pádraig.