bugGNU Screen - Bugs: bug #23780, Spurious "/$PWD" emitted...

 
 

bug #23780: Spurious "/$PWD" emitted when running screen within bash within emacs

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Sun 06 Jul 2008 06:55:00 AM UTC  
 
Category: Program LogicSeverity: 3 - Normal
Priority: 7 - HighStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Fixed Release: NonePlanned Release: 4.1.0
Work Required: 0 - Hours

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 08 Jul 2008 10:35:30 PM UTC, comment #1:

On reflection, there's really nothing we can do about it.

Sure, screen could simply pass the SUB through; but it still has to figure out what to do with the characters that follow. There's no reason it should know that, if it's in an eterm, it should not count the following characters through the next newline, for image and position information. It's useless for screen to pass special characters through unless it has some expectation for how it should be interpreted.

Micah Cowan <micahcowan>
Sun 06 Jul 2008 06:55:00 AM UTC, original submission:

The cause of the problem is that bash detects whether it is running under emacs (by looking for the EMACS env var); if that var has the word "term" somewhere, it will always emit the sequence

\032/$PWD\n

But screen is stripping the \032 (SUB).

Micah Cowan <micahcowan>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by micahcowan (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 08 Jul 2008 10:35:39 PM UTCmicahcowanOpen/ClosedOpen=>Closed
    Tue 08 Jul 2008 10:35:30 PM UTCmicahcowanStatusConfirmed=>Wont Fix
    Sun 06 Jul 2008 06:55:34 AM UTCmicahcowanPriority5 - Normal=>7 - High

    Back to the top


    Powered by Savane 3.1-cleanup1