bug-ncurses
[Top][All Lists]
Advanced

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

Re: extended ASCII characters do not show up


From: Rajat Das
Subject: Re: extended ASCII characters do not show up
Date: Sun, 2 Oct 2005 22:47:52 -0700 (PDT)

Hi,

This is what I tried.

I installed ncurses with the following configuration
./configure --with-shared --without-normal --without-debug --with-trace 
--enable-widec

I then tried the following test program.

#include  <ncurses.h>

int main()
{
  WINDOW * win;
  initscr();
  win = newwin(10,10,10,10);
  box(win,0,0);
  wrefresh(win);
  endwin();

}

I did not use the _XOPEN_SOURCE_EXTENDED definition as I was not sure where 
exactly to define it.
I compiled the program thus:

gcc box.c -lncursesw

I ran the program from a linux console. I got no output at all ie. no box on 
the screen. I then
recompiled with the regular library thus:

gcc box.c -lncurses

This time I got a box with dashed lines(with + and - characters), something like

+----+
|    |
+----+





"Faith is the bird that sings when the dawn is still dark." - Tagore




reply via email to

[Prev in Thread] Current Thread [Next in Thread]