On Sun, 19 Nov 2006, LeVA wrote:
> I'm using 'set -o vi' on both machines.
OK. thank-you-for-not-using-emacs :-)
> > What command(s) are you using for file completion?
> I'm using TAB for the completion, but the same happens for the other
> commands (eg.: ^X, ^E, ^F).
Noted.
> > My bet is still that Debian is doing something fishy/tricky with
> > an alias or maybe with a source code patch.
I guess this problem goes beyond cd? I was thinking falsely there.
Duh. I need coffee or maybe some Turkish tea. Something Turkish,
anyway.
> > Those pesky Linux releases all try to be unique, special snowflakes.
> > On the Debian, I bet that you can enter the number and get the
> > command, right?
> I can't enter the number, but that would be cool :))
Maybe clicking a "mouse" on an "icon" would be cooler still!!
> > I'll look more in the (BSD) source code once I know more what you're
> > using (set -o emacs or set -o vi). The relevant files seem to be
> > /usr/src/bin/ksh/emacs.c and ..../vi.c
OK, I've found what I think are the proper places where the numbers
would be added (in file exec.c, routines "pr_list"), and I could
write a hack to do it, it would be easy. (One liner maybe, change
a certain format statement).
So I'm betting that Debian did something like that. I can't see
where numbers would be formatted and put out in the source with
OpenBSD 4.0.
Maybe once the earth goes through its day/night cycle completely,
somebody else will recognize what to do.
The question I have, is why, other than old familiarity, do you
want those numbers and a single column list? Can you live without?
A second question... if you have a Linux emulation installed, can
you copy over a Debian ksh executable and run it on OpenBSD and see
what it does?
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