Ticket #2985 (new defect)
mc command line does not allow alias defines
Reported by: | alexander.stohr2 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Future Releases |
Component: | mc-core | Version: | 4.8.1.7 |
Keywords: | commandline alias | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
in my ~/.bashrc i have a few alias lines, for example:
alias ll='ls -alF'
when entering "ll" on the mc command line the aliases are not used.
when entering the bash keyword "alias" it does react as if no aliases are defined.
but when closing mc the alias command will show all expected keys.
the same expected reaction takes place when launching bash from the mc command line and then executing the command in question.
maybe the interactive shell flag is missing when the command gets passed from mc to the execution context.
Change History
comment:2 Changed 12 years ago by alexander.stohr2
my setup of mc is running in an xterm
that runing on top of icewm
that is running in a Xtightvnc environment
and on top of an Ubuntu 10.4 LTS install
on a quad core xeon alike server machine.
my only special observation on the shell is:
the ctrl-o sequence can only show old console contents
but does not allow to use the command line there.
it seems to me that terminal is not smart enough
in contrast to what e.g. a textmode console
or some GNOME/KDE session offers on their console implementations.
i am thinking of showing/hiding mc on the fly
and thus switching between a bash command line and mc command line
- thats not possible in the problematic setup where the alias thing behaves wrong.
Looks like your local misconfiguration. All my aliases work fine.