bugGNU Teseq - Bugs: bug #28766, terminfo sequence-recognition mode

 
 

bug #28766: terminfo sequence-recognition mode

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Fri 29 Jan 2010 07:52:52 PM UTC  
 
Severity: 3 - NormalPriority: 5 - Normal
Status: NoneAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sun 19 May 2013 05:41:36 PM UTC, comment #3:

Could have a special mode for teseq/reseq where it doesn't emit : or . lines for anything that matches a terminfo entry, and reseq replays by tputting the recorded matches (later, perhaps even substituting for missing features in the replay term, and maybe even adjusting for things like writes at the end of the line, etc - could do that for normal replay mode, too, with a special flag).

Micah Cowan <micahcowan>
Project Administrator
Thu 02 Dec 2010 08:21:29 PM UTC, comment #2:

Possibly could be a completely separate program, one that might support generating output in terms of series of printf and tput invocations. If part of teseq proper, it'll probably need to identify the full sequence that matched, as many terminfo sequences consist of more than one actual ISO-2022 escape sequence.

Micah Cowan <micahcowan>
Project Administrator
Thu 02 Dec 2010 07:50:22 PM UTC, comment #1:

Stage one would be to recognize static sequences; step two would be to intelligently translate for parameterized strings.

That is: by translating each conditional branch to (x|y) patterns, and substituting \w+ or \d+ for numeric or string parameters, it could be possible to generate regular expressions to match against data, to find the terminfo sequence. With an extended regex engine, it could even be possible to detect what parameter had been used.

Micah Cowan <micahcowan>
Project Administrator
Fri 29 Jan 2010 07:52:52 PM UTC, original submission:

It'd be great for teseq to recognize when a series of characters matches a terminfo entry, and identify it when that happens.

Micah Cowan <micahcowan>
Project Administrator

 

(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)
  •  

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

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup