[Thunar-dev] two features request

Jaap Karssenberg j.g.karssenberg at student.utwente.nl
Wed Jul 26 14:40:05 CEST 2006

Benedikt Meurer wrote:
>> Going off topic here since the paste behavior of the terminal has 
>> nothing to do with thunar, but....
>> Why would it be inconsistent for a program to parse the text/uri-list 
>> before pasting !? I think in all cases a terminal should replace the 
>> \r\n sequences with spaces before pasting, this is the only sensible 
>> thing to do for a terminal to paste text/uri-list. On the other hand, 
>> when the terminal does _not_ use text/uri-list and the copy-paste target 
>> defaults to text/plain (I assume that thunar can copy/past text/plain 
>> targets ?) than it should paste the text "as is" -- after all we might 
>> try to paste to an editor in the terminal.
> Inconsistent in that for text/uri-list with only one URI the \r\n's
> would be removed, while with multiple URIs the \r\n's would remain.
As I stated in the previous email I would expect that a terminal 
emulator when it recieves a list of uris in text/uri-list format 
replaces _all_ occurences of \r\n with a white space. I would also 
expect the terminal to conver file:// uris to normal paths and apply 
quotes when needed, since most command line programs do not support 
uris. If the terminal does not do this I would file that as a bug. 
Pasting file uris in a terminal directly followed by a \r\n doesn't make 
sense -- I can't even think of a case where that would be useful at all.

Anyway, of topic, so I leave it at this.

-- Jaap <pardus at cpan>

More information about the Thunar-dev mailing list