Comments (4)
More thoughts:
- There could be a way of having a task feed data to a process' input, via the PTY.
- There could be a way of having a task monitor a process' output, again via the PTY.
- Should there be a trap to "destroy" a spawned process? Or should we go for a more low-level (but more controllable) "send signal" trap?
PS: Copied to first comment to be accounted in issue progress.
from ppytty.
More thoughts:
- There could be a way of supporting out of band bidirectional task <-> process communication.
- Needs to be other than stdin/out/err based (given those are handled by the associated terminal).
- Maybe pipes could be used.
- Will we need new traps for that or can existing ones be reused, like
message-send
/message-wait
?
PS: Copied to first comment to be accounted in issue progress.
from ppytty.
IMPORTANT:
- Factor out all real I/O calls (like os.write/read, fcntl.fcntl/ioctl) to the kernel
hw.py
module.
Note:
- Needs thinking, otherwise, tests running under the "no i/o" test cases fail to "wake" the select via the "child terminated" pipe write.
PS: Copied to first comment to be accounted in issue progress.
from ppytty.
Closing after merging PR #104.
Follow-up issues regarding terminal input:
- Fix low-level I/O loop preventing some input from being forwarded to PTYs (#105).
- Fix cursor visibility across process window focusing (#106).
- Visually indicate focus changes (#107).
from ppytty.
Related Issues (20)
- Complete the Text widget HOT 1
- Complete the Slide widget HOT 6
- Complete the SlideDeck widget HOT 1
- Focus highlight not visible.
- Make sure tests pass on Linux
- Make Thing more generic, maybe rename it.
- Review library and implement color support.
- Python: Improve generator/coroutine .throw docs.
- Python: Open issue around curses.setupterm limitation.
- Allow tasks to track cursor movement in Process windows HOT 1
- Widget in Slide rendering failure. HOT 2
- Avoid double-rendering on Slide startup
- Optimize Window rendering when "leaving uncovered space".
- Slide multi-launch/cleanup limitation.
- Slide crashing: SlideDeck 'next' while MovableText moving. HOT 1
- Widget cleanup messaging/task wait order bug.
- Create a Code Widget
- Improve Task logging.
- Improve Bullet Widget truncation code. HOT 1
- Code Widget line numbering limitation
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 ppytty.