>> If that was the case, it would cause a lot of confusion to users, but >> fortunately, that's not the case (I've just tested it and I see no >> output either). > > It may be confusing but it is no different from having this case: > > rwp@discord:~$ printf "Hello" ; printf "\r" > rwp@discord:~$ > > Question: Where did the output go? Answer: It was printed but then it > was covered by the prompt and effectively hidden. Here I am using two > printf statements because your program didn't include one but in the > operation of gdm and emacs there is almost certainly one, which is > represented here by the second printf.
Thanks for the explanation, but what I wanted to say is that the users expect that the "input/output" buffer in Emacs contains _exclusively_ the input/output text sent to/taken from the process, and in this case, the process does not write any "\r" character. In any case, as you said, this doesn't seem to be the origin of the problem. Thanks. -- Dani Moncayo