bugGNU Screen - Bugs: bug #31556, print "command from..."...

 
 

bug #31556: print "command from..." when command is "echo" is unnecessary, annoying

Submitter:  None
Submitted:  Fri 05 Nov 2010 04:12:38 PM UTC
Votes: 10
 
Category:  None Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 05 Nov 2010 04:12:38 PM UTC, original submission:  

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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #21936:  silence_command_from_echo.patch added by None (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by soliton (Voted in favor of this item)
  •  

    There are 10 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-07-27 soliton Carbon-Copy- Added soliton
    2010-11-05 None Attached File- Added silence_command_from_echo.patch, #21936

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code