it seams that my ctrl+c and my ctrl+d don't work. if I type a bunch of jiberish on a line and ctrl+c I expect the command to be cancelled and to be given a fresh prompt, but instead it just putts ^C at the end of the line.
Also, ctrl+d should close the session, but instead mine just puts ^D at... (3 Replies)
I wrote a ksh script for Helpdesk. I need to know how to disable ctrl-c,ctrl-z,ctrl-d..... so that helpdesk would not be able to get to system prompt :confused: (6 Replies)
Hi
I have tried to disable the CTRL-Z key inside a shell(sh) script using the command trap "`echo "Ctrl-Z key disabled"`" 20But I am not able to exit from the script after pressing CTRL-Z key.
How to proceed this? Need reply soon (11 Replies)
Hi,
I have file generated in HP-UNIX environment (for Example) with the line feed (i.e $):
a$
b$
C$
Now, I need to append CTRL-M character at the end of each line, but the last line of the file should not have both CTRL-M and Line Feed (i.e ^M and $). The file should look like:
a^M$
b^M$... (2 Replies)
In this script I have, it says press Ctrl+W+? for help, but it doesn't do anything. I looked in the script and it binds: bind ^W meta2_character. How do I make it the Ctrl button so I can do Ctrl+W? (There are some other commands that use Ctrl+W+another character/letter/number.) (4 Replies)
I'm going through "learning the bash shell" by newham and rosenblatt. I'm trying to ctro-O to execute and then go on to the next command in the history list, ctrl-o again, etc. (I'm just trying to get a feel for it in case I want to use it). But ctrl-o does nothing. Can someone help me out as to... (5 Replies)
H! I have written script where it need to invoke the perl script in background, then write the pid in temp file then bring back the job to foreground. whenever the Ctrl-C or Ctrl-Z is pressed in the script has to exit and prompt should be dispalyed. but this script causing exit from shell session... (2 Replies)
Hi,
while executing shell script, in the middle of the process, if we kill the shell script( ctrl+z or ctrl+c), script will be killed and the files which using for the script will be in the folder.
How to handle those scenarios. Is there any possibilities, if user breaks the script, I need to... (3 Replies)
Hi..!
I'm stuck with my automation of starting a process and keeping it running even after the current ssh session has exited..
So i'm trying to use command 'screen'. which is doing exactly what i wanted, But the problem is automation of the same.
i will have to press Ctrl+a and Ctrl+d for... (2 Replies)
Discussion started by: chandana hs
2 Replies
LEARN ABOUT SUSE
xmlrpcsh
XMLRPCSH(1p) User Contributed Perl Documentation XMLRPCSH(1p)NAME
XMLRPCsh - Interactive shell for XMLRPC calls
SYNOPSIS
perl XMLRPCsh http://betty.userland.com/RPC2
> examples.getStateName(2)
> examples.getStateNames(1,2,3,7)
> examples.getStateList([1,9])
> examples.getStateStruct({a=>1, b=>24})
> Ctrl-D (Ctrl-Z on Windows)
or
# all parameters after uri will be executed as methods
perl XMLRPCsh http://betty.userland.com/RPC2 examples.getStateName(2)
> Ctrl-D (Ctrl-Z on Windows)
DESCRIPTION
XMLRPCsh is a shell for making XMLRPC calls. It takes one parameter, endpoint (actually it will tell you about it if you try to run it).
Additional commands can follow.
After that you'll be able to run any methods of XMLRPC::Lite, like autotype, readable, etc. You can run it the same way as you do it in
your Perl script. You'll see output from method, result of XMLRPC call, detailed info on XMLRPC faulure or transport error.
For full list of available methods see documentation for XMLRPC::Lite.
Along with methods of XMLRPC::Lite you'll be able (and that's much more interesting) run any XMLRPC methods you know about on remote server
and see processed results. You can even switch on debugging (with call something like: "on_debug(sub{print@_})") and see XMLRPC code with
headers sent and received.
COPYRIGHT
Copyright (C) 2000 Paul Kulchenko. All rights reserved.
AUTHOR
Paul Kulchenko (paulclinger@yahoo.com)
perl v5.12.4 2010-06-03 XMLRPCSH(1p)