08-15-2001
sorry for the delayed reply... but
hey, i tried your suggestion and it worked fine... it just does not apply for scripts with loops. coz you said that if the selection requires only a carriage return just leave a blank or use ^M or ^V. well the blank thing work it just that if the script that you are trying to run the macro will loop at the end the output will be that it will endlessly try to throw in the carriage return as a result of an endless loop.
to illustrate the script constains the following loop:
until "$quit" = "y"
do
(menu1)
(menu2)
(menu3)
...
done
see my problem? after issuing all the command at the end it will see only carriage return. i only solution i could think of is to quit the application and try to run the script again. anyway, thank you very very much for the reply. i learned a lot from this site. i hope to seek more answers from all of you
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm having a problem with a macro i put in my .exrc file.
Here's what I put: map #I ^[
^ [ is control-v and the escape key.
It places a # a the beginning of a line by simply hitting the # on the keyboard. Problem is, now when I hit "o" or "O" to move up or down a line, it places a # at... (1 Reply)
Discussion started by: Atama
1 Replies
2. Programming
Can i define a macro for a function of 10 LOC. (9 Replies)
Discussion started by: bankpro
9 Replies
3. Shell Programming and Scripting
Hi all. I need to use excel macro at my desktop to launch a csh script which is in a solaris environment. What is the code that i can use in macro to help me with that ? Basically, the code need to telnet or ftp to the solaris environment and just run the script and the macro will output in an... (1 Reply)
Discussion started by: Raynon
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Have searched around for a solution to this and get frustrating close but have not nailed it.
vi on HP-UX
what I'm trying to do is utilise the key mapping available within Vi to run a shell script which uses awk script to scan the file i'm working on and return the line number or... (1 Reply)
Discussion started by: sjdolding
1 Replies
5. Programming
I think there is no problem to use any macro in a new macro definishion, but I have a problem with that.
I can not understand why?
I have a *.mak file that inludes file with many definitions and rules.
##############################################
include dstndflt.mak
...
One of the... (2 Replies)
Discussion started by: alex_5161
2 Replies
6. UNIX for Dummies Questions & Answers
We currently use TUN as an emulation program to connect to various unix applications. I am looking at moving to PuTTY release 0.60 but am getting stuck as one application runs a macro at startup to run a program.
My question is, can you run a macro from PuTTY?
Any pointers would be great. (0 Replies)
Discussion started by: virtualpaul
0 Replies
7. Shell Programming and Scripting
Hi,
I am using Send Keys to connect to UNIX server and invoke a script .
Is there an alternate way to connect to UNIX server using Excel macro and invoke a UNIX Shell script?
Anu (2 Replies)
Discussion started by: anandita.jha
2 Replies
8. UNIX for Dummies Questions & Answers
Can I create a macro in UNIX? If so where do I find out how? (1 Reply)
Discussion started by: JD_Sal
1 Replies
9. Shell Programming and Scripting
Gents,
Please can you help me with this.
When column 49 == 2
Before
X 4714 14710 69445.00 19257.001 1218 12271 69596.00 19460.00 19478.001
X 4714 14710 69445.00 19257.001 1228 12292 69596.00 19480.00 19480.001
After
X 4714 14710 69445.00 19257.001 1218... (1 Reply)
Discussion started by: jiam912
1 Replies
10. Shell Programming and Scripting
Hello all,
I'm here again with new trouble. I need to find any possible way to apply excel macro on excel file in SLES server, or to convert that macro somehow.
Could you please share your ideas, and help me with this? Thank you in advance
ps (attached macro is with changed extension,... (14 Replies)
Discussion started by: bigbrobg
14 Replies
IDLE(1) General Commands Manual IDLE(1)
NAME
IDLE - An Integrated DeveLopment Environment for Python
SYNTAX
idle [ -dins ] [ -t title ] [ file ...]
idle [ -dins ] [ -t title ] ( -c cmd | -r file ) [ arg ...]
idle [ -dins ] [ -t title ] - [ arg ...]
DESCRIPTION
This manual page documents briefly the idle command. This manual page was written for Debian because the original program does not have a
manual page. For more information, refer to IDLE's help menu.
IDLE is an Integrated DeveLopment Environment for Python. IDLE is based on Tkinter, Python's bindings to the Tk widget set. Features are
100% pure Python, multi-windows with multiple undo and Python colorizing, a Python shell window subclass, a debugger. IDLE is cross-plat-
form, i.e. it works on all platforms where Tk is installed.
OPTIONS
-h Print this help message and exit.
-n Run IDLE without a subprocess (see Help/IDLE Help for details).
The following options will override the IDLE 'settings' configuration:
-e Open an edit window.
-i Open a shell window.
The following options imply -i and will open a shell:
-c cmd Run the command in a shell, or
-r file
Run script from file.
-d Enable the debugger.
-s Run $IDLESTARTUP or $PYTHONSTARTUP before anything else.
-t title
Set title of shell window.
A default edit window will be bypassed when -c, -r, or - are used.
[arg]* and [file]* are passed to the command (-c) or script (-r) in sys.argv[1:].
EXAMPLES
idle Open an edit window or shell depending on IDLE's configuration.
idle foo.py foobar.py
Edit the files, also open a shell if configured to start with shell.
idle -est "Baz" foo.py
Run $IDLESTARTUP or $PYTHONSTARTUP, edit foo.py, and open a shell window with the title "Baz".
idle -c "import sys; print sys.argv" "foo"
Open a shell window and run the command, passing "-c" in sys.argv[0] and "foo" in sys.argv[1].
idle -d -s -r foo.py "Hello World"
Open a shell window, run a startup script, enable the debugger, and run foo.py, passing "foo.py" in sys.argv[0] and "Hello World" in
sys.argv[1].
echo "import sys; print sys.argv" | idle - "foobar"
Open a shell window, run the script piped in, passing '' in sys.argv[0] and "foobar" in sys.argv[1].
SEE ALSO
python(1).
AUTHORS
Various.
21 September 2004 IDLE(1)