[parted-devel] [PATCH] ui: do not initialize readline (which would output!) in --script mode
Jim Meyering
jim at meyering.net
Thu Sep 24 17:26:35 UTC 2009
I noticed some unexpected control characters at the beginning of actual
output from parted, and tracked it down to a bug whereby rl_initialize
was being called in spite of my use of --script (-s).
Note that this effect disappears if you set e.g., TERM=dumb
or unset TERM, as is done in the tests/test-lib.sh, but if you
set e.g., TERM=xterm, it would print the control characters.
More information about the parted-devel
mailing list