This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients eryksun, svild
Date 2022-02-25.18:40:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645814438.51.0.0676942331801.issue46855@roundup.psfhosted.org>
In-reply-to
Content
The ordinal range 0x80-0x9F is the C1 control code set [1]. Ordinal 0x9F is "Application Program Command" (APC). The command must be terminated by ordinal 0x9C, "String Terminator" (ST). For example, "\x9f Some Command \x9c". 

In Gnome Terminal, after executing print('\x9f'), an APC command without a terminator, typing Ctrl+L still works to clear the screen and get back to a prompt.

[1] https://en.wikipedia.org/wiki/C0_and_C1_control_codes#C1_controls
History
Date User Action Args
2022-02-25 18:40:38eryksunsetrecipients: + eryksun, svild
2022-02-25 18:40:38eryksunsetmessageid: <1645814438.51.0.0676942331801.issue46855@roundup.psfhosted.org>
2022-02-25 18:40:38eryksunlinkissue46855 messages
2022-02-25 18:40:38eryksuncreate