Comments (5)
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.
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.
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.
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.
why does oksh require ncurses for? a replacement for readline?
from oksh.
Related Issues (20)
- Is it possible to release a new tarball? HOT 4
- [question] similar projects for other BSDs shells? HOT 7
- set -A no longer works HOT 1
- Provide sample ksh.kshrc HOT 1
- wrong configure option inside termux HOT 8
- ^L in vi mode prints the prompt incorrecty when PS1 is more than one line HOT 7
- `./configure --enable-ksh` stills installs manual as `oksh` HOT 3
- Announcement: renaming branch to main on 11/26. HOT 2
- FreeBSD 12.2p4: ^L in vi-mode prints as a string of literals rather than clearing the screen HOT 3
- Stop line wrapping in emacs mode. HOT 1
- oksh not compliant with ksh88 vi-editing mode?
- `shift $#` inside for loop without `in word...` part breaks the parameter list HOT 1
- down-history: difference with bash/ksh
- Feature request: bashism "<<<"
- Compiling oksh against netbsd-curses HOT 3
- $RANDOM within scripts returns the same value HOT 3
- ksh attempts to cd into non-existent cdpath before trying argument first HOT 11
- command wrapping too early HOT 5
- Building fine on MSYS2 MSYS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oksh.