Sponsored Content
Full Discussion: scripting Ctrl-D in a shell
Top Forums UNIX for Dummies Questions & Answers scripting Ctrl-D in a shell Post 302166269 by bobbygsk on Monday 11th of February 2008 12:23:00 PM
Old 02-11-2008
Ctrl-D can be inserted in vi editor by the following way.

Quote:
CTRL-V CTRL-D
No blanks between Ctrl-v and Ctrl-d
 

10 More Discussions You Might Find Interesting

1. 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

2. UNIX for Advanced & Expert Users

trap ctrl c in shell script

how to trap the ctrl c in unix shell script my script is running in while loop it should not be terminate with ctrl c. if i press ctrl c while running script it shloud ignore the same. please healp.......... thanks in advance (2 Replies)
Discussion started by: arvindng
2 Replies

3. UNIX for Dummies Questions & Answers

alias in bash shell for CTRL + l

Is it possible to create an alias wherein it will use a keystroke. Like to clear the screen in bash i have to use CTRL + l. I want to make an alias 'c' out of this. Thanks. (6 Replies)
Discussion started by: or_knob
6 Replies

4. 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

5. Linux

Passing ctrl + c in shell scripting

Hi, How to pass ctrl + c in shell scripting. Regards, shausy (6 Replies)
Discussion started by: shausy
6 Replies

6. 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

7. Shell Programming and Scripting

ctrl-c in shell script

The below script has Perl script in it where it gives the usage details. filer.sh echo echo -en "Enter filer : " read filer echo "test.pl -f $filer -F L" Output ========= The following hosts are online and available: Name Total Allocated Used ... (2 Replies)
Discussion started by: nareshkumar522
2 Replies

8. 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

9. Shell Programming and Scripting

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... (2 Replies)
Discussion started by: chandana hs
2 Replies

10. Shell Programming and Scripting

Passing Ctrl+A in shell scripting

Hello , I'm writing script that i use screen to mutiplexe my screen and t not stop execution when ssh connection is closed whit my other PC . So my question is how to send Ctrl+A and Ctrl+D in shell scriting code :confused: Thanks (5 Replies)
Discussion started by: marwen_joe
5 Replies
TERMINATOR(1)															     TERMINATOR(1)

NAME
Terminator - Multiple GNOME terminals in one window SYNOPSIS
terminator [options] DESCRIPTION
This manual page documents Terminator, a terminal emulator application. Terminator is a program that allows users to set up flexible arrangements of GNOME terminals. It is aimed at those who normally arrange lots of terminals near each other, but don't want to use a frame based window manager. OPTIONS
This program follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -h, --help Show summary of options -v, --version Show the version of the Terminator installation -m, --maximise Start with a maximised window -f, --fullscreen Start with a fullscreen window -b, --borderless Instruct the window manager not to render borders/decoration on the Terminator window (this works well with -m) -H, --hidden Hide the Terminator window by default. Its visibility can be toggled with the hide_window keyboard shortcut (Ctrl-Shift-Alt-a by default) -T, --title Force the Terminator window to use a specific name rather than updating it dynamically based on the wishes of the child shell. --geometry=GEOMETRY Specifies the preferred size and position of Terminator's window; see X(7). -e, --command=COMMAND Runs the specified command instead of your default shell or profile specified command -x, --execute COMMAND [ARGS] Runs the rest of the command line instead of your default shell or profile specified command. --working-directory=DIR Set the terminal's working directory -r, --role=ROLE Set a custom WM_WINDOW_ROLE property on the window -l, --layout=LAYOUT Start Terminator with a specific layout. The argument here is the name of a saved layout. -d, --debug Enable debugging output (please use this when reporting bugs). This can be specified twice to enable a built-in python debugging server. --debug-classes=DEBUG_CLASSES If this is specified as a comma separated list, debugging output will only be printed from the specified classes. --debug-methods=DEBUG_METHODS If this is specified as a comma separated list, debugging outut will only be printed from the specified functions. If this is speci- fied in addition to --debug-classes, only the intersection of the two lists will be displayed KEYBINDINGS The following keybindings can be used to control Terminator: Ctrl+Shift+O Split terminals Horizontally. Ctrl+Shift+E Split terminals Vertically. Ctrl+Shift+Right Move parent dragbar Right. Ctrl+Shift+Left Move parent dragbar Left. Ctrl+Shift+Up Move parent dragbar Up. Ctrl+Shift+Down Move parent dragbar Down. Ctrl+Shift+S Hide/Show Scrollbar. Ctrl+Shift+F Search within terminal scrollback Ctrl+Shift+N or Ctrl+Tab Move to next terminal within the same tab, use Ctrl+PageDown to move to the next tab. If cycle_term_tab is False, cycle within the same tab will be disabled Ctrl+Shift+P or Ctrl+Shift+Tab Move to previous terminal within the same tab, use Ctrl+PageUp to move to the previous tab. If cycle_term_tab is False, cycle within the same tab will be disabled Alt+Up Move to the terminal above the current one. Alt+Down Move to the terminal below the current one. Alt+Left Move to the terminal left of the current one. Alt+Right Move to the terminal right of the current one. Ctrl+Shift+C Copy selected text to clipboard Ctrl+Shift+V Paste clipboard text Ctrl+Shift+W Close the current terminal. Ctrl+Shift+Q Quits Terminator Ctrl+Shift+X Toggle between showing all terminals and only showing the current one (maximise). Ctrl+Shift+Z Toggle between showing all terminals and only showing a scaled version of the current one (zoom). Ctrl+Shift+T Open new tab Ctrl+PageDown Move to next Tab Ctrl+PageUp Move to previous Tab Ctrl+Shift+PageDown Swap tab position with next Tab Ctrl+Shift+PageUp Swap tab position with previous Tab Ctrl+Plus (+) Increase font size. Note: this may require you to press shift, depending on your keyboard Ctrl+Minus (-) Decrease font size. Note: this may require you to press shift, depending on your keyboard Ctrl+Zero (0) Restore font size to original setting. F11 Toggle fullscreen Ctrl+Shift+R Reset terminal state Ctrl+Shift+G Reset terminal state and clear window Super+g Group all terminals so that any input sent to one of them, goes to all of them. Super+Shift+G Remove grouping from all terminals. Super+t Group all terminals in the current tab so input sent to one of them, goes to all terminals in the current tab. Super+Shift+T Remove grouping from all terminals in the current tab. Ctrl+Shift+I Open a new window (note: unlike in previous releases, this window is part of the same Terminator process) Super+i Spawn a new Terminator process Drag and Drop The layout can be modified by moving terminals with Drag and Drop. To start dragging a terminal, click and hold on its titlebar. Alternatively, hold down Ctrl, click and hold the right mouse button. Then, **Release Ctrl**. You can now drag the terminal to the point in the layout you would like it to be. The zone where the terminal would be inserted will be highlighted. SEE ALSO
terminator_config(5) AUTHOR
Terminator was written by Chris Jones <cmsj@tenshu.net> and others. This manual page was written by Chris Jones <cmsj@tenshu.net> and others. Jan 5, 2008 TERMINATOR(1)
All times are GMT -4. The time now is 04:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy