Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I use a shell in Emacs?

GNU Emacs FAQ for Windows
You can use an interactive subshell in Emacs by typing "M-x shell". Emacs uses the SHELL configuration variable to determine which program to use as the shell. If you installed Emacs using the addpm.exe program, then addpm.exe will associate the value %COMSPEC% with SHELL in the registry. Emacs will then use the value of the COMSPEC environment variable when it starts up, unless the SHELL environment variable is explicitly defined (as when using the emacs.bat batch file).
Related Questions

Why does zsh not work in an Emacs shell mode any more?

Z-Shell Frequently-Asked Questions
Emacs 19.29 or thereabouts stopped using a terminal type of "emacs" in shell buffers, and instead sets it to "dumb". Zsh only kicks in its special I'm-inside-emacs initialization when the terminal type is "emacs". Probably the most reliable way of dealing with this is to look for the environment variable $EMACS, which is set to t in Emacs' shell mode. Putting [[ $EMACS = t ]] && unsetopt zle in your .zshrc should be sufficient.
Related Questions

How can I use tcsh as my shell?

The umich.umce.login FAQ List
There's a fairly simple way to do this, but there is no official way to do this for a variety of reasons. The solution is to add these lines to the end of your .login file: if ( $SHELL == "/bin/csh" ) then foreach i ($path) if ( -x $i/tcsh ) then setenv SHELL $i/tcsh set shell=$i/tcsh exec $i/tcsh -l endif end endif If you really need tcsh to be the login shell, then you should start it with the -l flag as it is done above.
Related Questions

I have a shell now how do I use it?

MacFilez FAQ 4.0
You need a telnet program to access the shell (like Better Telnet). To transfer files back and forth, use FTP, and ftp to the same address you telnet to. To run irc, try typing 'irc' and see if a p rogram loads. If not, you'll need to either get a binary for your system (precompiled program) or get the source and compile it yourself. To find out what kind of system your shell is on type 'uname -a' on your shell, you'll get some feedback like this: This shows you the name of the machine 'nowhere.
Related Questions

Network FAQ
For a Desktop (or tower case) USB Wireless Client Card should be considered as the preferred solution. PCI Wireless Client Card ends up been stuck behind the computer's case, resultant in obstructed transmission and poor performance. USB is connected to the Port with 2-3' cable allowing the Antenna to be placed above the System for better Transmission.
Related Questions

How do I use Fossil Shell Dust®?

DERMISIL.COM :: How Fast does Dermisil Work? ::
Fossil Shell Dust® is applied by sprinkling the dust onto any surface that may contain mites, including carpets, wall cracks and crevices. A pesticide duster may be used for application of this product even though it is not a pesticide. Be careful not to inhale the dust.
Related Questions

For example I want to use emacs, how to do it ?

VGUI - FAQ
You are referring to the case when you reach the bottom of your model hierarchy and you are pointing at a specific block in a diagram. Such a leaf-level block has no underlying diagram; only a textual behavior description. It would seem natural that, if you open a leaf-box, the model's text should pop-up in an editor window. For now, you have to open your text editor as you normally would, from your text window or file-browser.
Related Questions

How do I use grep with Emacs?

FAQ (komplett)
To use grep with Emacs, you first need to obtain a version of grep. Many of the packages listed in the section below on Unix Tools come with a version of grep (and cousins egrep and fgrep). Once you have grep, be sure that it is in your system path or in Emacs' exec-path. Then you should be able grep from within Emacs using "M-x grep". If you can't get access to grep, then you can use the findstr program that comes with Windows NT and Windows 95 instead.
Related Questions

Q1.3.3: Can I use the same 'init.el' with the other Emacs?

Frequently asked questions about XEmacs: Introduction
Yes. The sample 'init.el' included in the XEmacs distribution will show you how to handle different versions and flavors of Emacs. There's the XEmacs tutorial available from the Help Menu under 'Help->Tutorials', or by typing C-h t. To check whether it's available in a non-english language, type C-u C-h t TAB, type the first letters of your preferred language, then type RET. The following function does a little bit of everything useful.
Related Questions

