shellex
shellex copied to clipboard
size file does not get filled when using urxvtd
replacing urxvt by urxvtc in shellex.in (and running urxvtd) it appears the shellex size file never gets filled, and subsequently the size file doesn't get unlinked.
It seems that the perl modules get loaded once for an urxvtd session.
(steps to understand:
- build shellex with one set of printouts in
on_start - start urxvtd
- rebuild shellex with other printouts
- launch shellex
- rebuild shellex with yet other printouts
- launch shellex
- observe that the printout from 3 appears )
Anyway, the SHELLEX_SIZE_FILE environment variable is not available in the perl
on_start function - it is an environment variable of the shellex process
(where it's actually read), not urxvtd (where it's supposed to be written).
The resulting empty shellex-size-* files don't get cleaned up in /tmp.