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

 
 
Show feedback again

bug #28766: terminfo sequence-recognition mode

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Fri Jan 29 19:52:52 2010  
 
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.

 

Thu Dec 2 20:21:29 2010, 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 Dec 2 19:50:22 2010, 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 Jan 29 19:52:52 2010, 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
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup