Sponsored Content
Full Discussion: Indentation help
Top Forums Shell Programming and Scripting Indentation help Post 302312456 by cfajohnson on Friday 1st of May 2009 12:11:15 PM
Old 05-01-2009
Quote:
Originally Posted by zenith
I am new to emacs.
Can you please explain what is buffer.Is it the white screen that comes up when i start emacs on windows

A buffer is the area that stores your file.

I could have said, "Go to the top of your file."

(You can have many buffers open at once. I typically have 50.)
 

10 More Discussions You Might Find Interesting

1. Programming

A question of indentation

Hi, Using GNU indent(1) I tried to indent a C source file which has no indentation (all lines start at column 1). The result I am trying to achieve, should look like this with the exception that only tabs are used for indentation (no spaces). Unfortunately, I couldn't find the appropriate... (1 Reply)
Discussion started by: Michael Iatrou
1 Replies

2. Programming

Emacs line indentation

Hi. I'm writing a document in Python, so indentation is crucial. I want to indent a whole section by exactly one tab. Any idea how to go about this? I'm using terminal emacs (no mouse input) Thanks for any help! (2 Replies)
Discussion started by: Rledley
2 Replies

3. UNIX and Linux Applications

Setting vi indentation to k&r style?

A bit of searching on Google did not seem to yield any really helpful results on how to set vim to use k&r indentation style. I know Emacs has such a feature, but does vim? If so, how do I turn it on? I am just starting to learn vi, and when I am coding in C it looks really ugly without some sort... (2 Replies)
Discussion started by: kermit
2 Replies

4. Shell Programming and Scripting

Regarding indentation using unix script

I have piece of Informatica code in a file as : IIF(substr(flag,0,2)=1,false,IIF(flag= 1 ,0,NULL)) Please provide me with idea how to write a unix script which reads this file and write indented code into another file. The output in the second file should look as: ... (1 Reply)
Discussion started by: srikanth.ch
1 Replies

5. Shell Programming and Scripting

indentation and lowercase to uppercase

hi, i need to write a bash script that does two things. the program will take from the command line a file name, which is a C code, and an integer, which is the size of my indentation i would then have to indent every nested code by the number of columns provided by the user in the... (1 Reply)
Discussion started by: kratos.
1 Replies

6. Shell Programming and Scripting

Change indentation in scripts

Hi, I am a professional in writing shell scripts, and I am using a one-space indentation like this for i in file1 file2 do if then echo "$i" fi done so very deeply nested stuff still fits on my screen. At release time I usually double the indentation via sed 's/^ */&&/' to make... (8 Replies)
Discussion started by: MadeInGermany
8 Replies

7. UNIX for Dummies Questions & Answers

Indentation using awk

I need to write an awk program who does this http://i.stack.imgur.com/yzSqB.jpg I'd be very grateful for any help, Thanks a lot (1 Reply)
Discussion started by: guy9050
1 Replies

8. Homework & Coursework Questions

Indentation using awk

1. The problem statement, all variables and given/known data: I need to write an awk program who does this (sorry its too big) http://i.stack.imgur.com/yzSqB.jpg 2. Relevant commands, code, scripts, algorithms: .. 3. The attempts at a solution (include all code and scripts): declaring a... (2 Replies)
Discussion started by: guy9050
2 Replies

9. UNIX for Beginners Questions & Answers

Indentation for Lists in html

An writing some html instructions to have text beside an image. The image is located on the left and I want the tect to appear on the right side of the image. The text includes a list. The problem is that the list boxes and not shifted. The text within the list align on the left with the... (20 Replies)
Discussion started by: kristinu
20 Replies

10. UNIX for Beginners Questions & Answers

Cshell if clause indentation

I would like to know if indentation is relevant for Cshell scripts. I wrote my code like this: if ((-e file1) && (-e file2)) then cat file1 > file10 cat file2 > file20 endifUsually I write my if clauses like this: if ((-e file1) && (-e file2)) then cat file1 > file10 ... (1 Reply)
Discussion started by: maya3
1 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 02:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy