There was is bug regarding sessions implementation, where there is no
way to run particular program using -e switch for urxvt in command line.
So, having urxvt.session set to something in .Xdefaults, there was no
way to run some program, i.e.
$ urxvt -e htop
This patch fixing this issue.
To quickly switch to the desired tab, there is a shortcut ctrl-0 to
ctrl-9, where ctrl-0 will switch to tab 10, ctrl-1 to tab 1 and so on.
There is a range in the code, which detect which tab to pick up to jump.
Range was to wide, this commit is fixing that.
Currently, there was a command used:
ps x|grep " urxvt "|grep -v grep|wc -l
which was checking if there is only one instance of urxvt during start,
so that it will be possible to initialize session. The `grep -v grep`
is in excess. This patch is fixing that.