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

Frequently Asked Questions

How can I get python for darwin (command prompt for MacOSX)?

Developer Resources
You can either download the Python source code (from www.python.org) and compile it yourself or you download the file python2.1_macosx.tgz from http://tony.lownds.com/macosx/. If you download the pre-built binary, make sure to follow the install instructions before trying to run FinishInstall.py

What is a command prompt and how do I get one?

Department of Mathematics Computing Documentation, Duke Univ...
The command prompt is a text based application that provides direct interaction with the Unix system. It is similar in context to MSDOS or the Command Prompt window you can bring up on Windows systems. A listing of basic commands with documentation is available at http://www.math.duke.edu/computing/intro.html#BASIC. In general, most things can be done through the graphical user interface. But sometimes we will ask you, or it may be quicker and easier, to use the command prompt.

Can I modify colors and fonts for Command Prompt without regedit?

The Broadband Reports Windows XP FAQ - dslreports.com
Right-click the title bar of an open command window and click Properties. Set the colors, font, window size, etc. When you Save, you'll be asked whether it applies only to this window or all windows opened using the same shortcut.

I entered a command and now I don't get a response or a prompt, why?

BC AIX Frequently Asked Questions
Some commands expect more input from the keyboard, but don't necessarily provide prompts to the user. You can type <Ctrl>-D to send an end of file, which will normally end the program, or if that does not work, type <Ctrl>-C which will abort the program. You probably inadvertently typed <Ctrl>-Z, which is the Unix signal to put a program in "background". Type fg to bring the program into the foreground, and continue.

How can I kill my bot from the Unix command prompt?

The Eggdrop FAQ: Running the bot
Simpliest way: kill -9 'cat pid.Botname' Note the use of backquotes. Change the "Botname" to the name of your bot. If this do not work, telling you "no such process", go ahead: Use the 'ps' utility to find running processes. The syntax differs from Unix to Unix, you can try these, until you find one that works: ps -axu | grep yourusername ps -Af | grep yourusername ps -ef | grep yourusername This will show all your processes that are running. Find your eggdrop and locate the process number.

How can I print to a USB printer from the command prompt?

English Windows FAQs 2003
You typically print to a parallel-port printer by copying a file to the lpt1: device. Because USB devices don't connect through an LPT device, you can't take the same approach to print to a USB printer from the command prompt. However, you have several options that will work. If a network adapter is connected to your network, you can share the printer with another machine on the network and map the printer to LPT2 or LPT3. For example, shares the printer on LPT2.

How do I run a complex command that I can type at a shell (command) prompt via STAF?

Frequently Asked Questions About STAF V3, STAX, and STAF Ser...
The PROCESS service has a SHELL parameter which specifies that COMMAND should be executed as though you were at a shell prompt. This allows complex commands involving pipelines to be readily executed. Note, if COMMAND and PARMS are both specified they will be concatenated with a space between them, and the resulting string is what will be executed. Unix Command Line Example: STAF local PROCESS START SHELL COMMAND "ps | grep test | wc >testcount.txt"

How do I get a newline in my prompt?

Z-Shell Frequently-Asked Questions
You can place a literal newline in quotes, i.e. PROMPT="Hi Joe, what now?%# " If you have the bad taste to set the option cshjunkiequotes, which inhibits such behaviour, you will have to bracket this with unsetopt cshjunkiequotes and setopt cshjunkiequotes, or put it in your .zshrc before the option is set. In recent versions of zsh (not 3.0), there is a form of quoting which interprets print sequences like '\n' but otherwise acts like single quotes: surround the string with $'...'.

Why are non-exported names accessible at the command prompt?

Frequently Asked Questions about Hugs
When you evaluate an expression in the interpreter, it has to use some symbol table for looking up the ids you use. What symbol table does it use? The only credible alternatives are: The symbol table of the "current module" Hugs uses the latter (which seems more useful) but you might reasonably expect Hugs to use the export list and wonder why Hugs doesn't seem to implement abstract data types correctly when you do experiments from the command line.

Why does the RedHat script command write the prompt so many times in the script output ?

