<html><head></head><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1494339003344_10245">Hello,</div><div id="yui_3_16_0_ym19_1_1494339003344_10246"><br></div><div id="yui_3_16_0_ym19_1_1494339003344_10247">Does anyone out there use the "shell" option in xmllint?<br><br>I have two different systems. One is Ubuntu 14.04, the other is CentOS 7.3.</div><div id="yui_3_16_0_ym19_1_1494339003344_10436"><br></div><div id="yui_3_16_0_ym19_1_1494339003344_10437" dir="ltr">Both systems are running xmllint 20901, and the compile time options are the same for both. Both systems had xmllint installed using their respective "pull down the compiled binary" option rather than a local compile from source.<br></div><div id="yui_3_16_0_ym19_1_1494339003344_10304"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1494339003344_10345">On the Ubuntu system, if I run "xmllint --shell somefile.xml", I can use the up-arrow key to see the command history. I'd like to have the same functionality on CentOS.<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1494339003344_10354"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1494339003344_10353">However, the CentOS-based xmllint doesn't recognize the arrow keys. The keys dump their ASCII equivalent (e.g. "^[[A" for the up arrow) to the screen rather than displaying the command history. This occurs in a remote login (ssh via Putty) and in a terminal window opened on the console.<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1494339003344_10352"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1494339003344_10385">The "up arrow for history" functionality DOES work on the CentOS box in the bash shell, and in Python. It's only in xmllint that it's failing.<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1494339003344_10572"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1494339003344_10573">The $TERM is set to "xterm" on the Ubuntu system. On Ubuntu, the $TERM is set to "xterm", but setting the $TERM to "xterm" on CentOS has no effect upon xmllint. I've also tried "vt100" and "vt220"...no change. The default $TERM for this is xterm-256color.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1494339003344_10777"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1494339003344_10778">Any thoughts on what I need to do to get this functionality on CentOS?</div><div dir="ltr" id="yui_3_16_0_ym19_1_1494339003344_10779"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1494339003344_10780">Thanks in advance,</div><div dir="ltr" id="yui_3_16_0_ym19_1_1494339003344_10781"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1494339003344_10782"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1494339003344_10783">Peter Kukla<br></div><div id="yui_3_16_0_ym19_1_1494339003344_10286"><br></div><div id="yui_3_16_0_ym19_1_1494339003344_10285"><br></div><div id="yui_3_16_0_ym19_1_1494339003344_10284"><br></div><div id="yui_3_16_0_ym19_1_1494339003344_10145"><br></div></div></body></html>