Sponsored Content
Full Discussion: Command line traversal
Top Forums UNIX for Dummies Questions & Answers Command line traversal Post 68544 by kduffin on Tuesday 5th of April 2005 09:48:59 AM
Old 04-05-2005
I tend to run my command line in vi mode via, 'set -o vi'. It removes the need for the Esc and all vi's wonderful shortcuts work.

Keith
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Creating breadth traversal binary tree

I almost have the entire script written. however the problem is how would i assign the global variable to terminate the process from the bottom up to ensure the child terminates so the parent can. ex. I am proccess 1 I am proccess 2 etc Here is the code $ cat tree.c ... (3 Replies)
Discussion started by: slurpeyatari
3 Replies

2. UNIX for Advanced & Expert Users

need help in file traversal via FTS(3)

Hi friends, I was trying to traverse a file using FTS(3) . this is the code below.. but I am getting segmentation error in the line fts_read(...) , anybody have any idea , why it is? Please, help me. Thanks in advance.... (2 Replies)
Discussion started by: jack85
2 Replies

3. Shell Programming and Scripting

AWK File Traversal

Hey, I'm working on a file traversal and extraction function and am having problems. So, my script is finding all files in a directory. Each file has the same format. I need to extract a field from the 4th line of each file..... hence why I am using the substring on NR == 4. So, I am... (11 Replies)
Discussion started by: beefeater267
11 Replies

4. Shell Programming and Scripting

file traversal

Hi, I have to get some value of the from a flat file and my file format is like this. ABC DEF HIJ=1 XYZ xyz HIJ=2 So i need to make sure i get all the value of HIJ under XYZ and not ABC. (4 Replies)
Discussion started by: nidhink
4 Replies

5. Shell Programming and Scripting

sed command to replace a line at a specific line number with some other line

my requirement is, consider a file output cat output blah sdjfhjkd jsdfhjksdh sdfs 23423 sdfsdf sdf"sdfsdf"sdfsdf"""""dsf hellow there this doesnt look good et cetc etc etcetera i want to replace a line of line number 4 ("this doesnt look good") with some other line ... (3 Replies)
Discussion started by: vivek d r
3 Replies

6. UNIX for Dummies Questions & Answers

To find and display the middle line in a file using single line command.

Hi all, How can i display the middle line of a file using a single line command? (6 Replies)
Discussion started by: Lakme Pemmaiah
6 Replies

7. Shell Programming and Scripting

sed command to replace a line in a file using line number from the output of a pipe.

Sed command to replace a line in a file using line number from the output of a pipe. Is it possible to replace a whole line piped from someother command into a file at paritcular line... here is some basic execution flow.. the line number is 412 lineNo=412 Now i have a line... (1 Reply)
Discussion started by: vivek d r
1 Replies

8. Shell Programming and Scripting

Perl command line option '-n','-p' and multiple files: can it know a file name of a printed line?

I am looking for help in processing of those options: '-n' or '-p' I understand what they do and how to use them. But, I would like to use them with more than one file (and without any shell-loop; loading the 'perl' once.) I did try it and -n works on 2 files. Question is: - is it possible to... (6 Replies)
Discussion started by: alex_5161
6 Replies
FvwmConsole(1)							   Fvwm Modules 						    FvwmConsole(1)

NAME
FvwmConsole - an fvwm command input interface SYNOPSIS
Module FvwmConsole [options] FvwmConsole can only be invoked by fvwm. Command line invocation of the FvwmConsole module will not work. DESCRIPTION
FvwmConsole allows the user to type fvwm configuration commands interactively, and have them executed immediately. This tool is particu- larly useful for testing new configuration ideas, or for implementing temporary changes to your environment. INVOCATION
FvwmConsole must be spawned as a module by fvwm. FvwmConsole takes all xterm(1) options. FvwmConsole can be invoked by inserting the line 'Module FvwmConsole' in the .fvwm2rc file. This can be placed on a line by itself, if FvwmConsole is to be spawned during fvwm's initialization, or can be bound to a menu or mouse button or keystroke to invoke it later. CONFIGURATION OPTIONS
FvwmConsole uses xterm(1). All resources set for xterm are inherited unless overridden by command line options. Module FvwmConsole -g 40x10 -fg black -bg green3 A different terminal emulator can be specified with the -terminal option. However, only terminal programs that understand the options -name, -title and -e can be used. Module FvwmConsole -terminal rxvt Previous versions of FvwmConsole supported a -e option to choose a different front-end. Although this option is still provided for back- wards compatibility its use is discouraged unless you know exactly what you are doing. Module FvwmConsole -e FvwmConsoleC.pl (see FvwmConsoleC.pl(1)). Also X resources can be set in your ~/.Xdefaults file: FvwmConsole*VT100*geometry: 40x4 FvwmConsole*font: 7x14 COMMAND EDITING
There are a few options. If the GNU readline library is available, it can be used. If Perl5 is installed, FvwmConsoleC.pl can be used as a command editor. This can be accomplished by either copying FvwmConsoleC.pl to fvwmlib directory as FvwmConsoleC or invoking FvwmConsole with -e option. For example: Module FvwmConsole -e FvwmConsoleC.pl If neither one is installed, a simple input reading function which doesn't have editing capabilities is used. GNU readline and FvwmConsoleC.pl have some frequent used commands in common as default. These commands are similar to emacs. For more details, refer GNU readline man and info pages, and FvwmConsoleC.pl man page. Ctrl-A - beginning of line Ctrl-B - previous char Ctrl-D - delete char Ctrl-E - end of line Ctrl-F - next char Ctrl-H - backspace Ctrl-K - erase to the end of line Ctrl-N - next line Ctrl-P - previous line Ctrl-R - search reverse Ctrl-U - delete line Meta-B - previous word Meta-F - next word Esc < - beginning of history Esc > - end of history EXITING
FvwmConsole can be stopped by entering the EOF character (usually CTRL-D). Note! Do not use the "quit" command, as this is an fvwm builtin: typing "quit" at the FvwmConsole command line will cause fvwm to exit. SEE ALSO
xterm(1), FvwmConsoleC.pl(1), GNU Readline library AUTHOR
FvwmConsole is the original work of Toshi Isogai. 3rd Berkeley Distribution 09 May 2010 (2.5.30) FvwmConsole(1)
All times are GMT -4. The time now is 10:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy