[Xml-coreutils-discuss] Ctrl-C for xml-cat
Status: Alpha
Brought to you by:
lbreyer
From: Douglas H. <do...@do...> - 2015-02-10 12:07:42
|
In the event a blocking command such as xml-cat is run with incorrect input parameters, it is convenient (and customary) to cancel the command with Ctrl-C. Steps to reproduce: 1. build and install slang 2.1.4 on OS X 2. configure xml-coreutils 0.8.1 with: ./configure CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib 3. make and make install xml-coreutils 4. run the blocking command: cat 5. Type Ctrl-C to cancel the command. 6. run the blocking command: xml-cat 7. Type Ctrl-C to cancel the command. Expected results: 'xml-cat' should catch signal 2 and cancel the process just as 'cat' does. Actual results: 'xml-cat' does not cancel when Ctrl-C is pressed. Workaround: Input Ctrl-D (End-of-file) to cancel the process. -- Douglas Held do...@do... +447775733093 |