pipe stdin to stdin of 'command' when using -e or --command

Bug #290488 reported by Timothy Stebbing
0
Affects Status Importance Assigned to Milestone
GNOME Terminal
Fix Released
Wishlist
gnome-terminal (Ubuntu)
Triaged
Wishlist
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-terminal

This is a wishlist item:

When using gnome-terminal with the -e or --command argument, stdin for gnome-terminal should be piped to stdin for the executed command. This would make gnome terminal far more useful, for example:

% bzr diff | gnome-terminal -e less
continue working..

% ps aux | gnome-terminal -e less
continue working..

I tried this first example today and was shocked when it -didn't- work, I find the same feature lacking in xterm as well.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for the report, this needs to be forwarded upstream by someone interested on the feature, leaving this as incomplete until that, for forwarding instructions please have a look to https://wiki.ubuntu.com/Bugs/Upstream/GNOME ; thanks in advance.

Changed in gnome-terminal:
assignee: nobody → desktop-bugs
importance: Undecided → Wishlist
status: New → Incomplete
Revision history for this message
Jordan Bain (jbain-deactivatedaccount) wrote :

Couldn't this be simply done with piping? Unless I'm not understanding, you could ps aux | less just fine, couldn't you? Or you could use the < and > operators. For reference:
http://www.gnu.org/software/bash/manual/bashref.html#Process-Substitution

Revision history for this message
Timothy Stebbing (tjstebbing-deactivatedaccount) wrote : Re: [Bug 290488] Re: pipe stdin to stdin of 'command' when using -e or --command

On Sun, Nov 30, 2008 at 8:16 PM, Quinlan Pfiffer <email address hidden> wrote:
> Couldn't this be simply done with piping? Unless I'm not understanding, you could ps aux | less just fine, couldn't you? Or you could use the < and > operators. For reference:
> http://www.gnu.org/software/bash/manual/bashref.html#Process-Substitution
>

The objective is to have the output in a new terminal, not the one you
are using; hence why gnome-terminal is part of the command in the
first place.

-tjs

Changed in gnome-terminal:
status: Unknown → Invalid
Changed in gnome-terminal:
status: Invalid → Unknown
Changed in gnome-terminal:
status: Unknown → Confirmed
Changed in gnome-terminal (Ubuntu):
status: Incomplete → Triaged
Changed in gnome-terminal:
importance: Unknown → Wishlist
Changed in gnome-terminal:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.