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
SCREADER(1)															       SCREADER(1)

NAME
screader - Screen reader using a software Text-To-Speech package or a hardware speech synthesizer. SYNOPSIS
screader [`screen' options] DESCRIPTION
The screader background program reads the screen and puts the information through to a software Text-To-Speech package (Like `festival') or a hardware speech synthesizer. (like `Accent') It uses the device /dev/vcsa. (See below) A reverse space at column 80 indicates the line containing the internal pointer. SCREADER KEYS
The following TTS-commands are available: (Each command must be pressed with the left-ALT-key, unless screader is in direct mode. See the `z'-command.) a Toggles auto_speak on or off. When toggled on screader will speak out the character being typed or the typed word if word_mode is toggled on. b Put internal pointer to begin of current line and speaks that line out if line_speak is toggled on. c Screader speaks out the line containing the cursor. d Puts the internal pointer one line down. If line_speak is on screader speaks out that line. e Speak out character or word under the cursor. f Toggle for the internal pointer to follow the cursor or not. g Puts the internal pointer to the bottom of the screen. If line_speak is on screader speaks that line out. h Puts the internal pointer to the top of the screen. If line_speak is on screader speaks that line out. i Toggles line_speak on or off. When toggled on screader will speak out the line, which is pointed to by the internal pointer, every time it has changed. k Toggles key clicking on or off. When toggled on screader will give a short click after a key is pressed. , Puts the pointer left one word. If auto_speak is toggled on screader speaks out that word. l Puts the internal pointer one character left. If auto_speak is on, screader speaks out the character pointed to by the internal pointer. m Toggles the word_mode on or off. When toggled on screader speaks out words instead of characters. n Toggle for numbers. If toggled on (default) screader speaks out the value of the digits. Otherwise screader speaks out digit by digit. If in word_mode, words will be spelled. o Silence please. p Speaks out character or word pointed to by the pointer. q Toggles punctuation on or off. When toggled on screader will put each punctuation mark through to a script punctuation.N.sh. Oth- erwise screader will replace each punctuation mark by a space, so that only alphabetic characters and digits are spoken. (See PUNCTUATION SCRIPT.) . Puts the pointer right one word. If auto_speak is toggled on screader speaks out that word. r Puts the internal pointer one character right. If auto_speak is on, screader speaks out the character pointed to by the internal pointer. s Screader speaks out the line pointed to by the internal pointer. u Puts the internal pointer one line up. If line_speak is on screader speaks out that line. w Speaks out the whole screen. x Re-read the `tts' file. (if another TTS is desired.) Each time this combination is pressed screader will select the next TTS-com- mand from this file. (if any, else the first one will be selected. and so on) z Put screader in direct mode. In this mode each command can be given without the alt-key, so that reviewing the screen is easier. When the `z'-key is pressed, screader goes back to application mode, so that you can work with your application again. - Toggles repeat_mode on or off. If toggled on, every sequence of the same characters will be spoken as `character n times`. where n stands for the number of that character in the sequence. ' Toggles caps_mode on or off. If toggled on screader speaks the word `cap' before each capitalized character. = Makes the internal pointer equal to the cursor. SCREEN_DEVICE Screader reads its information from a device /dev/vcsa. Kernels 1.1.92 or later provide this device. PUNCTUATION SCRIPT
Each time screader encounters a punctuation mark, it will be put through to a script called punctuation.N.sh, where N corresponds to the Nth tts-command in the tts-file. If there is no punctuation script the punctuation mark will be directly put through to the current tts- command. FESTIVAL CLIENT
If you want to use the server/client option of Festival place the line: festival_client.sh as first command in the file /etc/screader/tts. It is supposed that before using this tts-command the festival server is started by the following command: festival --server & Festival Speech Synthesis System Copyright (C) University of Edinburgh, 1996,1997. All rights reserved. BUGS
When typing fast sometimes the whole line will be spoken out instead of the characters being typed when line_speak and auto_speak are tog- gled on. Also when word_mode is toggled on the whole line will be spoken out when typing. FILES
/etc/screader/tts This file contains the name(s) of the Text-To-Speech utility(s) to be used. /etc/screader/punctuation.?.sh Punctuation scripts. /dev/vcsa Screen_device. SEE ALSO
screen(1L), vcs(4), festival(1) AUTHOR
Jos Lemmens (jlemmens@inter.nl.net) 27 Februari 2000 Screader version 1.8 SCREADER(1)
All times are GMT -4. The time now is 11:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy