UIM uses the variable $TMP instead of $TMPDIR. TMPDIR is mentioned by POSIX:
The variable TMP can certainly be used for the same purpose but TMPDIR should be respected as well and preferred.
Created attachment 10490 [details] [review]
Respect TMPDIR and use dot-files as socket paths
The attached patch adds support for TMPDIR. Further I've prepended dots to the names for the unix domain sockets, so that these are "hidden" by default. Many other applications hide sockets this way so these don't clutter up directory listings.
Thanks for the patch. After this report, almost all sockets had been relocated to ~/.uim.d/. But usersockname() in fep/udsock.c is still referring $TMP. Etsushi, should it be replaced with get_ud_path()?
I'll check it later.
Fixed in r5097.