On Sun, 19 Nov 2006, LeVA wrote:
> Hi!
>
> I have pdksh version 'PD KSH v5.2.14 99/07/13.2' on an OpenBSD and a
> Debian machine. Both have exactly the same version numbers and settings
> (config files, set -o etc...). However, when the shell tries to
> complete a filename or an executable name on the Debian machine it goes
> like this:
> 1) cd
> 2) /usr/bin/cd-discid
> 3) /usr/bin/cdadd
> 4) /usr/bin/cdclose
> 5) /usr/bin/cdctrl
> [...]
>
> and on the OpenBSD machine:
> cd /usr/bin/cdio
>
> How can I configure the latter to act like the former (display the list
> vertically with numbers)?
Could you send the output of
$ alias
from both machines? I suspect the Debian Linux machine may have
aliased cd to something clever. OpenBSD does some crap like that
in /etc/ksh.kshrc, too.
Aliasing standard commands to themselves is Evil. It leads to
just these kinds of problems. /etc/ksh.kshrc is Evil in general.
Dave
--
"Confound these wretched rodents! For every one I fling away,
a dozen more vex me!" -- Doctor Doom
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies