I found this project called JLine, and help can be provided there for SSHD and console/terminals?
> On Oct 28, 2020, at 12:23 PM, Lyor Goldstein <[email protected]> wrote: > >>> But now the issue is how do I get the ECHO to work! When I type my > command, I need to see what I type, as soon as I type a character, just > like in any normal terminal. I understand how the ProcessShell works, as > the process has Input, Output and Error (which is used as Echo stream) > streams, > > Looks like you have made significant progress. > >>> but in this case I have Input and Output only, and don’t have a Process. > Actually SSH provides input, output AND error streams - see the Command > interface (from which Shell is derived). > >>> What happens now, is as I type I don’t see anything, then I press > ‘Enter’ and it gets read in and gets executed correctly, so what I have to > do is type it up in Text editor and then copy/paste the command into the > Terminal. >>> Please help! > > I wish we had the time we need to really resolve this issue. All I can > suggest - as frustrating as it may be - keep trying and debugging the code. > Hint: try looking at InvertedShell and InvertedShellWrapper - perhaps they > have what you need... --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
