URL:
<http://savannah.gnu.org/bugs/?31556>
Summary: print "command from..." when command is "echo" is
unnecessary, annoying
Project: GNU Screen
Submitted by: None
Submitted on: Fri 05 Nov 2010 04:12:38 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: None
Fixed Release: None
Planned Release: None
Work Required: None
_______________________________________________________
Details:
I'm using a command line of the form:
screen -X at 0 echo 'something'
In order to pass a notification message to an attached screen session.
When I do this, in my screen session, I get the 'something' message, as was
passed from the command.
But subsequently, I also get a message of the form:
command from kirkland: echo something
Thus, I get two notifications, redundant information really:
something
command from kirkland: echo something
I think the 'echo' command is a special case. In all other cases, sure,
seeing that a command is being executed in your session makes perfect sense.
But in an 'echo', what you want is the actual text in your notification
buffer. I'm attaching a patch that fixes this. We will be carrying this in
Ubuntu's version of screen. Please consider and apply to the upstream
project. Thanks.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 05 Nov 2010 04:12:38 PM UTC Name: silence_command_from_echo.patch
Size: 2kB By: None
<http://savannah.gnu.org/bugs/download.php?file_id=21936>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31556>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/