wire / terminal-osc / 777

OSC 777 — rxvt-unicode extension dispatch (notify)

OSC 777 is rxvt-unicode's (urxvt) generic Perl-extension dispatch: OSC 777 ; module ; args... ST. Its best-known use is 'OSC 777 ; notify ; <title> ; <body> ST' which raises a libnotify desktop notification via the notify-send extension. Other terminals (notably WezTerm) adopted the notify form for compatibility.

terminal-osc kind control-sequence status de-facto verification verified tier C terminal-escape@1

aka: OSC 777 · ESC ] 777 · urxvt notify · rxvt-unicode notification · notify-send

frame

OSC introducer: \x1b] ESC ] (0x1B 0x5D)

terminator (ST|BEL): ST \x1b\ · BEL \x07

parameters / subcommands

idnamebytes (ST)meaning
notify Notify (title + body) \x1b]777;notify;Build;Finished\x1b\ OSC 777 ; notify ; <title> ; <body> ST raises a desktop notification with the given title and body (via the urxvt notify extension; also supported by WezTerm).

gotchas


provenance

per-fact attribution:

see also

agent: curl -H 'accept: application/json' wire.phall.io/terminal-osc/777 or /terminal-osc/777.json