Sponsored Content
Top Forums UNIX for Dummies Questions & Answers ksh: how to make [up arrow] recall command history Post 66520 by BG_JrAdmin on Tuesday 15th of March 2005 09:05:51 AM
Old 03-15-2005
I like vi as my editor.

can i do this with vi?
 

10 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

DARPA contestants make robotic history

DARPA contestants make robotic history http://news.com.com/Driverless+robots+reach+milestone+in+DARPA++race/2100-11394_3-5891793.html?tag=nl (3 Replies)
Discussion started by: Neo
3 Replies

2. UNIX for Advanced & Expert Users

i am not able to recall the command typed earlier in unix

i am not able to recall the command typed earlier in unix whenever i press esc key ^[ comes on the unix prompt . so esc k isnt working for me whenever i press backspace key i get ^H on my unix cursor need help (1 Reply)
Discussion started by: murli1200
1 Replies

3. Shell Programming and Scripting

Is there any way to make up arrow show last command in CSh?

Hi, I've been looking for a way to make the up arrow show the last command in csh, like how it does in bash/ksh. I've been googling and just can't find anything.....anybody have any ideas? thanks! (5 Replies)
Discussion started by: sayeo
5 Replies

4. UNIX and Linux Applications

command scrolling using arrow keys

hi, can anyone tell me how to enable arrow keys to scroll thru the commands on command prompt. I am using C shell ( I know, in k shell, set -o vi would enable vi command history, but set -o doesnte exist in c shell) (4 Replies)
Discussion started by: hemangi13
4 Replies

5. UNIX for Dummies Questions & Answers

AIX bash history recall

Is it possible to use the keyboard UP ARROW in place of k to recall history? If so, how/what do I need to do change terminal emulation, etc.? TIA, George (7 Replies)
Discussion started by: gwfay
7 Replies

6. Shell Programming and Scripting

What is the ksh equivalent to bash's "history -c" command?

Hi, What is the korn shell equivalent of bash shell's "history -c" command? I do know, how to clear the history list in ksh, I can do the following: > ~/.sh_historybut still, I am interested to know the single one line command as 'history -c' gives error on my ksh (1 Reply)
Discussion started by: royalibrahim
1 Replies

7. UNIX for Dummies Questions & Answers

how to set top arrow to get the history of last used commands

guys can any one help me how to set top arrow to get the history of last used commands.I am using ksh (3 Replies)
Discussion started by: etldev
3 Replies

8. Shell Programming and Scripting

up down arrow key and edit on command line.

I am using ksh, By doing change in .profile as set -o vi my updown and history does not work. Also I can not edit command line on prompt using vi command. My TERM is vt100. What is wrong here ? Thanks. :cool: (3 Replies)
Discussion started by: ekb
3 Replies

9. Shell Programming and Scripting

UP arrow button to recall previous commands in Putty

Hi, I remember in my previous project, I used UP arrow button to recall previous unix commands (using putty on Sun OS), which I am not able to do in my new project... I do not know if this is some project specific settings or not... when I press UP arrow button, all I get is ^. I have to... (3 Replies)
Discussion started by: juzz4fun
3 Replies

10. Shell Programming and Scripting

[ksh] how to reload history file without entering a command

I'm basically looking for the ksh equivalent of bash's PROMPT_COMMAND="history -r", where simply redrawing the command prompt in a terminal will cause ksh to reload the history file. At the risk of sounding incredibly lazy (in which case I would be guilty as charged), I've noticed that if I have... (13 Replies)
Discussion started by: DevuanFan
13 Replies
CKEY(7) 						 Miscellaneous Information Manual						   CKEY(7)

NAME
ckey - The standard definition of each function key in cWnn system. DESCRIPTION
---------------------------------------------------------- | Function | Other | Description | Function | Function | | Keys | Keys | | In Input | In Input | | | | | State | State | | (a) | (b) | (c) | (d) | (e) | |----------+-------+---------------+------------+----------| | - | ^ |To toggle input| Similar to | Similar | | | | mode ON/OFF | (c) | to (c) | |----------+-------+---------------+------------+----------| | PF1 | - | To toggle | To Toggle | Similar | | | | phonetic input| among input| to (d) | | | | mode | methods | | |----------+-------+---------------+------------+----------| | PF2 | - | To toggle | To toggle | Similar | | | | encoded input | among input| to (d) | | | | mode | methods | | |----------+-------+---------------+------------+----------| | PF3 | - | To toggle | To toggle | Similar | | | | ASCII | among | to (d) | | | | character | different | | | | | input mode | ASCII | | | | | | character | | | | | | input | | | | | | methods | | |----------+-------+---------------+------------+----------| | PF4 | - | Toggle other | To toggle | Similar | | | | input mode | among | to (d) | | | |(only in Pinyin| different | | | | | centred input | input | | | | | environment) | methods | | | | | + | + | | | | | Toggle the | Similar to | | | | | environment | (c) | | | | | operation | | | | | | functions | | | | | |(same as PF6) | | | | | |(only in Zhuyin| | | | | | centred input | | | | | | environment & | | | | | |Combined Pinyin| | | | | | & Zhuyin input| | | | | | environment | | | |----------+-------+---------------+------------+----------| | PF5 | - | To select the | Similar to | Similar | | | | different | (c) | to (c) | | | | input keys | | | | | | allocations | | | |----------+-------+---------------+------------+----------| | PF6 | - | To toggle the | To select | Similar | | | | environment | among the | to (d) | | | | operations | different | | | | | | environment| | | | | | operation | | | | | | functions | | |----------+-------+---------------+------------+----------| | - | ^G | To quit the | Similar to | Similar | | | | environment | (c) | to (c) | | | | operation | | | | | | functions | | | |----------+-------+---------------+------------+----------| |Conversion| ^W | To perform | Similar to | Similar | | key | | Hanzi | (c) | to (d) | | | | conversion | + | | | | | | To list out| | | | | | possible | | | | | | candidates | | |----------+-------+---------------+------------+----------| |Conversion| - | To extract a | - | Similar | | key | | candidate from| | to (c) | | | | the candidate | | | | | | list | | | |----------+-------+---------------+------------+----------| | - | ^Z | To treat the | Similar to | Similar | | | | input string | (c) | to (d) | | | | as a phrase & | + | | | | | perform phrase| To list out| | | | | conversion | possible | | | | | | phrase | | | | | | candidates | | |----------+-------+---------------+------------+----------| | Confirm | ^L | To confirm the| Similar to | Similar | | key | | conversion | (c) | to (d) | | | | result | | | |----------+-------+---------------+------------+----------| | Confirm | - | To extract a | - | Similar | | key | | candidate | | to (c) | | | | from the | | | | | | candidate list| | | |----------+-------+---------------+------------+----------| | Right | ^F | To move cursor| To move the| Similar | | arrow | | one position | cursor one | to (d) | | key | | to the right | unit to the| + | | | | during input | right | To move | | | | state, edit | | to the | | | | state, & when | | next | | | | using PF6 | | candidate| | | | functions | | on the | | | | | | right | |----------+-------+---------------+------------+----------| | Left | ^B | To move cursor| To move the| Similar | | arrow | | one position | cursor one | to (d) | | key | | to the left | unit to the| + | | | | during input | left | To move | | | | state, edit | | to the | | | | state, & when | | next | | | | using PF6 | | candidate| | | | functions | | on the | | | | | | left | |----------+-------+---------------+------------+----------| | Up | ^P | To move to the| Similar to | Similar | | arrow | | previous menu | (c) | to (c) | | key | | or previous | + | + | | | | set of | To recall | To obtain| | | | candidates. | the | the | | | | Also apply | previous | previous | | | | when using | input | single | | | | functions in | | candidate| | | | PF6 | | | |----------+-------+---------------+------------+----------| | Down | ^N | To move to the| Similar to | Similar | | arrow | | next menu or | (c) | to (c) | | key | | the next set | + | + | | | | of candidates.| To recall | To obtain| | | | Also apply | the | the | | | | when using | next input | next | | | | functions in | | single | | | | PF6 | | candidate| |----------+-------+---------------+------------+----------| | - | ^D | To delete an | Similar to | Similar | | | | input unit | (c) | to (d) | | | | + | | | | | | Delete a word | | | | | | or character, | | | | | | or dictionary | | | | | | in the | | | | | | environment | | | | | | operations PF6| | | |----------+-------+---------------+------------+----------| | Backspace| - | To delete an | Similar to | Similar | | key | | input | (c) | to (c) | | | | character | | | |----------+-------+---------------+------------+----------| | - | ^E | Move cursor to| Move cursor| Move the | | | | the last input| to the last| cursor to| | | | unit (end) or | unit of the| the last | | | | to the last | user input | candidate| | | | candidate of | string | in the | | | | the list. | | current | | | | Also apply | | set of | | | | when using | | candidate| | | | functions in | | | | | | PF6 | | | |----------+-------+---------------+------------+----------| | - | ^A | Move cursor to| Move cursor| Move the | | | | the first | to the | cursor to| | | | unit | first unit | the last | | | | (beginning) or| of the user| candidate| | | | to the first | input | in the | | | | candidate of | string | current | | | | of the list | | set of | | | | Also apply | | candidate| | | | when using | | | | | | functions in | | | | | | PF6 | | | |----------+-------+---------------+------------+----------| | - | ^K | To undo a | To delete | Similar | | | | conversion | an input | to (d) | | | | from the | string from| + | | | | cursor | the cursor | Similar | | | | position to | position to| to (c) | | | | the end of the| the end of | If press | | | | input string | the input | twice, | | | |(if press once)| string | will | | | | |(press once)| cancel | | | | | | the whole| | | | | | converted| | | | | | Hanzi | | | | | | string | |----------+-------+---------------+------------+----------| | - | ^I | To shorten the| - | Separate | | | | length of a | | a word | | | | word phrase by| | into | | | | one character | |individual| | | | | |characters| |----------+-------+---------------+------------+----------| | - | ^O | To extend the | - | Join the | | | | length of a | |characters| | | | word phrase by| | into one | | | | one character | | word | |----------+-------+---------------+------------+----------| | - | ^G | To extract a | - | Similar | | | | candidate from| | to (c) | | | | the candidate | | | | | | list | | | |----------+-------+---------------+------------+----------| | - | ^C | To perform | - | Re-enter | | | | reverse | | into the | | | | conversion | | input or | | | | | | insert | | | | | | mode | | | | | | (if press| | | | | | once ) | | | | | | + | | | | | | Perform | | | | | | reverse | | | | | |conversion| | | | | | (if press| | | | | | twice ) | ---------------------------------------------------------- 13 May 1992 CKEY(7)
All times are GMT -4. The time now is 06:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy