screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #31556] print "command from..." when command is "ech


From: anonymous
Subject: [screen-devel] [bug #31556] print "command from..." when command is "echo" is unnecessary, annoying
Date: Fri, 05 Nov 2010 16:12:39 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Ubuntu/10.10 Chromium/7.0.517.41 Chrome/7.0.517.41 Safari/534.7

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]