From: Theo Buehler Subject: Re: Fix incorrect default editor path in GDB To: Nir Lichtman Cc: tech@openbsd.org, pascal@openbsd.org Date: Fri, 20 Sep 2024 11:42:18 +0200 > An alternative solution could be to have the installation add a symlink from /bin/ex to /usr/bin/ex, this could save patching GDB which indeed looks to have until today /bin/ex hardcoded in the codebase. > It looks to be a pretty standard path across unix likes. > > I can work on a patch for the alternative solution if it sounds better While that would be easy to do (LINKS in usr.bin/vi/build/Makefile and simple adjustments in distrib/sets) it doesn't feel right for many reasons: for example, /bin only contains statically linked binaries, which ex isn't. After all, it's a quirk of gdb we're talking about...