OSInside / flake-pilot

Registration/Control utility for applications launched through a runtime-engine, e.g containers
MIT License
2 stars 0 forks source link

Add terminal settings for pty stdout in sci #43

Closed schaefi closed 7 months ago

schaefi commented 7 months ago

disable ECHO

schaefi commented 7 months ago

There is still the issue that a pty prompt which doesn't end with an EOL will not be sent until there is an EOL in the input. You can specify

export PS1="\[\]\u@\h:/home/ms \[\]\[\]> \[\]\n"

with a NL at the end, but this is not a solution

schaefi commented 7 months ago

An alternative EOL character matching the pty prompt EOL would be needed, maybe just "\0" but not sure and still didn't found a solution. socat seems to have a fix for this, need to look into the socat code