I just switched from Fedora 20 to Fedora 22. Previously I was using xfce4.12 from nonamedec COPR on Fedora 20 and I never detected any issues. With the switch to Fedora 22 I saw that xfce4-terminal is missbehaving with linefeeds on output. Now that I doubt this to be xfce4-terminal itself, it might be the underlaying vte (I am not sure if its 291 or any other version). Use Case: sudo time yum --assumeyes reinstall xfce4-terminal. This ouputs this: -bash-4.3$ sudo time yum reinstall --assumeyes xfce4-terminal Yum command has been deprecated, use dnf instead. See 'man dnf' and 'man yum2dnf' for more information. Resolving Dependencies --> Running transaction check ---> Package xfce4-terminal.i686 0:0.6.3-7.fc22 will be reinstalled --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Reinstalling: xfce4-terminal i686 0.6.3-7.fc22 fedora 489 k Transaction Summary ================================================================================ Reinstall 1 Package Total size: 489 k Installed size: 1.8 M Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : xfce4-terminal-0.6.3-7.fc22.i686 1/1 Verifying : xfce4-terminal-0.6.3-7.fc22.i686 1/1 Installed: xfce4-terminal.i686 0:0.6.3-7.fc22 Complete! 3.33user 0.49system 0:07.47elapsed 51%CPU (0avgtext+0avgdata 45220maxresident)k 0inputs+6960outputs (0major+18138minor)pagefaults 0swaps So why is time all plastered into one line ? When I enter time on its own: -bash-4.3$ time real 0m0.000s user 0m0.000s sys 0m0.000s I have been seeing this with other constructions and tools as well. Everything plastered into one line rather than using correct newlines.
xfce4-terminal uses the gtk2 version of vte that's in the 'vte' package, not 'vte291'.
Are all the places you are seeing it using sudo? I can only get it to happen with 'sudo time whatever' If I do: "sudo -i" and then 'time whatever' it works fine. I don't think this is a vte or xfce4-terminal issue... seems like sudo is to blame?
Good catch: -bash-4.3$ sudo time date [sudo] password for aakcaagac: Wed Jun 10 22:29:03 CEST 2015 0.00user 0.00system 0:00.00elapsed 12%CPU (0avgtext+0avgdata 1744maxresident)k 24inputs+0outputs (1major+73minor)pagefaults 0swaps -bash-4.3$ su -c "time date" Password: Wed Jun 10 22:29:10 CEST 2015 real 0m0.011s user 0m0.001s sys 0m0.000s -bash-4.3$ sudo -i time date Wed Jun 10 22:29:17 CEST 2015 real 0m0.013s user 0m0.000s sys 0m0.002s -bash-4.3$ Yes I use sudo quite often. But I also use su -c whenever I feel the need (lazy).
Moving to sudo for comment. Might be some shell interaction too... but it's not vte/xfce4-terminal as far as I can tell.
This is actually not a bug. There is a fact that bash has keyword called "time". If user types "time", shell looks for keyword at first and pick "time" if exist and binary /bin/time will be ignored. There is difference between "time" as keyword and "time" as binary, which is actually in format of output. This nice output is keyword output and that quite "ugly" is a GNU output(man time). There is a way how unite outputs e.g. "time -p". Try "type time" and "type /bin/time". "sudo time date" - sudo gets parameter "time" and looking for it in secure_path (binary is used every time). "sudo -i time date" - somewhere in background is called shell with "time" as parameter and it runs keyword again. Another example - "sudo -i /bin/time date" - calls binary