Sponsored Content
Top Forums UNIX for Dummies Questions & Answers previous,next command in unix Post 302135615 by blowtorch on Tuesday 11th of September 2007 02:40:19 AM
Old 09-11-2007
I'm not sure if ksh allows that. The best option is to run bash, which supports this without any extra tweaking. In ksh, you can try to use the vi mode by running "ksh -o vi" or running "set -o vi" in the current ksh.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Capturing previous date in UNIX

Hi All, Hope you can help me out here...This is what I'm doing: % date '+%y.%m.%d' 05.03.05 How can I tweak this so that it gives me the PREVIOUS date, more specifically: 05.03.04 Hope you all can help. Thanks!!! Vince (3 Replies)
Discussion started by: tomeldan
3 Replies

2. UNIX for Dummies Questions & Answers

getting the previous command

Hello all I'm on SunOS5.9 and I'm trying to make the arrow keys work as in DOS ..get the previous command , etc .. I searched this site and got an answer. I pasted the following code to my .kshrc file in my home directory...It still does not seem to work ...Am I missing anything here ? I'm... (5 Replies)
Discussion started by: luft
5 Replies

3. UNIX for Dummies Questions & Answers

Seeing previous command

Guys, In work we have just gotten a new HP 9000 server and I'm trying to set it up so that if I press <Up arrow> key I can see the command I typed in last(and press enter to run it again). Can anyone advise how to set this up. One friend suggested I touch a file called .toucheditXXXX (I cant... (4 Replies)
Discussion started by: JackieChan
4 Replies

4. UNIX for Advanced & Expert Users

Previous Command

We have a Solaris Server and I am acessing it through telnet to run various commands for my data validation like GREP, SED, AWK etc. My requirement is how do i use the previous command that was executed. I tried the option 'ESC' and then 'k'. It displays the characters like '^[[A' etc. How do I... (0 Replies)
Discussion started by: vskr72
0 Replies

5. Shell Programming and Scripting

Previous Command

We have a Solaris Server and I am acessing it through telnet to run various commands for my data validation like GREP, SED, AWK etc. My requirement is how do i use the previous command that was executed. I tried the option 'ESC' and then 'k'. It displays the characters like '^[[A' etc. How do I... (1 Reply)
Discussion started by: vskr72
1 Replies

6. UNIX for Dummies Questions & Answers

Previous Command

We have a Solaris Server and I am acessing it through telnet to run various commands for my data validation like GREP, SED, AWK etc. My requirement is how do i use the previous command that was executed. I tried the option 'ESC' and then 'k'. It displays the characters like '^[[A' etc. How do I... (2 Replies)
Discussion started by: vskr72
2 Replies

7. HP-UX

Previous command

Hi, i would like to retrieve (only retrieve, not execute) a previous command which i executed on the command prompt. I tried the 'up arrow' key, but its not working. Instead,it showed me some funny characters. I searched around and i found the way to do it was using the way below. Several... (5 Replies)
Discussion started by: new2ss
5 Replies

8. UNIX for Dummies Questions & Answers

Repeat previous unix command

Hi all, Is there a way to bring back the previous unix command without retyping? I tried the "arror up" key, and it seems not working (sun solaris). What is the correct way? Thanks! (4 Replies)
Discussion started by: syang68
4 Replies

9. UNIX for Dummies Questions & Answers

Command to print previous year in UNIX

hi all, I use date +%Y which gives Current year. Requirement: I want previous year to be printed. Please help me. Note: I tried date +%d/%m/%Y -d "-1 years" which is not working. (10 Replies)
Discussion started by: wasim999
10 Replies

10. Shell Programming and Scripting

How to execute previous command in UNIX?

Hi, I was able to use !! on the console. But when I used !! in the run.sh, it says something like command not found. (3 Replies)
Discussion started by: alvinoo
3 Replies
YASR(1) 						      General Commands Manual							   YASR(1)

NAME
yasr (Yet Another Screen Reader) - is an attempt at a lightweight, portable screen reader. SYNOPSIS
yasr [ -C config file ] [ -c ] [ -s synthesizer ] [ -p synthesizer port ] [ program arg1 arg2 ... argN ] DESCRIPTION
yasr is a lightweight, portable screen reader. It works by opening a shell in a pty and intercepting all user input/output, maintaining a window of what should be on the screen by looking at the codes and text sent to the screen. It only requires that the user be able to access the text to speech (TTS) device. yasr was originally designed in conjunction with a Speak-out TTS device. Yasr also attempts to support DEC-Talk, DoubleTalk, Apollo, and ViaVoice Outloud, but more work is needed to get these to work fully. It may be able to work with Emacspeak servers, however. Currently yasr has two sets of keymaps, one for "review mode" (ie, reviewing the screen) and one for the standard mode. Keys defined for the standard mode are checked irrespective of whether the user is in review mode or standard mode, but the review mode keymap is checked first in the former case. OPTIONS
-C config file The configuration file that yasr should use. -c Attempts to emulate bash's -c command. It runs /bin/sh, passing it the arguments that were passed to yasr. -s synthesizer The TTS synthesizer to use in conjunction with yasr. -p synthesizer port The port that the TTS synthesizer is connected to. yasr will also fork and exec a program to run, if it (and any optional command line arguments it needs) are given as the last command line arguments. KEYBOARD SETTINGS
Review mode spacebar Say review cursor position. ^ Move to the first character on the line, and say word. $ Move to the last character on the line, and say word. b Say previous character. c Say character. d Say next character. e Read from cursor to bottom of screen. f Search for text on the screen. < Search from cursor to top of screen, using the previously-entered search string. > Search from cursor to bottom of screen, using the previously-entered search string. k Move up a line and read the line (currently same as up arrow). l Say current line. m Move down a line and read the line (currently same as down arrow). n Bypass (send directly to the application). t Read from top to cursor. w Read entire screen. z Move to beginning of previous word and read the word. x Move to beginning of next word and read the word. up arrow Move to previous line and read the line. down arrow Move to next line and read the line. left arrow Move back one character and read the character. right arrow Move ahead one character and read the character. ( Go to previous paragraph. ) Go to next paragraph. alt-i Reinitialize the synthesizer. ` Read the ASCII value of the current character. Standard mode These keys also work in review mode. ctrl-a Say application cursor position. ctrl-l Say line. ctrl-n Bypass. ctrl-x Flush speech buffer. alt-b Say previous character. alt-c Say chracter. alt-d Say word. alt-e Read cursor to bottom of screen. alt-k Say previous line. alt-l Read line. alt-m Read next line. alt-r Toggle review mode. alt-t Read top to cursor. alt-w Read entire screen. alt-x Silence speech. Like ctrl-x but will continue to be silent until a key is pressed (pressing alt-x a second time will start speech again, for example). ctrl-alt-k Keyboard wizard. Allows the user to move, copy, or delete keybindings from within yasr. ctrl-alt-o Options menu. Allows the user to set options from within yasr. ctrl-alt-s Save configuration to disk. alt-enter Disable yasr. Yasr is silent and ignores all keys when disabled. Press again to re-enable. Note: this key is defined in the [options] section as "DisableKey" FILES
/usr/local/share/yasr/yasr.conf yasr configuration file. AUTHOR
Michael P. Gorse <mgorse@users.sourceforge.net> 16 August 2002 YASR(1)
All times are GMT -4. The time now is 11:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy