Sponsored Content
Top Forums Shell Programming and Scripting How to issue ctrl+D and enter key Post 302332489 by Franklin52 on Thursday 9th of July 2009 08:57:05 AM
Old 07-09-2009
As bakunin mentioned above, for:

^M --> press CTRL-V and the ENTER key
^D --> press CTRL-V and CTRL-D

Regards
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Disabling ctrl-Z key inside shell script

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)
Discussion started by: suganthic
11 Replies

2. Shell Programming and Scripting

read the ENTER key

Hi , I do the following : ]echo "Do you want to say yes or no ?(y/n):\c" read ans here 'n' is the default value.that means if the user press ENTER key then it should be 'n' . Now how do i know that the user has pressed ENTER key.What will be stored in my variable 'ans'. (4 Replies)
Discussion started by: sars
4 Replies

3. UNIX for Dummies Questions & Answers

Pressing backspace key simulates enter key

Hi, Whenever i press the backspace key, a new line appears, i.e. it works like a enter key. :confused: Thanks (2 Replies)
Discussion started by: vibhor_agarwali
2 Replies

4. UNIX for Advanced & Expert Users

using enter key in shell script

without pressing the enter key ..manually... how can we read the enter key ..from the shell script..so that the script termintes automatically. eg: telnet a.b.c.d xxxx now " how to read the enter key" tho terminate the script (1 Reply)
Discussion started by: bishweshwar
1 Replies

5. Shell Programming and Scripting

How to find entering ENTER key?.

Hello All, i have a script to get input from the user like bellow, read -p "Do you want to continue (y/n) : " status i want to identify the pressing of Enter Key with out giving any value for the above statement and i want get the status if we press Enter key during run time. How to... (0 Replies)
Discussion started by: tsaravanan
0 Replies

6. Shell Programming and Scripting

How to delete ctrl key values in a given string?

Hi all, My query is... in the runtime, you are getting any input string. Unfortunately, you have pressed some ctrl keys or esc keys or arrow keys while typing input string. You can get the input value like that... input string as welcome^ So ,I want to remove those unwanted keys... (4 Replies)
Discussion started by: balan_mca
4 Replies

7. Shell Programming and Scripting

enter key solaris

Hi, When I run script on Sun Solaris (sassetup), it prompts to "Press Enter To Continue". Now I want to automate this, ie put sassetup in a script file. So, when I run this file, it should be executed automatically without waiting for anyone to press Enter Key. I have tried the following... (1 Reply)
Discussion started by: sajjunaqvi
1 Replies

8. UNIX for Dummies Questions & Answers

Ctrl-enter doesn't work when running Midnight Commander in xterm

When running MC in xterm or gnome-terminal, it doesn't seem to allow the use of Ctrl-enter and Ctr-shift-enter to copy marked files to the command line. Does anyone know of another way to cause this to happen or a way to enable it under xterm/gnome-term? With thanks, Narnie (0 Replies)
Discussion started by: Narnie
0 Replies

9. Shell Programming and Scripting

Expect command to send the user input enter or ctrl+c

Hey All, I am writing one script using expect, that script which is used in spawn will accepts only 1. Enter 2. Ctrl+c Press Control-C to exit, Enter to proceed. Could some one share some thoughts to send the above user inputs in linux expect block ? Thanks, Sam (0 Replies)
Discussion started by: SCHITIMA
0 Replies

10. Shell Programming and Scripting

Simulate enter key

I have a popup window that appears on every boot up. I would like to have it dismissed automatically each time instead of having to hit the enter key. I thought I could write a script that would execute on startup. I tried this xdotool key return andy@7_~/Downloads$ xdotool key ... (7 Replies)
Discussion started by: drew77
7 Replies
Holotz's Castle Editor(6)												 Holotz's Castle Editor(6)

NAME
holotz-castle-editor - editor for holotz-castle game SYNOPSIS
holotz-castle-editor [-f] [-w] [--fps nn] [-mWWxHHxBPP] [-r RR] [-c CC] [-t theme] <story> <nr> DESCRIPTION
A great mystery is hidden beyond the walls of Holotz's Castle. Will you be able to help Ybelle and Ludar escape alive from the castle? Use the editor to design new levels for this game! USAGE
You can use the following keys while working with the editor: - Page Down: Next level in the story (or a new one if it doesn't exist). - Page Up: Previous level in the story. - 'c': Increase the number of columns from the right. - CTRL-'c': Increase the number of columns from the left - SHIFT-'c': Decrease the number of columns from the right. - SHIFT-CTRL-'c': Decrease the number of columns from the left. - 'r': Increase the number of rows from below. - CTRL-'r': Increase the number of rows from above. - SHIFT-'r': Decrease the number of rows from below. - SHIFT-CTRL-r: Decrease the number of rows from Above. - '+': Increase level time. - '-': Decrease level time. - '1': Select 'floor' tool. - '2': Select 'continuous floor' tool. - '3': Select 'stairs' tool. - '4': Select 'bar' tool. - '5': Select 'breakable floor' tool. - '6': Select 'key' tool. - '7': Select 'rope' tool - '8': Select 'starting character's position' tool. - '9': Select 'exit position' tool. - '0': Select 'enemy' tool. - 's': Save. - CTRL-'q': Quit editor. - Arrow keys: Move around in the map. - 'g': Increase gravity strength. - SHIFT-'g': Decrease gravity strength. - 'x': Increase main character's speed in axis. - SHIFT-'x': Decrease main character's speed in X axis. - 'y': Increase main character's speed in Y axis. - SHIFT-'y': Decrease main character's speed in Y axis. - 'j': Increase the number of cells that the player can jump vertically. - SHIFT-'j': Decrease the number of cells that the player can jump vertically. Other features: - When adding an item to the map, if you press CTRL key it is adjusted to a cell. - To adjust a rope's lenght, you select it and, while still pressing mouse button, press ALT key and drag the mouse vertically until get- ting the desired length. - To adjust a rope's oscillation amplitude, you must select it and, keeping mouse button pressed, press SHIFT key. Real time amplitude is not shown, as it is determined taking into account the distance in vertical to the rope when releasing mouse button. OPTIONS
These command line options are available: -f Full Screen. -w Windowed. --fps nn Run the game at nn frames per second (fps). -mWWxHHxBPP Run in video mode set by WW pixels of width, HH pixels of height and BPP bits per pixel (eg. -m640x480x16). -r RR Crete map with RR rows of height. -c CC Crete map with CC columns of width. -t theme Use theme named 'theme'. <story> <nr> Load level nr of the story called 'story'. AUTHOR
This manual page was written for the Debian GNU/Linux system by Miriam Ruiz <little_miry@yahoo.es> (but may be used by others, of course) Miriam Ruiz 28.01.2005 Holotz's Castle Editor(6)
All times are GMT -4. The time now is 04:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy