You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The proc filesystem is not implemented across all POSIX platforms (e.g. OS X, OpenBSD, deprecated in FreeBSD, etc.) and dvtm uses a procfs lookup for static char *getcwd_by_pid(Client *c) to implement the Mod-C command.
lsof is messy but portable. May be worth exploring as an alternative.
The text was updated successfully, but these errors were encountered:
I'm willing to accept patches if they are simple and self contained (as is the current code for Linux). I have no interest in adding lots of #ifdefs and system specific dependencies though.
The proc filesystem is not implemented across all POSIX platforms (e.g. OS X, OpenBSD, deprecated in FreeBSD, etc.) and
dvtm
uses a procfs lookup forstatic char *getcwd_by_pid(Client *c)
to implement theMod-C
command.lsof
is messy but portable. May be worth exploring as an alternative.The text was updated successfully, but these errors were encountered: