Bash command completion when not connected to a terminal

2007-06-06 Thread raner
Hi all, I am trying to integrate bash with a Java application, i.e. bash is started as a process and the Java application sends data to the process's stdin and reads data from stdout/stderr. This works reasonably well, but I am having a problem with completion, e.g. the user pressing TAB to compl

Re: Bash command completion when not connected to a terminal

2007-06-06 Thread raner
Paul Jarc wrote: > > raner <[EMAIL PROTECTED]> wrote: >> The completion seems to work, but I do not receive the completed filename >> from the shell's stdout. > > It's written to stderr, not stdout. > Thanks for your reply, Paul. I'm reading

Re: Bash command completion when not connected to a terminal

2007-06-08 Thread raner
raner wrote: > > Is there a way to configure bash to echo back each character that was sent > to it's stdin? > All right, I spent quite some time with this problem, so I thought I share what I've found out and answer my own question. First of all, I should probabl