我目前正在尝试 Cygwin。我正在尝试让 emacs 以终端模式打开。当我$ emacs -nw
使用 Cygwin shell 运行 mintty 时。我明白了bash: emacs: command not found
。如果有帮助,我正在运行 Windows Vista SP2。我认为您需要编辑环境变量,但我不知道该怎么做。
请帮忙!非常感谢任何建议。
提前致谢!
更新:
这是我跑步时出现的情况
$ echo $PATH
:$ echo $PATH
/usr/local/bin:/usr/bin:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Program Files/Common Files/Adobe/AGL:/cygdrive/c/Program Files/ATI Technologies/ATI.ACE/Core-Static:/cygdrive/c/Program Files/Common Files/Roxio Shared/10.0/DLLShared:/cygdrive/c/Program Files/Common Files/RoxioShared/DLLShared:/cygdrive/c/Program Files/Common Files/Roxio Shared/10.0/DLLShared:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Common Files/Ulead Systems/MPEG:/cygdrive/c/Program Files/Windows Live/Shared:/cygdrive/c/Program Files/QuickTime/QTSystem:/cygdrive/c/Program Files/Microsoft SQL Server/100/Tools/Binn:/cygdrive/c/Program Files/Microsoft SQL Server/100/DTS/Binn:/cygdrive/c/Program Files/gtk2/bin:/cygdrive/c/Program Files/mlt/bin:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/cygdrive/c/Python27:/cygdrive/c/Program Files/Console:/cygdrive/c/Program Files/OpenLibraries/bin