Giter Club home page Giter Club logo

curses's People

Contributors

atupone avatar dra27 avatar gridbugs avatar mbacarella avatar olafhering avatar pelzlpj avatar rrbq avatar rwmjones avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

curses's Issues

Unicode characters do not appear

Printing unicode characters (example: "ใ‚") appears to not work OOTB (this is with arch linux, tested on kitty, konsole, and uxterm).

I know ncursesw provides unicode character support, so with that in mind it appears like the ocaml-curses library defaults to ncurses.

I'm unsure if this is

  • A package manager problem which can be using a dune or opam command I'm unaware of
  • A programmatic problem (I initially assumed it was a locale issue but setting environment variables does not address the problem)
  • Working as intended because ncursesw is unsupported
  • Something else

Building fails on archlinux because of curses.h packaging

Hello,

Since the removal of the previous build system in e5f6c37, building fails in archlinux (see trace below).
The issue is that archlinux builds ncurses in a different way, and the ncursesw/ folder is not used. Not sure if <curses.h> is sufficient, or if <cursesw.h> should be used.

See a discussion about this in another repository: rakshasa/rtorrent#886

Could this case be added back to the build system?

Trace when installing with opam:

[ERROR] The compilation of curses.1.0.9 failed at "dune build -p curses -j 3 @install".                                                                                                                                                       
#=== ERROR while compiling curses.1.0.9 =======================================#                                       # context              2.1.1 | linux/x86_64 | ocaml.4.12.0 | https://opam.ocaml.org#255e47c6
# path                 ~/.opam/default/.opam-switch/build/curses.1.0.9
# command              ~/.opam/default/bin/dune build -p curses -j 3 @install                                          # exit-code            1                                   
# env-file             ~/.opam/log/curses-1221-0bdc36.env                                                              # output-file          ~/.opam/log/curses-1221-0bdc36.out
### output ###                                                                                                         #          gcc ml_curses.o (exit 1)
# (cd _build/default && /usr/sbin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fn
o-plt -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H -g 
-I /usr/lib/ocaml -o ml_curses.o -c ml_curses.c)
# In file included from ml_curses.c:2:
# config.h:1:23: fatal error: ncursesw/curses.h: No such file or directory                           
#     1 | #define CURSES_HEADER <ncursesw/curses.h>
#       |                       ^                   

Release 1.0.11

Hello,
Can you create a release for 1.0.11, so I can update the arch linux package?
(There currently is a build issue, not sure if it's already handled by the latest commits)

Could this package look for ncursesw?

Fails to build on my system because it tries to run pkg-config ncurses.

Any chance it could look for ncursesw? Which is probably what most people want, but some distros don't symlink ncurses to ncursesw

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.