Re: [PATCH] kconfig: multibyte character support for lxdialog



On Sat, Jan 12, 2008 at 01:01:55PM +0100, EGRY Gabor wrote:

UTF-8 support for lxdialog with wchar. The installed wide ncurses (ncursesw) is optional.

Building this on my 64 bit box with ncursesw support I saw several warnings.
Adding the following to dialog.h decreased the number:
#ifdef USE_WIDE_CURSES
#define _XOPEN_SOURCE_EXTENDED
#endif

But it was not warning free.


In addition in your patch below you assume that
ncurses wide char support and wide char support follows each other.
This assumption makes things overly complicated.

Can we assume we have wide char support everywhere today where
we will support building Linux?
I am mostly concerned about sun, cygwin and MingW here...

If we can assume wide char support everywhere your patch will
become simplerAnd adding wide char support should be a separate step.

I tried to take a look at varous source packages and they do not
need this long list of redefinitions of the ncurses functions.
Do we do something fundamentally different than for example
dialog since this indirection is needed?


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



Relevant Pages

  • Re: Another ncurses question
    ... Simon Elliott wrote: ... >> ncurses provides extensions that allow for more colors. ... no - only certain terminals support the feature used in init_color. ...
    (comp.unix.programmer)
  • Re: mastering the console & gpm mouse management
    ... links running in a terminal under X responds to mouse ... This is a result of mouse support in ncurses I believe. ... some code floating around that provides mouse support in ncurses which ...
    (Debian-User)
  • Re: mastering the console & gpm mouse management
    ... The part where gpm links to ncurses serves no useful purpose. ... I modified ncurses a few months ago to provide gpm support in spite of that. ...
    (Debian-User)
  • Re: vi editor
    ... using a desktop/workstation, not a remote server in my response to you. ... uses ncurses, but I doubt it uses the mouse support in ncurses ... ncurses mouse support is not portable anyhow). ...
    (Fedora)
  • Re: Would Like LOG file to Record Shutdown
    ... from the delayed shutdown but it still takes 1-1/2 mins to complete. ... see Help and Support Center at ... I don't get any Errors or Warnings other than 3 IMAPI ... The Alerter service notifies users of administrative alerts on a network. ...
    (microsoft.public.windowsxp.help_and_support)