Bug 1230021
| Summary: | xfce4-terminal has issues with linebreaks | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ali Akcaagac <aliakc> |
| Component: | sudo | Assignee: | Daniel Kopeček <dkopecek> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | dkopecek, kevin, kzak, rsroka |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-13 13:57:02 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ali Akcaagac
2015-06-10 06:49:31 UTC
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 |