oss-sec mailing list archives
Re: terminal emulators' processing of escape sequences
From: Yui Hirasawa <yui () cock li>
Date: Fri, 19 May 2017 21:58:58 +0300
On Wed, May 17, 2017 at 02:25:52AM +0200, Robert Święcki wrote:
Hi, 2017-05-17 0:03 GMT+02:00 Solar Designer <solar () openwall com>:Jason, Robert - On Tue, May 02, 2017 at 12:05:27AM +0200, Robert ??wi??cki wrote:A harmless example from rxvt - pushing back the new-line character: $ echo -ne "\eGQ;" ;$ 0 bash: 0: command not foundDoes this also affect rxvt-unicode?Yes, Tested with rxvt-unicode-9.22 $ echo -ne "\eGQ;" ;$ 0 bash: 0: command not found $
For me on rxvt-unicode 9.22 this command goes into command mode and executes the first command in the history, thanks to vi-mode in bash. In clear history it of course goes into infinite loop of re-executing itself. Also works with the more portable `printf "\033GQ;"`
Current thread:
- terminal emulators' processing of escape sequences Solar Designer (May 01)
- Re: terminal emulators' processing of escape sequences Yves-Alexis Perez (May 01)
- Re: terminal emulators' processing of escape sequences Yves-Alexis Perez (May 01)
- Re: terminal emulators' processing of escape sequences Michal Zalewski (May 01)
- Re: terminal emulators' processing of escape sequences Robert Święcki (May 01)
- Re: terminal emulators' processing of escape sequences Robert Święcki (May 03)
- Re: terminal emulators' processing of escape sequences Solar Designer (May 16)
- Re: terminal emulators' processing of escape sequences Robert Święcki (May 16)
- Re: terminal emulators' processing of escape sequences Yui Hirasawa (May 19)
- Re: terminal emulators' processing of escape sequences Jason A. Donenfeld (May 17)
- Re: terminal emulators' processing of escape sequences Marc Lehmann (May 16)
- Re: terminal emulators' processing of escape sequences Robert Święcki (May 17)
- AW: terminal emulators' processing of escape sequences Fiedler Roman (May 17)
- Re: terminal emulators' processing of escape sequences Daniel Kahn Gillmor (May 17)
- Re: terminal emulators' processing of escape sequences Robert Święcki (May 17)
- Re: terminal emulators' processing of escape sequences Robert Święcki (May 17)
- Re: terminal emulators' processing of escape sequences Daniel Kahn Gillmor (May 18)
- Re: terminal emulators' processing of escape sequences Tavis Ormandy (May 19)
- Re: terminal emulators' processing of escape sequences Robert Święcki (May 01)
- Re: terminal emulators' processing of escape sequences Yves-Alexis Perez (May 01)
- Re: terminal emulators' processing of escape sequences Solar Designer (May 17)