On Tue, Apr 06, 2010 at 02:00:06PM -0500, Hugo Vanwoerkom wrote: > OK. What about this. Can anybody explain the following: > > h...@debian:~$ which mc > /usr/local/bin/mc > h...@debian:~$ mc -V > GNU Midnight Commander 4.7.0.1 > Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish > With builtin Editor > Using system-installed S-Lang library with terminfo database > With subshell support as default > With support for background operations > With mouse support on xterm and Linux console > With internationalization support > With multiple codepages support > Data types: char 8 int 32 long 32 void * 32 off_t 64 ecs_char 8 > h...@debian:~$ /usr/local/bin/mc -V > GNU Midnight Commander 4.6.1 > Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, undelfs > With builtin Editor > Using included S-Lang library with terminfo database > With subshell support as default > With support for background operations > With mouse support on xterm and Linux console > With internationalization support
Hello, I think (wild guess) you are checking this from a different shell or did not log out/log in yet; or any other method -direct or indirect- the refresh your path. Try to source your .bashrc or whatever defines your $PATH, and check what happens. This is what I have: Locally built copy: $ which mc /usr/local/bin/mc $ mc -V GNU Midnight Commander 4.7.1 Sistema de archivos virtual: tarfs, extfs, cpiofs, ftpfs, fish, mcfs, undelfs Editor de texto propio incluido Utilizando la biblioteca S-Lang instalada y terminales según terminfo Soporte subshell activo por defecto Soporte para operaciones en 2º plano Soporte para ratón en xterm y consola Linux Soporte para eventos X11 Soporte para idioma local Soporte para cambio de juegos de caracteres Data types: char 8 int 32 long 32 void * 32 off_t 64 ecs_char 32 Original deb package: $ /usr/bin/mc -V GNU Midnight Commander 4.6.2-pre1 Sistema de archivos virtual: tarfs, extfs, cpiofs, ftpfs, fish Editor de texto propio incluido Utilizando la biblioteca S-Lang instalada y terminales según terminfo Soporte subshell activo por defecto Soporte para operaciones en 2º plano Soporte para ratón en xterm y consola Linux Soporte para idioma local Soporte para cambio de juegos de caracteres Data types: char 8 int 32 long 32 void * 32 off_t 64 ecs_char 8 $ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/games Regards. -- Huella de clave = 943C D77F 0CB0 02FE 166E E06F D13A A2E1 98A5 C953
pgp55ldrhxNfg.pgp
Description: PGP signature