Giter Club home page Giter Club logo

Comments (5)

rnkn avatar rnkn commented on May 29, 2024 1

Built from master:

$ ldd /usr/local/bin/oksh
	/lib/ld-musl-aarch64.so.1 (0xffff96557000)
	libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0xffff9647d000)
	libc.musl-aarch64.so.1 => /lib/ld-musl-aarch64.so.1 (0xffff96557000)

Aaaaaaand.... ^L successfully clears the screen. So this is an Alpine packaging bug.

from oksh.

ibara avatar ibara commented on May 29, 2024 1

From the README.md:
Though not required, the ncurses library will be used for screen clearing routines if the library is found during the configure stage. This can be turned off by the user by passing the --disable-curses flag to configure.

from oksh.

ibara avatar ibara commented on May 29, 2024

Hmm. No special TERM value should be required. If oksh is linked with ncurses, then ncurses does the work of clearing the screen. If oksh is not linked with ncurses, then ^L just prints a newline. Can you check to make sure your version of oksh is linked with ncurses?

Otherwise I'll need to find time to spin up an Alpine VM and see what's going on.

from oksh.

rnkn avatar rnkn commented on May 29, 2024

Ah nope!

$ ldd /bin/oksh
	/lib/ld-musl-aarch64.so.1 (0xffff913ee000)
	libc.musl-aarch64.so.1 => /lib/ld-musl-aarch64.so.1 (0xffff913ee000)

Alpine has a bit of a thing about removing dependencies...

from oksh.

apprehensions avatar apprehensions commented on May 29, 2024

why does oksh require ncurses for? a replacement for readline?

from oksh.

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.