Comments (2)
Hello.
If I understood your question correctly, you are asking for using replxx
to implement
an interactive system shell for the command line.
It can be achieved, in fact there is already a project that does precisely that: Huginn - a new interactive system shell for both Linux/Unix and Windows systems (Github mirror).
In this project you can see how replxx
can be utilized to implement so called "interactive part" of system shell and how much more work is necessary to have fully functioning shell.
If you asked for something simpler than implementing fully fledged system shell
so that replxx
would do most of the job for you by some method for running system commands
and "forwarding" their I/O then unfortunately this would be out of scope for the replxx
project.
It is worth mentioning that Linux' ls
is implemented completely different than Windows' dir
in a sense that ls
exists in the system as a standalone program that can be executed by any other process directly while dir
on Windows is a cmd
's built-in and can be executed only from cmd
context.
I hope this answer your question.
from replxx.
@AmokHuginnsson Thanks for your reply. This is exactly what I had in mind. I'll have a look into the huginn project.
from replxx.
Related Issues (20)
- error: debug map object file ... has changed ... since this executable was linked, file will be ignored HOT 1
- stdin loses unbuffered setting during callbacks HOT 1
- Memory handling for replxx_add_completion() / replxx_add_color_completion() undocumented HOT 1
- Pressing enter right after incremental search doesn't show the accepted line HOT 2
- retrieve last line before EOF HOT 1
- Replxx submitted to Fedora HOT 2
- Prompt is not re-rendered when I press "up" HOT 1
- Multiline text with <tab> leads to crash HOT 4
- How to abort "input" in another thread? HOT 5
- Help: wired behavior of Ctrl-A HOT 2
- segmentation fault on down arrow keypress HOT 5
- How to break loop when user press CTRL+C or CTRL+D or CTRL+Z or ESC ? HOT 2
- Support the switch of beep.
- How to enable multiline HOT 1
- Support custom file descriptors
- Homebrew integration for mac
- Undo
- New warning from gcc 13
- Looks like Marcin Konarski died in November 2021 HOT 5
- Colored user input while displaying hints
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 replxx.