Hi CUS,
I'm new to the bash shell having used tcsh for many years. I'm
trying to convert my tcsh aliases to bash aliases and have ran into a
small but probably simple problem. I've piddled around for awhile and
have had no luck.
I like to run emacs in multiple separate windows. In tcsh I had an
alias that is:
alias em 'emacs -name \!* \!* &'
This would allow me to type 'em filename' to create a new emacs
window with the name of the file as the title of the window. How
would I do something similar in bash? The key points i'm looking for
are: a) syntax, b) argument substitution, and c) backgrounding (using
&).
An alternative solution would be to help me fix a tcsh problem.
I would use tcsh on this new machine, but for some reason the history
feature doesn't work? I changed my shell from default bash to tcsh
using chsh -s /bin/tcsh, it works fine other than there's no command
history. I have
set history=500
set savehist=$history
commands in my .tcshrc, but no .history file is created ever.
Versions:
Linux: 2.4.18-27.7.xsmp
chsh: util-linux-2.11n
tcsh: 6.10.00 (Astron) 2000-11-19 (i386-intel-linux) options
8b,nls,dl,al,kan,rh,color,dspm
bash: 2.05a.0(1)-release
Regards,
-Ben
p.s. please reply to email and group.