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

Re: How come i wrote a NO-BREAK SPACE in xterm+bash ?



On 2015-08-19 16:33:09 -0500, David Wright wrote:
> Quoting Thomas Schmitt (scdbackup@gmx.net):
> > But the typographical purpose of NO-BREAK SPACE is to look
> > like space without inviting an automatic line break.
> > So making it look not like space would be absurd.
> 
> But shell input is not a typographical context. Most source code
> isn't, except in literals. Documents generally are because they are
> displayed/printed.

The point is that the terminal cannot do the difference between
a NBSP coming from shell input and a NBSP coming from a displayed
document. So, it should render a NBSP exactly like a normal space.
And it is up to the application (the shell, an editor in some
mode, etc.) to render NBSP in a special way if needed.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: