shellex icon indicating copy to clipboard operation
shellex copied to clipboard

size file does not get filled when using urxvtd

Open pseyfert opened this issue 8 years ago • 2 comments

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.

pseyfert avatar Nov 16 '17 11:11 pseyfert

It seems that the perl modules get loaded once for an urxvtd session.

(steps to understand:

  1. build shellex with one set of printouts in on_start
  2. start urxvtd
  3. rebuild shellex with other printouts
  4. launch shellex
  5. rebuild shellex with yet other printouts
  6. launch shellex
  7. 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).

pseyfert avatar Mar 20 '18 09:03 pseyfert

The resulting empty shellex-size-* files don't get cleaned up in /tmp.

pseyfert avatar Mar 20 '18 09:03 pseyfert