Need help on Character Sets

This is a discussion on Need help on Character Sets within the Linux Programming forums, part of the Platform Specific Boards category; Hello Everyone, please tolerate my newbie questions (as Im trying to divorce Microsoft and switch over to Linux). Currently, I've ...

  1. #1
    Im a Capricorn vsriharsha's Avatar
    Join Date
    Feb 2002
    Posts
    192

    Unhappy Need help on Character Sets

    Hello Everyone,
    please tolerate my newbie questions (as Im trying to divorce Microsoft and switch over to Linux). Currently, I've gone through a tutorial on CURSES and wrote a small program to actually implement it.
    I created a new window in it but am facing two problems.

    1. If I use the box(...) function, All I get is a tiny bright block in the top left corner of the window. No other border is visible.

    2. Then I used the wborder(....) function. But to my surprise, I cannot use the extended ASCII characters that I normally used in DOS for drawing borders (single line and double line).

    Can anyone help me out of this situation. I want to draw (or atleast print) single-line and double-line border characters as text in linux. How do I go about it?

    Regards,
    Harsha.
    Help everyone you can

  2. #2
    SleepWalker tjohnsson's Avatar
    Join Date
    Apr 2004
    Posts
    70
    you haven't show any code what you have written,
    but take a look to ...
    http://www.tldp.org/HOWTO/NCURSES-Pr...O/windows.html
    .. maybe there's something what helps you through this problem
    and ncurses has constants beginning with ACS_* to implement different kind of
    "graphic" characters.
    Last edited by tjohnsson; 06-09-2004 at 12:43 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using a character array in a switch question.
    By bajanElf in forum C Programming
    Replies: 10
    Last Post: 11-08-2008, 08:06 AM
  2. Replies: 11
    Last Post: 10-07-2008, 07:19 PM
  3. Errors including <windows.h>
    By jw232 in forum Windows Programming
    Replies: 4
    Last Post: 07-29-2008, 02:29 PM
  4. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 02:04 PM
  5. <string> to LPCSTR? Also, character encoding: UNICODE vs ?
    By Kurisu33 in forum C++ Programming
    Replies: 7
    Last Post: 10-09-2006, 01:48 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21