ADIOS FAQ
There appears to be a bug in the script command which can be ignored by simplifying the prompt as follows (assuming you are the root user your prompt will end with #). cat file-generated-by-script | sed 's/.*#/ADIOS #/' > new-script-file

Can I run SIB Explorer without a command prompt in Windows?

alphaWorks : Service Integration Bus Explorer : FAQs
The env script in Windows has an extra option at the bottom called USE_JAVAW. If you "uncomment" this line by removing the "rem" statement, the javaw.exe program will be used to launch the SIB Explorer. This means that the script will return immediately, leaving the SIB Explorer still running. This action can be useful if you wish to run the SIB Explorer directly from, for example, a Windows shortcut and don't want a command prompt also running. Before the sibexplorer.

Can we have JBlitz run our tests silently and without any GUI (from a command prompt)?

JBlitz FAQ
Yes. You can use the command line parameter -console to run JBlitz 'in the background' without any GUI When you use this parameter, you need to have setup your test configuration already so that the tests can be run without any user intervention. By default, JBlitz will run the last configuration that was being used when it is run with the -console command line parameter. You can also specify which test configuration to use by specifying the test configuration on the command line too.

What if I copy plot files to my plotter through a command prompt? Will Sepialine track that?

Sepialine Frequently Asked Questions
Yes. Sepialine tracks activity sent via DOS or command prompts, including custom Autospool functions. Yes, Sepialine tracks batch plotting without any additional software and without altering your batch plot process.

How do I turn on tab auto-completion on the command prompt in windows?

FAQ
Close down any open command prompt windows. You can do this by typing "exit" and pressing enter, or clicking the [X] at the top right of the window. Click on the following link and choose "Open" or "Run" to turn on tab auto-completion in your roaming profile's registry: http://studenthelp.itee.uq.edu.au/faq/cmd_autocomplete.reg Now you can use the tab key in the command prompt to auto-complete files and directories. Just start typing the name of the directory (ie: "C:\Docu") and press tab.

When in a command prompt/DOS window, how do I change directories?

COSC 2410: Computer Organization and Programming Lab Web Pag...
To change directories simply type "cd [DESTINATION DIRECTORY]" where the destination directory is the name of the directory you wish to navigate to

How do I create a directory in a command prompt/DOS window or through the Windows Explorer?

COSC 2410: Computer Organization and Programming Lab Web Pag...
To create a directory in a command prompt/DOS window you will first need to open a DOS window (described above). Once you have done this you need to navigate to the directory that you wish to place the new directory in (described above). Once you have gotten this far you simply type the following "md [NEW DIRECTORY NAME]" where you specify the name of the directory you would like to create by replacing the "[NEW DIRECTORY NAME]" in the preceding string with the name you want.

What's Windows XP's MS-DOS command prompt?

English Windows FAQs 2003
XP, Windows 2000, and Windows NT don't contain DOS, although XP can create DOS-bootable disks. All three OSs support the cmd.exe command shell, which lets you run NT-equivalent DOS commands. In XP, go to Start, Programs, Accessories or click Start, Run, then type to start the command shell. For earlier application support, you might want to try the command.com shell, which is more compatible with MS-DOS than cmd.exe is. In XP, click Start, Run, then type to start the command.com shell. Command.

How to unload defined functions and variables at the command prompt of a Ch shell?

Frequently Asked Questions for Ch
You need to use the command remvar to remove the defined functions or variables. > int var = 90 > remvar var > float var = 5.0 // now you can redefine 'var' If a defined function such as blah() is called at the command prompt, you need to remove the definition from the ch command shell with remvar, before modifying the function definition. Otherwise, the modified function definition won't work at the current command prompt. Here is an example as demonstrated below. > blah() > vi blah.

How do I set the screen resolution using the BOOTCE command prompt as per the manual ?

FAQ Index
To get it to work via the BOOTCE command prompt just change the following registry setting using the Remote Registry Editor utility (Under the "Tools" menu option) as follows... You can alter system settings between program & storage memory by calling SetSystemMemoryDivision, and passing the number of 4K storage memory pages required. An example application is available here.

How do I keep command lines that I edit with "backspace" from erasing the prompt?

A/UX FAQ, updated for 21st century
This behavior is due to the tty driver under A/UX. The BSD tty driver (which A/UX doesn't use) handles this, whereas the SysV driver doesn't. If you are running 'ksh' then you can "set -o viraw" to prevent this from happening. There are no known work-arounds for 'sh' or 'csh'. ('tcsh' and 'bash' do not suffer from this problem... )
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact