bugGNU roff - Bugs: bug #61403, [troff]: interpolates ^ for \[ti]...

 
 

bug #61403: [troff]: interpolates ^ for \[ti] in device control escapes

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Sat 30 Oct 2021 04:44:31 AM UTC
   
 
Category:  Core Severity:  4 - Important
Item Group:  Incorrect behaviour Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 30 Oct 2021 11:45:35 PM UTC, comment #1: 


commit 3d1988cabc90f3c4b0b0000bb4a809be61eeba3c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sat Oct 30 15:48:42 2021 +1100

    [troff]: Map \[ti] correctly in \X escapes.

    [troff]: Map \[ti] correctly in device control escape sequences.

    * src/roff/troff/input.cpp (encode_char): Fix copy-and-paste error.
      \[ti] should put '~', not '^', into a device control command.

    Fixes <https://savannah.gnu.org/bugs/?61403>; problem introduced
    by me in commit 9d61b3d1, 1 October.


G. Branden Robinson <gbranden>
Group administrator
Sat 30 Oct 2021 04:44:31 AM UTC, original submission:  

An unfortunate copy-and-paste error in commit 9d61b3d1, easily fixed.


+      else if (strcmp("ha", sc) == 0)
+       mac->append('^');
[...]
+      else if (strcmp("ti", sc) == 0)
+       mac->append('^');


G. Branden Robinson <gbranden>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Submitted the item)
  •  

    There are 0 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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-10-30 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code