[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[h-e-w] Using Emacs w/ fc in bash
From: |
David Starks-Browning |
Subject: |
[h-e-w] Using Emacs w/ fc in bash |
Date: |
Wed, 6 Nov 2002 18:28:15 +0000 |
On Wednesday 6 Nov 02, Sarir A Khamsi writes:
> [Don't know if this is the right place for this question...]
>
> I am trying to use Emacs w/ fc under bash but it does not seem to be
> working, that is, I don't see any command in the emacs console (it's
> empty). Here's what I have:
>
> - Win2k, SP2
> - Emacs 21.2.1
> - bash 2.05b.0(5)
> - in my .bashrc:
> o FCEDIT="c:/usr/emacs/bin/emacs -nw -q"
> o TERM=linux
>
> Is this an Emacs or a bash setup problem? Does anyone have a
> solution?
I don't expect the Cygwin bash builtin command "fc" to understand the
windows emacs path "c:/usr/emacs/bin/emacs".
Try this in your .bashrc:
export FCEDIT="`cygpath c:/usr/emacs/bin/emacs` -nw -q"
If "emacs -nw" doesn't work well (e.g., in a remote login shell), try
the Cygwin port of Emacs that you can install with Cygwin's
setup.exe.
Regards,
David