lkml.org 
[lkml]   [1999]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Supporting Macintosh FinderInfo/Resource Fork in Linux NWFS 2 .0


Hi,

Mike wrote:

> Although you want easy-to-use and nice looking box drawing characters,
> you must realize that people using Kana/Kanji charsets, KOI8-R
> charsets, ISO-8859-* charsets, etc. may not have access to box drawing
> characters -- they are inherently nonportable. If you can't handle
> the appearance degradation that results from use of the ncurses box
> drawing functions (or those present in higher level text-widget
> libraries), I suggest you look at the "fat line" (background-color
> based) drawing used by e.g. the "dialog" package.

smitty, the terminal-based version of AIX's system management tool,
uses dashes (0x2d), pipes (0x7c), and plus signs (0x2b), like this:

+----------------------------------------+
| Press ENTER to continue or PF3 to exit |
+----------------------------------------+

Equal signs (0x3d) might be used instead:

+========================================+
| Press ENTER to continue or PF3 to exit |
+========================================+

I have seen other programs attempt to use the box-drawing
characters instead, with mixed results. They're nice glyphs if you
can get 'em [and you can get 'em if you try] but if you incorrectly
assume you have them the results can be terrible. You can always
query the current locale to try to determine whether the box-drawing
characters are supported.

Cheers,

Justin T. Fries
Raleigh, North Carolina
(919) 254-1422 TL 444-1422
Email: justinf@us.ibm.com



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.112 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site