How do I [[Emacs Keybindings (Firefox) | use Emacs keybindings]]?

Firefox FAQs - MozillaZine Knowledge Base
How to stop Firefox opening blank windows when downloading files? [http://www.cusser.net/extensions/disabletarget/]
Related Questions

How do I associate files with Emacs (i.e., use Emacs as a server with gnuserv/gnuclient)?

FAQ (komplett)
You can use a package like gnuserv to associate files with Emacs so that opening a file outside of Emacs (e.g., by double-clicking on its icon) will create a new frame in a running Emacs displaying that file. Peter Breton <pbreton@dirac.i-kinetics.com> originally ported a version of gnuserv to NT that used named pipes, and Nico Francois <nico.francois@ping.be> has continued development on gnuserv since. It now works on both NT and Windows 95, and has a number of useful features.
Related Questions

How can I use Scheme for shell scripting?

scheme-faq-programming
Some Schemes all allow you to define Unix-style scripts containing Scheme code. SRFI-22 attempts to standardize the mechanism used for that.
Related Questions

Can I use the UNIX shell?

Seattle Community Network: FAQ, Personal Web Sites
No, generally speaking. But if you can contribute something useful as a volunteer that requires shell access to do it, please ask.
Related Questions

How can I use shell access ?

rootr.net : faq user
You need an ssh program. Windows users are recommended to use the Putty program available at: http://www.chiark.greenend.org.uk/~sgtatham/putty/. Ask us if you need help configuring Putty. For Mac users and other unixens, check out links on http://www.openssh.com/. BSD and Linux users can directly use the ssh command. All those programs are completely free of charge. they also take very little space on the hard drive, less than 1MB.
Related Questions

What about programs that don't use any shell?

The Ultimate TI Calculator FAQ - TI-83 and TI-84 (regular, P...
There are very few significant assembly programs for either of these calculators which don't use any shell. If you do happen to find such a program, you can run it on the TI-83 by running the command "Send(9prgmNAME" from the home screen (or a Basic program). On the TI-83+, the command to use is "Asm(prgmNAME".
Related Questions

How do I use my shell, what are the commands?

General Website Hosting Information (Page 3/3)
There are a variety of factors that can contribute to occasional slow download speeds or time-outs. One thing that you can rule out is lack of bandwidth directly into the facility where your site is located. If it seems that your site generally is always slow, it may be because you have images on your pages that are too large. A rule of thumb is to try to make images 20k or less. If you have larger images, try using image compression software which you can download free at www.download.com.
Related Questions

Why do we use a shell as logo?

The House of Marketing
The inbound movement stands for getting to the crux of the matter. We start from business objectives, moving to marketing strategies, planning and implementation. The outbound movement represents the speed and leveraging power of our approach. We offer pragmatic and tangible solutions for every marketing challenge.
Related Questions

Why are you making me use the bash shell?

HepForge > Documentation > FAQ - CEDAR
You can use any shell you want, as long as it's listed in the /etc/shells file. Traditionally, academia seems to use the csh (C-shell) or its updated modern variant, tcsh. However, this is probably through inertia rather than anything else and having a knowledge of the sh family of shells, in particular the bash shell is probably more widely useful: much of the internals of Linux/*nix systems is based on portable sh-type scripts.
Related Questions

Can I use call graph on shell scripts?

FAQ: Call Graph on Linux* using the VTune(TM) Performance An...
Yes. Consider the scenario where a shell script invokes a binary executable. The directory where the executable resides must be writable. In the VTune analyzer, specify the shell script as the application to launch and the executable (and not the shell script) as the module of interest.
Related Questions

How do I use an already running Emacs from another window?

GNU Emacs FAQ
emacsclient, which comes with Emacs, is for editing a file using an already running Emacs rather than starting up a new Emacs. It does this by sending a request to the already running Emacs, which must be expecting the request. Emacs must have executed the server-start function for 'emacsclient' to work. This can be done either by a command line option: emacs -f server-start When this is done, Emacs creates a Unix domain socket named server in /tmp/emacsuserid. See server-socket-dir.
Related Questions

How do I use a debugger on Emacs?

GNU Emacs FAQ for Windows
Emacs is just like any other Windows application compiled and linked using MSVC, and it can be debugged using Windows debuggers like DevStudio. By default, Emacs will compile with debugging options turned on. Once compiled, you should be able to load either temacs.exe, the undumped executable, or emacs.exe, the dumped executable, into the debugger (almost always you will want to debug emacs.exe).
Related Questions

How do I use Emacs with a two-button mouse?

GNU Emacs FAQ for Windows
Emacs assumes that you have a three-button mouse by default. However, if you have a two-button mouse, you can press both buttons at once to emulate the missing middle button expected by Emacs. Three variables control mouse button emulation under Emacs: w32-num-mouse-buttons, w32-mouse-button-tolerance, and w32-swap-mouse-buttons (win32-num-mouse-buttons, win32-mouse-button-tolerance. If you use help on w32-num-mouse-buttons (i.e.
Related Questions

How can I use bdf fonts with Emacs?

GNU Emacs FAQ for Windows
To use bdf fonts with Emacs, you need to tell Emacs where the fonts are located, create fontsets for them, and then use them. We'll use the 16 dot international fonts from ftp.gnu.org/intlfonts as an example put together by Jason Rumney <jasonr@gnu.org> Download the 16dots.tar.gz file and unpack it; I'll assume that they are in "c:\intlfonts". Then set w32-bdf-filename-alist to the list of fonts returned by using w32-find-bdf-fonts to enumerate all of the font files.
Related Questions

How do I use mail with Emacs?

GNU Emacs FAQ for Windows
You do not need to do much to use mail with Emacs under Windows, but you do need to be able to communicate with local mail daemons and mail servers (they do most of the work) to both receive and send mail from your system. These daemons and servers are typically running on the machines in your local network that are already handling mail for you and/or other users on other systems. For outgoing mail, you need to use smtpmail.el, which enables Emacs to talk SMTP with mail daemons (smtpmail.
Related Questions

How do I use telnet with Emacs?

GNU Emacs FAQ for Windows
Before you can use telnet-mode from within Emacs, you need a telnet client other than the one found on the system; the system telnet is a windows app, and cannot be used as a subprocess since it does not use stdio for input and output. telnet, a Windows version of telnet by Igor Milavec modified to use stdio by Naftali Ramati <naftali@harmonic.co.il> (includes source).
Related Questions

How do I use TeX with Emacs?

GNU Emacs FAQ for Windows
You will need to get an implementation of TeX The TeX User's Group (TUG) maintains a list of TeX implementations at: MiKTeX is a native Windows implementation of the TeX document processing system. The MiKTeX project page is at http://www.miktex.org. AUCTeX is a package for writing LaTeX files in Emacs. The AUCTeX project page is at http://sunsite.auc.dk/auctex, and has links for downloading the distribution and reading the manual. Lars Schmidt-Thieme <lschmidt@ix.urz.uni-heidelberg.
Related Questions

How do I use an Intellimouse with Emacs?

GNU Emacs FAQ for Windows
The Emacs 20.3 pretests and above support the Intellimouse on both NT and Win9X. Emacs 19.34.6 supports it on NT, but not on Windows 95. Clicking the mouse wheel is interpreted as a mouse-2 event, which is normally bound to mouse-yank-at-click (i.e., paste). Since it is easy to accidentally click the mouse wheel, you might find that you inadvertantly paste text as you scroll the wheel.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact