mbacarella / curses Goto Github PK
View Code? Open in Web Editor NEWBindings to curses/ncurses
License: GNU Lesser General Public License v2.1
Bindings to curses/ncurses
License: GNU Lesser General Public License v2.1
Makefile.in still has VERSION = 1.0.4
although the latest tag is 1.0.6
in commit olafhering/ocaml-curses-tmk@98bf396 I had added to my copy of curses-tmk.
If you are interested in such change I will prepare a PR.
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
dune
or opam
command I'm unaware ofHello,
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>
# | ^
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)
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.