No. My script doesn't prove that urxvt has image viewing feature. My script 
displays images in urxvt's background. My script works like backgroundPixmap 
resource.
The error doesn't come from echo, and without \a that command doesn't work. 
Also, the ranger file manager also uses that way to display (in background) 
images in ranger:  
https://github.com/ranger/ranger/blob/master/ranger/ext/img_display.py#L401
I wish some feature like sixel graphics for xterm.

>Wednesday, September 18, 2019 11:21 PM +04:00 from 
>rxvt-unicode-requ...@lists.schmorp.de:
>
>Send rxvt-unicode mailing list submissions to
>rxvt-unicode@lists.schmorp.de
>
>To subscribe or unsubscribe via the World Wide Web, visit
>http://lists.schmorp.de/mailman/listinfo/rxvt-unicode
>or, via email, send a message with subject or body 'help' to
>rxvt-unicode-requ...@lists.schmorp.de
>
>You can reach the person managing the list at
>rxvt-unicode-ow...@lists.schmorp.de
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of rxvt-unicode digest..."
>
>
>Today's Topics:
>
>   1. Re: rxvt-unicode Digest, Vol 160, Issue 2 (?????? ?????????)
>   2. Re: rxvt-unicode Digest, Vol 160, Issue 2 (Marc Lehmann)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Wed, 18 Sep 2019 14:24:15 +0300
>From: ?????? ?????????  < gaspar.vardanyan.mail...@gmail.com >
>To:  rxvt-unicode@lists.schmorp.de
>Subject: Re: rxvt-unicode Digest, Vol 160, Issue 2
>Message-ID: < 1568805855.198570...@f409.i.mail.ru >
>Content-Type: text/plain; charset="utf-8"
>
>Why the?echo "\033]20;;100x100+1000+1000\a" command doesn't clear the 
>background? It worked in the latest release (2016), but now doesn't work. How 
>can I clear the background and use the true transparency configured in my 
>xresources? I use this script to view images in the urxvt:?  
>https://github.com/GasparVardanyan/imview/blob/master/imview ?and this 
>config:?  https://github.com/GasparVardanyan/dotfiles/blob/master/.Xresources ?
>Also, do you have any plans to apply a feature in urxvt to view images?
>
>
>>Wednesday, September 18, 2019 2:00 PM +04:00 from 
>>rxvt-unicode-requ...@lists.schmorp.de:
>>
>>Send rxvt-unicode mailing list submissions to
>> rxvt-unicode@lists.schmorp.de
>>
>>To subscribe or unsubscribe via the World Wide Web, visit
>> http://lists.schmorp.de/mailman/listinfo/rxvt-unicode
>>or, via email, send a message with subject or body 'help' to
>> rxvt-unicode-requ...@lists.schmorp.de
>>
>>You can reach the person managing the list at
>> rxvt-unicode-ow...@lists.schmorp.de
>>
>>When replying, please edit your Subject line so it is more specific
>>than "Re: Contents of rxvt-unicode digest..."
>>
>>
>>Today's Topics:
>>
>>???1. truecolour and background image issues (?????? ?????????)
>>???2. Re: truecolour and background image issues (Marc Lehmann)
>>???3. Re: truecolour and background image issues (Marc Lehmann)
>>
>>
>>----------------------------------------------------------------------
>>
>>Message: 1
>>Date: Tue, 17 Sep 2019 14:11:27 +0300
>>From: ?????? ?????????  <  gaspar.vardanyan.mail...@gmail.com >
>>To: rxvt-unicode <  rxvt-unicode@lists.schmorp.de >
>>Subject: truecolour and background image issues
>>Message-ID: <  1568718687.685573...@f433.i.mail.ru >
>>Content-Type: text/plain; charset="utf-8"
>>
>>I think some colors doesn't correctly work in urxvt:?  
>>https://imgur.com/a/ktyOGmc ?(24-bit-color script:?  
>>https://raw.githubusercontent.com/JohnMorales/dotfiles/master/colors/24-bit-color.sh
>> )
>>And the background image doesn't work in the latest cvs build. I have used 
>>this script:?  https://github.com/GasparVardanyan/imview/blob/master/imview 
>>?in the last release (2016-01-23) to view images in urxvt, but in the last 
>>cvs build it doesn't work. I have configured urxvt's installer 
>>with?--prefix=/usr --enable-everything --enable-256-color options, and there 
>>is the my xresources config:?  
>>https://github.com/GasparVardanyan/dotfiles/blob/master/.Xresources
>>
>>
>>-- 
>>?????? ?????????
>>-------------- next part --------------
>>An HTML attachment was scrubbed...
>>URL: <  
>>http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20190917/eaf5557a/attachment-0001.htm
>> >
>>
>>------------------------------
>>
>>Message: 2
>>Date: Tue, 17 Sep 2019 19:01:54 +0200
>>From: Marc Lehmann <  schm...@schmorp.de >
>>To: ?????? ?????????  <  gaspar.vardanyan.mail...@gmail.com >
>>Cc: rxvt-unicode <  rxvt-unicode@lists.schmorp.de >
>>Subject: Re: truecolour and background image issues
>>Message-ID: <  20190917170154.ga1...@schmorp.de >
>>Content-Type: text/plain; charset=utf-8
>>
>>On Tue, Sep 17, 2019 at 02:11:27PM +0300, ?????? ????????? <  
>>gaspar.vardanyan.mail...@gmail.com > wrote:
>>> I think some colors doesn't correctly work in urxvt:?  
>>> https://imgur.com/a/ktyOGmc ?(24-bit-color script:?  
>>> https://raw.githubusercontent.com/JohnMorales/dotfiles/master/colors/24-bit-color.sh
>>>  )
>>
>>It probably does - while urxvt supports 24 bit colour selection, it
>>doesn't support displaying more than the configured number of colours at
>>the same time (88/256 + some).
>>
>>So, as a tool to display colour swathes urxvt will indeed not work, but
>>this is not considered to be a deficiency, nor does urxvt target this kind
>>of application.
>>
>>What urxvt should (and probably does) support is application colour
>>palettes, e.g. custom colours in vim.
>>
>>> And the background image doesn't work in the latest cvs build. I have used 
>>> this script:?  https://github.com/GasparVardanyan/imview/blob/master/imview 
>>> ?in the last release (2016-01-23) to view images in urxvt, but in the last 
>>> cvs build it doesn't work. I have configured urxvt's installer 
>>> with?--prefix=/usr --enable-everything --enable-256-color options, and 
>>> there is the my xresources config:?  
>>> https://github.com/GasparVardanyan/dotfiles/blob/master/.Xresources
>>
>>That might be an actual bug, I'll have a look into this.
>>
>>Thanks for reporting these issues.
>>
>>-- 
>>????????????????The choice of a       Deliantra, the free code+content MORPG
>>??????-----==-     _GNU_  http://www.deliantra.net
>>??????----==-- _       generation
>>??????---==---(_)__  __ ____  __      Marc Lehmann
>>??????--==---/ / _ \/ // /\ \/ /  schm...@schmorp.de
>>??????-=====/_/_//_/\_,_/ /_/\_\
>>
>>
>>
>>------------------------------
>>
>>Message: 3
>>Date: Tue, 17 Sep 2019 19:19:15 +0200
>>From: Marc Lehmann <  schm...@schmorp.de >
>>To: ?????? ?????????  <  gaspar.vardanyan.mail...@gmail.com >
>>Cc: rxvt-unicode <  rxvt-unicode@lists.schmorp.de >
>>Subject: Re: truecolour and background image issues
>>Message-ID: <  20190917171915.ga2...@schmorp.de >
>>Content-Type: text/plain; charset=utf-8
>>
>>On Tue, Sep 17, 2019 at 02:11:27PM +0300, ?????? ????????? <  
>>gaspar.vardanyan.mail...@gmail.com > wrote:
>>> > And the background image doesn't work in the latest cvs build. I have 
>>> > used this script:?  
>>> > https://github.com/GasparVardanyan/imview/blob/master/imview ?in the last 
>>> > release (2016-01-23) to view images in urxvt, but in the last cvs build 
>>> > it doesn't work. I have configured urxvt's installer with?--prefix=/usr 
>>> > --enable-everything --enable-256-color options, and there is the my 
>>> > xresources config:?  
>>> > https://github.com/GasparVardanyan/dotfiles/blob/master/.Xresources
>>> 
>>> That might be an actual bug, I'll have a look into this.
>>
>>There are actually two isues here - the new code had a typo expecting
>>keep_aspect instead of keep-aspect, which has now been fixed in CVS, and
>>the background extension isn't autoloaded for OSC sequences.
>>
>>The latter you can force by starting urxvt with
>>
>>???urxvt --background-expr "" ...
>>
>>Or by manually enabling the background extension
>>
>>???urxvt -pe background ...
>>
>>-- 
>>????????????????The choice of a       Deliantra, the free code+content MORPG
>>??????-----==-     _GNU_  http://www.deliantra.net
>>??????----==-- _       generation
>>??????---==---(_)__  __ ____  __      Marc Lehmann
>>??????--==---/ / _ \/ // /\ \/ /  schm...@schmorp.de
>>??????-=====/_/_//_/\_,_/ /_/\_\
>>
>>
>>
>>------------------------------
>>
>>Subject: Digest Footer
>>
>>_______________________________________________
>>rxvt-unicode mailing list
>> rxvt-unicode@lists.schmorp.de
>> http://lists.schmorp.de/mailman/listinfo/rxvt-unicode
>>
>>
>>------------------------------
>>
>>End of rxvt-unicode Digest, Vol 160, Issue 2
>>********************************************
>
>
>-- 
>?????? ?????????
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: < 
>http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20190918/b0a2d6b0/attachment-0001.htm
> >
>
>------------------------------
>
>Message: 2
>Date: Wed, 18 Sep 2019 21:20:42 +0200
>From: Marc Lehmann < schm...@schmorp.de >
>To: ?????? ?????????  < gaspar.vardanyan.mail...@gmail.com >
>Cc:  rxvt-unicode@lists.schmorp.de
>Subject: Re: rxvt-unicode Digest, Vol 160, Issue 2
>Message-ID: < 20190918192042.ga5...@schmorp.de >
>Content-Type: text/plain; charset=utf-8
>
>On Wed, Sep 18, 2019 at 02:24:15PM +0300, ?????? ????????? < 
>gaspar.vardanyan.mail...@gmail.com > wrote:
>> Why the?echo "\033]20;;100x100+1000+1000\a" command doesn't clear the 
>> background?
>
>Probably because ehco just echoes text verbatim, at least, if its a
>posix-compliant echo. If I use printf and leave out the \a at the end
>to avoid the bell, it does clear the background in the current version,
>although that was likely a recent fix.
>
>> Also, do you have any plans to apply a feature in urxvt to view images?
>
>It seems your script proves that this feature is already part of
>urxvt? Even without, urxvt exports the X11 windowid, so one can uase that
>to embed images into urxvt.
>
>-- 
>                The choice of a       Deliantra, the free code+content MORPG
>      -----==-     _GNU_  http://www.deliantra.net
>      ----==-- _       generation
>      ---==---(_)__  __ ____  __      Marc Lehmann
>      --==---/ / _ \/ // /\ \/ /  schm...@schmorp.de
>      -=====/_/_//_/\_,_/ /_/\_\
>
>
>
>------------------------------
>
>Subject: Digest Footer
>
>_______________________________________________
>rxvt-unicode mailing list
>rxvt-unicode@lists.schmorp.de
>http://lists.schmorp.de/mailman/listinfo/rxvt-unicode
>
>
>------------------------------
>
>End of rxvt-unicode Digest, Vol 160, Issue 3
>********************************************


-- 
Գասպար Վարդանյան
_______________________________________________
rxvt-unicode mailing list
rxvt-unicode@lists.schmorp.de
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to