> There is so much regret in this feature. xterm is supposed to be as > secure as possible so why does it need to inspect all the processes > in the system (that is what this feature gives xterm, as soon as you > pledge "ps").
I don't see any other way to get xterm's cwd. If there's a way to do so without having to inpsect all processes, I'm happy to make the change to the patch to do just that. > How about if xterm wasn't capable of doing that? Is it much of a loss? > Who is using this? For one me; I use it to send highlighted text in the terminal to an external program. This highlighted text could be a relative path to be opened by the external program and thus requires a cwd. I'm sure there are other people who use exec-formatted or other xterm functions that rely on cwd who could benefit from this change. ig0r
