WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ncurses  (Read 7242 times)

Offline TaoTePuh

  • Full Member
  • ***
  • Posts: 172
Re: ncurses
« Reply #15 on: August 21, 2010, 11:54:55 AM »
Okay, after fetching the new ncurses* :

1.) mc works again
2.) compiling ncmpcpp against ncurses works too.

Good boys do good jobs. Thank you!

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: ncurses
« Reply #16 on: August 21, 2010, 03:55:38 PM »
Thanks :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: ncurses
« Reply #17 on: August 23, 2010, 07:07:44 AM »
ncursesw, ncurses compiled with widec option enabling UTF-8 is posted. Look for ncursesw.tcz, ncursesw-utils.tcz and ncursesw-dev.tcz in the repo. These can be installed alongside with their normal ncurses counterpart. ncurses-doc.tcz and ncurses-terminfo.tcz are common for both versions.

ncurses-common.tcz which is a set of mandatory components for both versions loaded automatically by the main extension.

ncurses-utils.tcz and ncursesw-utils.tcz installing applications with the same name but linked against different libs, do not mix them.

« Last Edit: August 23, 2010, 07:10:40 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline TaoTePuh

  • Full Member
  • ***
  • Posts: 172
Re: ncurses
« Reply #18 on: August 23, 2010, 10:04:09 AM »
Cool!

I will try to build new ncmpcpp with the option "--enable-unicode".

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: ncurses
« Reply #19 on: August 23, 2010, 11:30:43 AM »
I will get in around 8pm EST and upload it then.

Offline TaoTePuh

  • Full Member
  • ***
  • Posts: 172
Re: ncurses
« Reply #20 on: August 24, 2010, 11:07:29 AM »
I have rebuilt ncmpcpp with UTF-8 support (--enable-unicode) against the new ncursesw*, then  tested :

                Terminal/locale   UTF-8    ISO-8859-15    C
                --------------------------------------------
                aterm              2)          3)         1)
                LXTerminal         OK          4)         1)
                Terminal (Xfce)    OK          3)         1)
               
                1) non-ISO-8859-1 chars are not displayed correctly
                   search for special characters only with ".." and regex-mode
                   
                2) non-ISO-8859-1 chars are not displayed correctly
                   search for special characters works but they are not
                   displayed correctly
               
                3) characters are displayed correctly
                   search for special characters only with ".." and regex-mode
               
                4) characters are displayed correctly
                   search for special characters only with ".." and regex-mode
                   borders and lines are not displayed correctly


As expected, it works only in an UTF-8 environment really well.


Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: ncurses
« Reply #21 on: August 24, 2010, 03:47:03 PM »
Might be of potential interest if behaviour on a VT would be included in comparison.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: ncurses
« Reply #22 on: August 24, 2010, 04:20:20 PM »
Both lxterminal and Xfce4's terminal is using the same terminal engine, vte therefore their main behavior expected to be the same.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline TaoTePuh

  • Full Member
  • ***
  • Posts: 172
Re: ncurses
« Reply #23 on: August 25, 2010, 07:40:02 AM »
Might be of potential interest if behaviour on a VT would be included in comparison.

I have no experience with VT's. Please teach me.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: ncurses
« Reply #24 on: August 25, 2010, 08:13:19 AM »
The console font is even more limited than the bitmap one used by X and aterm, so not too good results would be expected. For special characters it's best to use a TTF-supporting terminal with a good truetype font.
The only barriers that can stop you are the ones you create yourself.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: ncurses
« Reply #25 on: August 25, 2010, 08:34:44 AM »
Ok, if so, then I guess what i suggested is futile, disregard please.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)