Sponsored Content
Top Forums Shell Programming and Scripting Automation of keyboard inputs..like Ctrl+d and Ctrl+a Post 302832561 by chandana hs on Monday 15th of July 2013 07:31:34 AM
Old 07-15-2013
Automation of keyboard inputs..like Ctrl+d and Ctrl+a

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 exiting from the 'screen' window. and i dont know how to automate it.

Pls help on this.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script ctrl+c

How do you make a script so the user can not press ctrl+c and break out of the script? Thanks, :) (1 Reply)
Discussion started by: newtounix
1 Replies

2. AIX

Disable ctrl-c,ctrl-d,ctrl-d in ksh script

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)
Discussion started by: wtofu
6 Replies

3. Shell Programming and Scripting

Catching ctrl-C or ctrl-D

Hi there, I'm using HP-UX 11 machine. I am running a script, thats gonna take a long time to execute. When I press ctrl-c to come out of my script, I have to catch that signal(ctrl-c) and display that ctrl-c had been pressed. How can I do it. Thanks in advance (2 Replies)
Discussion started by: sendhilmani123
2 Replies

4. Shell Programming and Scripting

Implementing Ctrl +C in a script as a part of automation

Hi, I am working on Solaris SPARC where we used start the BEA WebLogic Server for some project module. The server is started very simply by changing to its home directory and starting the script called ./startWebLogic.sh. Upto this no big deal. Once the server get started and comes to... (6 Replies)
Discussion started by: bhaskar_m
6 Replies

5. Shell Programming and Scripting

Ctrl-C or Ctrl-Z causing exit the session

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)
Discussion started by: jramesh1
2 Replies

6. Shell Programming and Scripting

ctrl-c in script

how to send ctrl-c signal in scripts ??? i am executing top command in .exp script top command gives cpu running activities on your machine eg # top top - 18:41:01 up 8:38, 5 users, load average: 0.03, 0.16, 0.16 Tasks: 172 total, 1 running, 170 sleeping, 0 stopped, 1 zombie... (3 Replies)
Discussion started by: alexzander18
3 Replies

7. Linux

ctrl+c not working

Hi All, I have ran one command tail -f <filename> to view newly appended text to that file. When i was done i pressed ctrl+c command to stop it but to my suprise it didn't work. I then tried top command and pressed ctrl+c and it worked fine and command aborted. I then just checked the tail... (0 Replies)
Discussion started by: tushar_shah06
0 Replies

8. Shell Programming and Scripting

How to handle CTRL+Z or CTRL+C in shells script?

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)
Discussion started by: ckchelladurai
3 Replies

9. UNIX for Dummies Questions & Answers

Ctrl-V + Ctrl-J for newline character does not work inside vi editor

Hi friends, I am trying to add a newline char ('\n') between the query and the commit statement in the following shell script. #! /bin/sh echo "select * from tab; commit;" > data.sql I have tried typing in "Ctrl-V + Ctrl-J" combination which has inserted ^@ (NUL) character but the commit... (1 Reply)
Discussion started by: royalibrahim
1 Replies

10. Shell Programming and Scripting

Ctrl-C untrap?

Hi guys... I know how to trap Ctrl-C, that is easy and I have even done it obfuscated... However once the trapping is enbaled how can the trapped Ctrl-C be returned to normal again? Google is not my friend here... Reason, the recent Scope upload will hang awaiting a signal in EXT TRIG mode... (3 Replies)
Discussion started by: wisecracker
3 Replies
lebiniou(1)							   lebiniou-3.18						       lebiniou(1)

