QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I start Emacs as a GUI application from the command line?

Emacs 21 for Mac OS X - Emacs 21 for Mac OS X FAQ
Replace the binary /usr/local/bin/emacs (or wherever you installed it) with a file containing the following two lines (of course you need to change the pathname according to where you have put the Emacs.app application bundle). Then typing emacs (provided /usr/local/bin is include in your PATH environment variable) will start Emacs in GUI mode. Typing emacs -nw will start Emacs in terminal mode.

Can I run NetLogo from the command line, without the GUI?

NetLogo 3.1.5 User Manual: FAQ (Frequently Asked Questions)
Yes. The easiest way is to set up your model run as a BehaviorSpace experiment. No additional programming is required. See the BehaviorSpace section of the User Manual for details. Another option is to use our Controlling API. Some light Java programming is required. See the "Controlling" section of the User Manual for details and sample code.

Is it necessary to use the Command line interface or is there a GUI that you can use?

Oracle Data Pump FAQ
You can either use the Command line interface or the Oracle Enterprise Manager web-based GUI interface.

Can I run NTBACKUP from the command line?

Environment settings set by a batch file are not working.
ntbackup <operation> <path> /a /b /d "text" /e /hc:<on/off> /l "<filename>" /r /t <backup type> /tape:n /v This will be backup . If you wanted to eject a tape you could enter eject (but must also include the /tape parameter) The list of drives and directories to be backed up. You may not enter file names or use the wildcard character. To backup multiple drives just put a space between them, e.g. ntbackup backup c: d: etc..

Can I run a NetLogo model from the command line? Can I run it without a GUI?

NetLogo User Manual: FAQ (Frequently Asked Questions)
present there is no way to run without the GUI. We plan to add this in a future version. (On X11-based systems such as Linux, though, one possible workaround is to use X11's "virtual frame buffer" feature, which provides a virtual display for NetLogo to run on.) To open a model on startup, you can just pass the --open flag followed the pathname of the model on the command line as an argument to the executable. Examples: Mac OS X: "/Applications/NetLogo 2.0/NetLogo 2.0.

How do I draw a line to replace the functionality of VB6's Line command?

General - Windows Forms FAQs
Try this code: Dim g as Graphics g = frmMain.CreateGraphics() g.DrawLine(Pens.Black, new Point(0,0), _ new Point(frmMain.ClientRectangle.Width), frmMain.ClientRectangle.Height) g.Dispose() This should draw a line from the upper left to the bottom right...

Is there a CLI (command line interface) version?

Team Discovery TSC FAQ - dslreports.com
First, of course install TSC. Open TSC and right click on the icon in your task bar (near the clock). Select properties. Set your candidate queue to whatever you want. I max mine out. If you have a dialup computer, unselect the online tab. Click ok, and then right click again and select exit. In this directory, there is a file called readme.txt.. it might be a good idea to read this. It's kind of hard to understand. Now edit (with notepad or something like it), the file called launch.

How do I train SpamBayes (command line method)?

SpamBayes FAQ
Given a pair of Unix mailbox format files (each message starts with a line which begins with 'From '), one containing nothing but spam and the other containing nothing but ham, you can train SpamBayes using a command like: python sb_mboxtrain.py -g ~/tmp/newham -s ~/tmp/newspam The above command is OS-centric (e.g., UNIX, or Windows command prompt). You can also use the web interface for training as detailed above.

How do I pass command-line arguments to a test execution?

JUnit FAQ
If the number of parameters on the command line gets unweildy, pass in the location of a property file that defines a set of parameters. Alternatively, the JUnit-addons package contains the XMLPropertyManager and PropertyManager classes that allow you to define a property file (or XML file) containing test parameters.

How do I get the plot command to cycle through line-types?

MATLAB Frequently Asked Questions
MATLAB v4.1 has a an axis property LineStyleOrder for this. Monochrome users can tell MATLAB to always use white lines and cycle through their favorite line styles with the commands: set( 0, 'DefaultAxesColorOrder', [1 1 1] ) set( 0, 'DefaultAxesLineStyleOrder', '-|:|--' )

How can I launch Java Web Start from the command line?

Java Web Start - Frequently Asked Questions (FAQ)
where your-app-JNLP-URL is the location of your application's JNLP file. For example: javaws http://java.sun.com/products/demos/swingset2.jnlp

How do I start Visual Studio from the command line?

IDE - Windows Forms FAQs
Simply type devenv.exe from the command line. If you get a message like this, then you do not have devenv.exe in your path. >>> 'devenv.exe' is not recognized as an internal or external command, operable program or batch file. >>>...

How can I start an SSH session straight from the command line?

PuTTY FAQ
Use the command line putty -ssh host.name. Alternatively, create a saved session that specifies the SSH protocol, and start the saved session as shown in question A.6.4.

Can I start the synchronization of metadata or data from the command line?

SQL Manager | EMS SQL Management Studio for MySQL | Product ...
Yes, for this purpose there are console versions of our utilities - DB Comparer for MySQL Console Application and Data Comparer for MySQL Console Application. All console tools support configuration files (templates) that are created in GUI versions of the programs. The template file contains all the infomation necessary for working with the console version of the tool.

Is there any way to run PhotoshopRecovery from command line (through Windows Start -> Run menu)?

OfficeRecovery.com - PhotoshopRecovery - FAQ
If you have a problem that is not covered by this FAQ, do not hesitate to contact our technical support team.

How can I set the cusor to the start / the end of the command line?

mass:werk termlib faq
In case you need to implement a shortcut (like ^A of some UN*X-shells) to jump to the beginning or the end of the current input line, there are two private instance methods you could utilize: _getLineEnd(<row>, <col>)' returns an array [<row>, <col>] with the position of the last character in the logical input line with ASCII value >= 32 (0x20).
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact