Thanks for the configuration file links and other tools.

On Tue, Jun 30, 2020 at 08:28:54PM +0300, Գասպար Վարդանյան wrote:
gaspar -> [ ~ ] :: time urxvtc -e echo hi
urxvtc -e echo hi  0.00s user 0.00s system 11% cpu 0.039 total
gaspar -> [ ~ ] :: time urxvt -e echo hi
urxvt -e echo hi  0.04s user 0.00s system 98% cpu 0.044 total

Any idea why Urxvtc is almost as slow as Urxvt in your tests?

It is not really important, but in the interest of fairness, I
recalled that "urxvtc -e" doesn't actually wait for the command to
finish executing, before it exits. Thus it is not doing the same thing
as "urxvt -e". Here is a wrapper which waits:

    #!/bin/sh
    PID=$$
    trap "exit 0" USR1
    urxvtc -e sh -c '"$@"; kill -USR1 '$PID x "$@"
    # for some reason, without the "sleep" it uses 100% CPU
    while :; do sleep 10 &
    wait; done

And some typical timings:

urxvt -e echo  0.04s user 0.01s system 92% cpu 0.055 total
./x echo  0.00s user 0.00s system 35% cpu 0.020 total
st -e echo  0.04s user 0.01s system 96% cpu 0.051 total

I got these by running "while true; do time st -e echo; done" and
choosing a "typical" run (though really, I should calculate mean and
variance). The reason for doing it in a while loop is because my
processor speed is constantly changing.

Frederick

gaspar -> [ ~ ] :: time st -e echo hi
st -e echo hi  0.03s user 0.01s system 102% cpu 0.038 total
gaspar -> [ ~ ] ::
 
I remember when I was started using urxvt, after some extensions, rices (you 
can check my config, it’s really nice: 
https://github.com/GasparVardanyan/dotfiles/blob/master/old_stuff/urxvt/.urxvt/config),
 I’ve started using urxvtd, urxvtc, but urxvtd have crashed several times, so 
it’s a bad idea for me to use urxvtd.
 
Also, I want to share this simple urxvt image-viewer I’ve wrote:  
https://github.com/GasparVardanyan/imview (can be useful)
And I know that it’s a long process to browse the web to find cool urxvt 
extensions, so I’ve collected them: 
https://github.com/GasparVardanyan/urxvt-extensions
 
Tuesday, June 30, 2020 8:12 PM +03:00 from frede...@ofb.net:
 
Gaspar, are those times including your reaction time to close the window?

I use "-e" so that I am only timing the software:

     $ time urxvtc -e echo hi
     urxvtc -e echo hi 0.00s user 0.00s system 14% cpu 0.018 total
     $ time urxvt -e echo hi
     urxvt -e echo hi 0.06s user 0.02s system 94% cpu 0.082 total
     $ time st -e echo hi
     st -e echo hi 0.05s user 0.02s system 95% cpu 0.071 total

On Tue, Jun 30, 2020 at 08:01:23PM +0300, Գասպար Վարդանյան wrote:

gaspar -> [ ~ ] :: time urxvt
urxvt  0.14s user 0.02s system 24% cpu 0.663 total
gaspar -> [ ~ ] :: time st
st  0.03s user 0.02s system 5% cpu 1.016 total
gaspar -> [ ~ ] :: time tabbed -c st -w
0x1200002
tabbed -c st -w  0.01s user 0.00s system 1% cpu 1.224 total
gaspar -> [ ~ ] ::

 
Tuesday, June 30, 2020 7:35 PM +03:00 from frede...@ofb.net:
 
Really, St does fonts better than Urxvt?

I checked it out some years ago but found that it launched more slowly than 
Urxvt (rather urxvtc). On my current laptop, it's 0.02 seconds for urxvtc vs 
0.07 for St, maybe not a big difference. But I also use a number of Urxvt's 
Perl extensions, so switching doesn't make sense for me.

St seems to have a lot of forks, I guess it is popular to modify it. There are 
also a lot of patches listed on the website. It's an interesting philosophy.


On Tue, Jun 30, 2020 at 02:10:29PM +0300, Գասպար Վարդանյան wrote:

Now I use the Suckless’ st, everything works fine for me.

 
Monday, June 29, 2020 9:38 PM +03:00 from frede...@ofb.net:
 
When I first started using URxvt, I had to find some fonts that rendered 
properly (terminus). I don't know much about fonts but I know that there are 
several fonts that render well in Xterm or Gnome-terminal, but not Urxvt. 
Generally these problems are not corrected, because of a perception that the 
problem is with the font and not the terminal.

I included some messages below from earlier threads about this topic.

I don't know about the build error you got, sometimes it helps to check out the 
most recent tagged release. Also, try translating it into English.

Frederick

On Fri, Aug 23, 2019 at 05:47:40PM +0300, Գասպար Վարդանյան wrote:
vim-airline works fine in xterm, but doesn't work in urxvt:   
https://camo.githubusercontent.com/761e36b01b35490ed7c9809aea45bd8acc199d67/68747470733a2f2f70617374652e617263686c696e75782e64652f6568664e2f
  


--
Գասպար Վարդանյան

_______________________________________________
rxvt-unicode mailing list
 rxvt-unicode@lists.schmorp.de
 http://lists.schmorp.de/mailman/listinfo/rxvt-unicode


On Sat, Aug 24, 2019 at 09:33:57PM +0300, Գասպար Վարդանյան wrote:
FontAwesome doesn't work in urxvt (1st window), but works in xst terminal (2nd 
window): https://imgur.com/a/HkcWalq
There are some patches fixing that bug: 
https://aur.archlinux.org/packages/?O=0&K=rxvt-unicode

--
Gaspar Vardanyan

_______________________________________________
rxvt-unicode mailing list
 rxvt-unicode@lists.schmorp.de
 http://lists.schmorp.de/mailman/listinfo/rxvt-unicode


On Mon, Jun 29, 2020 at 10:53:19AM -0500, Mauricio Tellez wrote:
Hi, I install rxvt-unicode on debian buster, but some icons like docker's
whale or python's snake don't show up:  https://i.imgur.com/KYBS8Y3.png I'm
using Fira Code font, and that symbols show fine in gnome-terminal so I
think it is a problem with debian's rxvt-unicode. I try to compile it but I
get the error: make[1]: *** No hay ninguna regla para construir el objetivo
'../libev/ev_linuxaio.c', necesario para 'ev_cpp.o'. Alto.

Any help? Thanks in advance.

--
Mauricio Tellez
Cel: 2288260479
Fijo: (228)2015202

_______________________________________________
rxvt-unicode mailing list
 rxvt-unicode@lists.schmorp.de
 http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

 
 
 
--
Գասպար Վարդանյան
 
 
 
--
Գասպար Վարդանյան
 
 
 
--
Գասպար Վարդանյան
 

_______________________________________________
rxvt-unicode mailing list
rxvt-unicode@lists.schmorp.de
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to