Sponsored Content
Operating Systems OS X (Apple) Plotting A Sine Curve Inside A Bash Shell... Post 302914574 by wisecracker on Tuesday 26th of August 2014 05:47:42 PM
Old 08-26-2014
Hi Corona688...

Hmm, neat.

I never considered using 'awk' in its entirety.

Although I have used 'amplitude' and 'centreline' values to plot inside the terminal I intend to use character 32 (space) and 126 (tilde) as the pk-pk amplitude(s) and "N" or "O" as the centreline. This then makes the whole waveform fully editable in any text mode editor. ;o)

I never even considered how Windows would react under my version as I was more interested in a calculator as a 'bc' replacement for CygWin.

I seem to remember you pointing out how badly Windows reacts to many fork()s in a thread since gone.

Thanks for your creation. Once I have gotten to grips with it consider it stolen... ;oD
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[BASH] redirect standard error and use it inside

Hi all, Maybe my question is too simple but till now i couldn't figure about a solution :( I have a bash script scheduled in cron: <cron time parameters> my_script.sh > result.log 2>&1 By this way i can have standard output and standard error in my result.log file Now i want my script... (2 Replies)
Discussion started by: Pescator
2 Replies

2. Shell Programming and Scripting

running bash command inside awk

Org file 192.168.1.10 d:\adir\xdir 192.168.1.11 d:\bdir\ydir want to covert it into robocopy \\192.168.1.10\d$\adir\xdir\log* some_localdir\adir robocopy \\192.168.1.10\d$\adir\ydir\log* some_localdir\bbdir (5 Replies)
Discussion started by: ydk
5 Replies

3. UNIX for Dummies Questions & Answers

using awk inside bash script?

Hello, I'm trying to write a bash script that will query the current system time (OS X 10.6.6) and then convert the output from HH:MM:SS into time in seconds. The output of the system time command (systemsetup -gettime) is returned as: Time: HH:MM:SS so I wanted to use awk -F: to grab... (5 Replies)
Discussion started by: xaiu
5 Replies

4. Shell Programming and Scripting

Learning curve to understand bash iteration

Hi Folks, I know on one side there is script and on another side there is smart script. I am able to achieve what I got but thought there has to be a code which doesn't require multiple lines. So if you guys can help me out than it will be awesome. Also I wrote in cshell but if can get both the... (4 Replies)
Discussion started by: dixits
4 Replies

5. Shell Programming and Scripting

Hide bash code which is inside C plus plus program

I am embedding bash in cpp. Can the bash code be hidden (when we cat the executable to not be able to see the bash code) The simple code I am using: #include <iostream> #include <cstdlib> using namespace std; #define test1 "\ #!/bin/sh --posix \n\ echo... (1 Reply)
Discussion started by: frad
1 Replies

6. Shell Programming and Scripting

Aliases NOT working inside bash shell script

i have defined a function ln_s() for customizing the ln command in script1.sh. more script1.sh echo "Starting Execution" ./script2.sh echo "End of Execution" ln_s(){ ] && return ln -s "$1" "$2" } My script1.sh executes another script2.sh which has the following entry more script2.sh... (12 Replies)
Discussion started by: mohtashims
12 Replies

7. Shell Programming and Scripting

Need Multiple checks inside if condition in a bash shell script

Hi, I need to perform the untar and rm operation if the file found is a .tar and does not have test.tar or hello.tar as the file names. Below is the loop to check the same. for tf in *.tar do if ] then found=1 ... (1 Reply)
Discussion started by: mohtashims
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 10:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy