screen-devel
[Top][All Lists]
Advanced

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

[screen-devel] [bug #56063] pass through of escape codes to the terminal


From: anonymous
Subject: [screen-devel] [bug #56063] pass through of escape codes to the terminal
Date: Tue, 2 Apr 2019 16:46:47 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

URL:
  <https://savannah.gnu.org/bugs/?56063>

                 Summary: pass through of escape codes to the terminal
                 Project: GNU Screen
            Submitted by: None
            Submitted on: Tue 02 Apr 2019 08:46:45 PM UTC
                Category: Feature Request
                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 would like to have the possibility to pass escape codes unhandled through
screen to the terminal.

for tmux the escape characters in the original escape codes have to be
doubled.
'\033Ptmux;' is prepended to the string and '\033\\' (ESC \) is appended.

This would allow me to let the terminal handle sixel graphics but I think
there are many more use cases for it.

regular sixel code:

printf
'\033Pq#0;2;0;0;0#1;2;100;100;0#2;2;0;100;0#1~~@@vv@@~~@@address@hidden'


sixel code wrapped for tmux - tmux will pass it through to the terminal:

printf
'\033Ptmux;\033\033Pq#0;2;0;0;0#1;2;100;100;0#2;2;0;100;0#1~~@@vv@@~~@@address@hidden'
printf
'\033Pq#0;2;0;0;0#1;2;100;100;0#2;2;0;100;0#1~~@@vv@@~~@@address@hidden'
| sed 's/\o033/&&/g;s/^/\o033Ptmux;/;s/$/\o033\\/'






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56063>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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