Display, graphic, or printable characters?
Lassi Kortela
(11 Nov 2019 13:34 UTC)
|
||
Re: Display, graphic, or printable characters?
John Cowan
(11 Nov 2019 21:57 UTC)
|
||
Re: Display, graphic, or printable characters?
Lassi Kortela
(11 Nov 2019 22:07 UTC)
|
||
(missing)
|
||
(missing)
|
||
(missing)
|
||
Re: Display, graphic, or printable characters?
Lassi Kortela
(12 Nov 2019 11:53 UTC)
|
||
Re: Display, graphic, or printable characters?
John Cowan
(12 Nov 2019 17:13 UTC)
|
||
Re: Display, graphic, or printable characters?
Lassi Kortela
(18 Nov 2019 19:46 UTC)
|
||
Re: Display, graphic, or printable characters?
Lassi Kortela
(22 Nov 2019 12:56 UTC)
|
||
Re: Display, graphic, or printable characters?
Lassi Kortela
(22 Nov 2019 13:18 UTC)
|
||
Re: Display, graphic, or printable characters?
Lassi Kortela
(22 Nov 2019 13:20 UTC)
|
||
Re: Display, graphic, or printable characters? Lassi Kortela (11 Nov 2019 23:34 UTC)
|
>>> A character is "graphic" if it takes up room on the display surface: thus a >>> letter, number, punctuation mark, symbol, combining character (none in >>> ASCII), or any of Unicode's various space separator characters. It is >>> "printable" if it also leaves ink on the display surface, which excludes >>> the last group. (Unicode does not define "printable", but ISO C and C++ >>> do.) >> >> Based on BSD manual pages, isprint() is like isgraph() but also includes >> the space character. isprint() does not include tab or newline. >> > > Right. Those move you around on the display surface as opposed to > occupying it. I guess the distinction is somewhat moot nowadays on video displays, and especially in GUIs. A tab's width is still N characters' width. The BSD graphic vs printable distinction is also swapped from your explanation.