diff options
author | Thomas Rast <trast@student.ethz.ch> | 2011-12-12 19:09:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-19 12:19:57 -0800 |
commit | a463aefa353870dd4325ff86ab7da0195521341b (patch) | |
tree | 5ffb519a6cbe50e34cdc023ba2cc9fc38090f627 /alias.c | |
parent | 0510480510b181216d565ebcedea471d50c200b1 (diff) | |
download | git-a463aefa353870dd4325ff86ab7da0195521341b.tar.gz |
test-terminal: set output terminals to raw modetr/pty-all
Not setting them to raw mode causes funny things to happen, such as
\n -> \r\n translation:
./test-terminal.perl echo foo | xxd
0000000: 666f 6f0d 0a foo..
(Notice the added 0d.)
To avoid this, set the (pseudo)terminal to raw mode. Note that the
IO::Pty docs recommend doing it on both master and slave.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'alias.c')
0 files changed, 0 insertions, 0 deletions