-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve TTY handling #29
Comments
New FORK param: to-be-used PGRP (or flag to create new one) We cannot re-use Task ID of created child as PGRP ID when a new one is created - a previously started PGRP may still run, but this very PGRP member has already finished, and Task ID would be reused. Maybe second return param? |
This ticket should include making slipd the controlling terminal for users logged in via telnet |
Started working on design in https://github.com/fachat/GeckOS-V2/blob/master/GeckOS-NG-Terminal.adoc |
Streams can now have a foreground process attached that receives the signal sent to the stream. The console sends SIG_BRK on Ctrl-C, and the lib6502 signal handler terminates the process by default. This can be overwritten by setting a lib6502 signal handler. The lsh currently does that (and ignores it). |
Blocking when reading a stream by another task than the foreground task (if set) is not there (yet). Not sure when / if this will be needed, so deferred for now |
improve TTY handling based on MORE Fix (Issue #27 )
-- if set
--- STREAM gets a PGRP attached
---- On GETC, if PGRP does not match block
---- On PUTC,
----- if Ctrl-C -> signal (all) PGRP tasks SIGTERM
----- if Ctrl-D -> EOF
The text was updated successfully, but these errors were encountered: