Mikko & Manuel --
...and then Mikko Hänninen said...
% Manuel Arriaga <[EMAIL PROTECTED]> wrote on Thu, 01 Jun 2000:
%
% > how can I run the server without tying up a
% > virtual console?
%
% emacs -f server-start &
Yep; that will do it.
%
% > Is it possible to automatically start a "server" version of emacs after
% > login so that mutt can always run emacsclient?
%
% Sure. This depends on which shell you're using, but each shell has a
% startup file that is run every time you log in. For bash, it's .profile
% (or .bashrc, both are used and both work) in your home dir. For tcsh
% and the like, it's .cshrc. Putting the above command (with the &) in
% that file will run it every time you log in.
For the csh/tcsh world as well as for ksh and Bourne, to run stuff only
at login you want .login or .profile, respectively. I suspect that
.bashrc is a per-shell file analagous to .[t]cshrc and .kshrc (which
must, for ksh, be defined in .profile or it won't be sourced).
%
% Note that the file is run *every* time, so hopefully the command will
% not start more than one instance of the server, when run multiple times.
Exactly. If the server would happily start multiple times, then perhaps
you need a locking script around it to check for a "running or not" PID.
%
%
% Regards,
% Mikko
% --
% // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/
% // The Corrs list maintainer // net.freak // DALnet IRC operator /
% // Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
% Beware of low-flying butterflies.
:-D
--
David T-G * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001. There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*
PGP signature