Jonathan Hoser wrote: % Hi all, % % I'm using spacecmd in a few places and I noticed a strangeness, that I % wanted to ask you guys about. % I'm still running spacewalk-1.6 (on postgres) on a Fedora16 box, maybe % thats the issue, but then it might not: % % running something like % spacecmd -q softwarechannel_listsystems fedora16-x86_64 % produces a nice-enough list - just as I expect it: % hias.mydomain.de % ibis111.mydomain.de % ibis138.[...] % % however, writing that list into a file % spacecmd -q softwarechannel_listsystems fedora16-x86_64 > /tmp/f16.txt % % results in a few bad characters written in the beginning of the file: % ^[[?1034hhias.mydomain.de % ibis111.mydomain.de % ibis138...[...] % % Where does that strange string "^[[?1034h" come from? It's pretty % consistent across all pipes of spacecmd that I'm using, % and its quite irritating, since I haven't been able to discover the why, % where, and hms? about it.
Hi Jonathan, It's probably readline library leaking terminal escape sequence to stdout. See https://bugzilla.redhat.com/show_bug.cgi?id=304181. I'm not sure how to fix / workaround it. Regards, -- Michael Mráka Satellite Engineering, Red Hat _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