NAME
lebiniou - A tool to create images from sound SYNOPSIS
lebiniou [OPTIONS] DESCRIPTION
Le Biniou is a program which creates images from sound, in an intelligent way. OPTIONS
-b | --basedir path: Set base directory to look for plugins (default: /usr/lib/lebiniou/plugins) -d | --datadir path: Set data directory (default: /usr/share/lebiniou) -z | --schemes file: Set schemes file (default: /usr/share/lebiniou/etc/schemes.xml) -f | --fullscreen: Set fullscreen -h | --help: Display help -i | --input plugin: Set input plugin (inputs: oss, alsa, jackaudio, pulseaudio, random, NULL (no input)) -m | --maxfps fps: Set maximum framerate -o | --output plugin: Set output plugin. (outputs: SDL, NULL (no output)) -r | --random mode: Set auto-random mode -s | --screen mode: Set On Screen Display mode -v | --version: Display the version and exit -x | --width width: Set width -y | --height height: Set height -p | --pidfile file: Set the PID file -t | --themes themes: Comma-separated list of themes to use CONTROLS
[Ctrl+o] - Next OSD mode [Alt+b] - Next 3D boundary [Alt+r] - Toggle 3D auto rotations [Alt+c] - Display current colormap [Ctrl+f] - Toggle full-screen on/off [Alt+m] - Show/hide mouse cursor [k] - Increase fps [Shift+k] - Decrease fps [Shift+q] - Quit [Shift+x] - Save the current sequence then exit [Shift+n] - Fill current frame with random pixels [n] - Clear the current frame [ESCAPE] - Turn off all auto changes [RETURN] - Toggle selected plugin on/off [Shift+RIGHT] - Use previous sequence [Shift+LEFT] - Use next sequence [Shift+PRINT] - Take a screenshot [Ctrl+BACKSPACE] - Make a sequence from system schemes [BACKSPACE] - Select a random user sequence [Ctrl+m] - Next random mode [Shift+m] - Previous random mode [Ctrl+t] - Auto colormaps on/off [Ctrl+i] - Auto pictures on/off [Ctrl+p] - Use the most recent sequence [SPACE] - Bypass mode on/off [Ctrl+SPACE] - Set webcam reference picture [TAB] - Select next webcam [Ctrl+v] - Switch 3d cube on/off [Ctrl+c] - Toggle 3D world pulse on/off [UP] - Select previous plugin [DOWN] - Select next plugin [PAGEUP] - Scroll up in the plugins list [PAGEDOWN] - Scroll down in the plugins list [Shift+z] - Reset the current sequence [Shift+l] - Toggle selected plugin as a lens on/off [Shift+UP] - Select previous plugin in the sequence [Shift+DOWN] - Select next plugin in the sequence [Ctrl+UP] - Move selected plugin up in the sequence [Ctrl+DOWN] - Move selected plugin down in the sequence [Alt+y] - Select default layer mode for the current plugin [Shift+y] - Select next layer mode [Ctrl+s] - Save current sequence as new [Ctrl+u] - Update current sequence [e] - Select previous colormap [r] - Select next colormap [t] - Select random colormap [y] - Select previous picture [u] - Select next picture [i] - Select random picture [Ctrl+g] - Set bank mode to sequences [Ctrl+h] - Set bank mode to colormaps [Ctrl+j] - Set bank mode to pictures [Ctrl-Shift-F1] - Clear bank 1 [Ctrl-Shift-F2] - Clear bank 2 [Ctrl-Shift-F3] - Clear bank 3 [Ctrl-Shift-F4] - Clear bank 4 [Ctrl-Shift-F5] - Clear bank 5 [Ctrl-Shift-F6] - Clear bank 6 [Ctrl-Shift-F7] - Clear bank 7 [Ctrl-Shift-F8] - Clear bank 8 [Ctrl-Shift-F9] - Clear bank 9 [Ctrl-Shift-F10] - Clear bank 10 [Ctrl-Shift-F11] - Clear bank 11 [Ctrl-Shift-F12] - Clear bank 12 [Shift+F1] - Assign current sequence/colormap/picture to bank 1 [Shift+F2] - Assign current sequence/colormap/picture to bank 2 [Shift+F3] - Assign current sequence/colormap/picture to bank 3 [Shift+F4] - Assign current sequence/colormap/picture to bank 4 [Shift+F5] - Assign current sequence/colormap/picture to bank 5 [Shift+F6] - Assign current sequence/colormap/picture to bank 6 [Shift+F7] - Assign current sequence/colormap/picture to bank 7 [Shift+F8] - Assign current sequence/colormap/picture to bank 8 [Shift+F9] - Assign current sequence/colormap/picture to bank 9 [Shift+F10] - Assign current sequence/colormap/picture to bank 10 [Shift+F11] - Assign current sequence/colormap/picture to bank 11 [Shift+F12] - Assign current sequence/colormap/picture to bank 12 [F1] - Use sequence/colormap/picture in bank 1 [F2] - Use sequence/colormap/picture in bank 2 [F3] - Use sequence/colormap/picture in bank 3 [F4] - Use sequence/colormap/picture in bank 4 [F5] - Use sequence/colormap/picture in bank 5 [F6] - Use sequence/colormap/picture in bank 6 [F7] - Use sequence/colormap/picture in bank 7 [F8] - Use sequence/colormap/picture in bank 8 [F9] - Use sequence/colormap/picture in bank 9 [F10] - Use sequence/colormap/picture in bank 10 [F11] - Use sequence/colormap/picture in bank 11 [F12] - Use sequence/colormap/picture in bank 12 [Ctrl+F1] - Use bankset 1 [Ctrl+F2] - Use bankset 2 [Ctrl+F3] - Use bankset 3 [Ctrl+F4] - Use bankset 4 [Ctrl+F5] - Use bankset 5 [Ctrl+F6] - Use bankset 6 [Ctrl+F7] - Use bankset 7 [Ctrl+F8] - Use bankset 8 [Ctrl+F9] - Use bankset 9 [Ctrl+F10] - Use bankset 10 [Ctrl+F11] - Use bankset 11 [Ctrl+F12] - Use bankset 12 [Ctrl+b] - Save the banks file SEE ALSO
User manual: file:///usr/share/doc/lebiniou/html/manual.html Website: http://biniou.net AUTHOR
Olivier Girondel <olivier@biniou.info> BUGS
Feel free to report them lebiniou-3.18 2012-04-24 lebiniou(1)
All times are GMT -4. The time now is 03:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy