Dixi quod… >Hugues Moretto-Viry dixit:
>>First, I am a Window Manager called DWM, which shows "window name" on the >>top of the screen. > >mksh does not interact at all with X11 or window managers. Follow-up to the general public, after we debugged that in IRC: Turns out it’s not wise to use \a as prompt escape character (the first one, before the \r) when you want to use it later as really echo’d string. Turns out \007 is the same as \a. Changing the prompt escape character to \001 fixes it. After setting PS1, looking at what the shell normalises it to with “typeset -p PS1” helps. That form is re-entry safe (even into AT&T ksh93, I think) and copy-paste safe, by the way. And, as a closing nitpick of mine, please do use http://sprunge.us/ and nothing else. Yes, I’m endorsing their service right now, despite knowing absolutely nothing about those people. But other pastebins went away, can not be resolved $here (OVH is not only spammer’s heaven but also incapable of doing proper DNS; known issue for a while), look ugly in Lynx (things like, first one hundred “line” numbers, then one hundred actual lines), have broken “download” links and serve a non-plaintext form by default, use “syntax highlighting” that doesn’t work in Lynx anyway, or any combination of the above. Pastebins, for IRC, are an extension of plaintext mail, and quick. They’re not websites. If I’d want them with syntax highlighting, I’d load the text into jupp and turn syntax highlighting back on, which I always manually disable¹ after installing the editor, first thing. I normally do *not* want to look at a pastebin in a webbrowser, *especially* not when working on things with people in IRC. I want to just download them (ftp(1), cURL, GNU wget, …), edit the result as a plaintext file and send it back. This is totally orthogonal from web 2.0 (even web 1.0). So please, do me a personal favour and use a plaintext pastebin with raw output suitable for download by default. (And… one that doesn’t break non-ASCII-printable characters, if you use them. Or use the “typeset -p” trick to make strings into printable 7bit ASCII.) Thanks. hf, //mirabilos -- "Using Lynx is like wearing a really good pair of shades: cuts out the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL." -- Henry Nelson, March 1999
