Describe the bug
Dear ROOT developers,
since, I believe, introduction of ROOT v6, after one redirects /dev/stdout to a file, by typing, for example,
".> a.txt", one can no longer see what he is typing on the command line - the typed characters are saved
to a.txt, but are not duplicated on the screen.
Moreover, pressing the up-arrow key brings to the screen usual escape characters (as shown in the example below -
"^[[A" corresponds to me pressing up-arrow) and a user has to remember the contents of the command stack till he finally
types ".>" and gets visibility of the command prompt back.
-- many thanks for taking time and looking into it, Pasha
Expected behavior
The desired (a'la ROOT 5) behavior is that after the redirection, the output of the compiled code is redirected
to the specified file, everything coming from /usr/stdin is also sent to that file, but also duplicated on the screen,
so the command line is fully visible and editable at any time.
To Reproduce
murat@mu2e01:/data/murat/mu2e_dev>root.exe
------------------------------------------------------------------
| Welcome to ROOT 6.22/06 https://root.cern |
| (c) 1995-2020, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Nov 27 2020, 15:14:08 |
| From tags/v6-22-06@v6-22-06 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
root [0] .> a.txt
.?
^[[A
.>
root [4]
Setup
- ROOT version : v6xx - I believe, any will do
- Operating system : Linux
- How you obtained ROOT: via centralized Fermilab code management
Additional context
https://root-forum.cern.ch/t/back-to-redirecting-the-command-line-output-to-a-file-how-to-use-the-command-line-history-buffer/39886
https://its.cern.ch/jira/browse/ROOT-10842
Describe the bug
Dear ROOT developers,
since, I believe, introduction of ROOT v6, after one redirects /dev/stdout to a file, by typing, for example,
".> a.txt", one can no longer see what he is typing on the command line - the typed characters are saved
to a.txt, but are not duplicated on the screen.
Moreover, pressing the up-arrow key brings to the screen usual escape characters (as shown in the example below -
"^[[A" corresponds to me pressing up-arrow) and a user has to remember the contents of the command stack till he finally
types ".>" and gets visibility of the command prompt back.
-- many thanks for taking time and looking into it, Pasha
Expected behavior
The desired (a'la ROOT 5) behavior is that after the redirection, the output of the compiled code is redirected
to the specified file, everything coming from /usr/stdin is also sent to that file, but also duplicated on the screen,
so the command line is fully visible and editable at any time.
To Reproduce
Setup
Additional context
https://root-forum.cern.ch/t/back-to-redirecting-the-command-line-output-to-a-file-how-to-use-the-command-line-history-buffer/39886
https://its.cern.ch/jira/browse/ROOT-10842