Code Monkey home page Code Monkey logo

Comments (13)

McParen avatar McParen commented on May 28, 2024 1

Ncurses 6.3 has been released two days ago:

https://www.invisible-island.net/ncurses/announce-6.3.html

The wide background issue is mentioned in the release notes:

These are improvements to existing features:

  • provide for wide-characters as background character in wbkgrnd

I've built and (cursorily) tested the new release, everything works as expected, so I'm closing the issue. Enjoy!

from croatoan.

cage2 avatar cage2 commented on May 28, 2024

from croatoan.

cage2 avatar cage2 commented on May 28, 2024

from croatoan.

McParen avatar McParen commented on May 28, 2024

Hello, I have removed the % prefixes today, so that the ncurses system can be used separately with the package as a prefix.

The bug you have there should not happen, there are no function calls with % prefixes left. Can you please check whether this is an issue with your .cache/common-lisp?

Which file causes the newwin error?

The file src/window.lisp is not loaded by the asd file, it is an old file that I have not yet removed.

Is this last call needed? If yes i wonder which locale is set for the lisp version of the program.

Yes, the call to setlocale is absolutely needed in C. In lisp, it is inherited from the shell from which the sbcl executable is called, so sbcl calls setlocale when started.

from croatoan.

cage2 avatar cage2 commented on May 28, 2024

from croatoan.

McParen avatar McParen commented on May 28, 2024

Sorry, I can not say why your asdf:make goes wrong. I usually ql:quickload the systems directly from the quicklisp/local-projects directory. Maybe asdf:make does something different. I cloned the repository to check and do not see the newwin error. You can see that newwin is exported in the ncurses/package.lisp file.

from croatoan.

McParen avatar McParen commented on May 28, 2024

Yes, the blank screen is also what I get. Thanks for reproducing the bug. I have brought this up on the ncurses mailing list, it seems to be a known issue.

from croatoan.

cage2 avatar cage2 commented on May 28, 2024

from croatoan.

cage2 avatar cage2 commented on May 28, 2024

from croatoan.

McParen avatar McParen commented on May 28, 2024

My guess is that it is entirely on the C side, because the wbkgrnd routine has been substantially changed between ncurses 6.1 and 6.2. I have contacted the author of ncurses, and he is looking into it at the moment.

Thanks for reproducing the bugs, this helps very much. Until others confirm, you can never be sure that you haven't caused the bug yourself and are unaware of it.

from croatoan.

cage2 avatar cage2 commented on May 28, 2024

from croatoan.

McParen avatar McParen commented on May 28, 2024

As far as I can confirm, the wbkgrnd bug has been fixed with the recent patch ncurses-6.2-20210206:

https://github.com/ThomasDickey/ncurses-snapshots/releases/tag/v6_2_20210206

Arbitrary unicode characters can be set as window backgrounds again.

Unicode test ut05 should work now as it did previously with ncurses 6.1:

(defun ut05 (&optional (n #x2592))

The patch will likely be part of the upcoming ncurses 6.3 release.

from croatoan.

cage2 avatar cage2 commented on May 28, 2024

from croatoan.

Related Issues (20)

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.