Sponsored Content
Top Forums Shell Programming and Scripting up down arrow key and edit on command line. Post 302581672 by ekb on Tuesday 13th of December 2011 09:06:50 PM
Old 12-13-2011
I am at os 6.1.0.0, TERM=vt100

This solutions works but I can not edit command line using unix commands.

https://www.unix.com/unix-dummies-que...d-history.html

If I do set -o vi then up down arrow does not work also I can not edit at command line.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

vi down arrow key not working

i am using windows nt hummingbird 7.0 host explorer telnet emulation. I have two connections to two different unix machines. on one, the down arrow works fine in vi (it woks like the j option on the other it looks like it is giving me a new line above (like option O) and inserting a letter "B";... (2 Replies)
Discussion started by: artjaniger
2 Replies

2. UNIX for Dummies Questions & Answers

ksh: how to make [up arrow] recall command history

I want to get my up arrow key to recall my previous commands in Korn shell. Anyone help please? thanks a bunch! BG (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

3. UNIX for Dummies Questions & Answers

edit each line in the file

I am trying to edit each line in a file. The file has several columns delimitted by '|'. I need to take out the last two columns. Each line starts with a unique word through which I am storing the lines in a variable and cutting the last two colums. But, when I am echoing the line, it is... (2 Replies)
Discussion started by: chiru_h
2 Replies

4. UNIX for Dummies Questions & Answers

Using the Esc key to complete command line typing

Dear Techs, In the past on a different box (HP) I use to be able to complete something I was typing by entering a portion of the filename in the pwd and I would hit the Esc key and it would match the rest of the filename. I did this without understanding how it was setup. Now I am on a new... (1 Reply)
Discussion started by: jxh461
1 Replies

5. 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

6. 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

7. Shell Programming and Scripting

How does BASH handle KEY BOARD "up arrow"??

hello sir, I am studying the BASH shell. I was wondering how the BASH is able to handle the "up arrow" key to give the commands that were previously typed by us. Can you please tell me the code to do such an operation. I want to handle more such keys and put KEY BOARD short cuts to the BASH shell. (1 Reply)
Discussion started by: nsharath
1 Replies

8. UNIX for Advanced & Expert Users

command to replace the entire line from the key point

Hi everyone I am new to Unix. I got stuck up by small issue. I have text file something like this abc 'xyz' '5' lmn 'pqr' '7' i want to replace the abc 'xyz' '5' to abc 'xyz' '6' but i have a key as 'xyz' based on this key i want to do that. I am not aware of how to use sed... (7 Replies)
Discussion started by: Vijayaragavan
7 Replies

9. UNIX for Dummies Questions & Answers

enable up arrow key to get last cmd..

Hello all, I wanted to know how can i enable the up arrow key to go to last cmd....on any UNIX system....looks like in some of my system(linux mostly) the up arrow key work to go to last cmd....but on hp-ux or sun...the up arrow key dose not work....is there some setting i can enable at terminal... (3 Replies)
Discussion started by: abdul.irfan2
3 Replies

10. Shell Programming and Scripting

edit a line for getting inputs

Hello Everybody, I have a file with data like this 8z:1 15y:0 7x:0 12w:1 ... ... I would like read each line through a loop and will needing to get the input from each line like this For 8z:1; a=8,b=1 15y:0; a=15,b=0 7x:0; a=7,b=0 Please let me know of a way to... (5 Replies)
Discussion started by: leo.maveriick
5 Replies
FLDIGI-SHELL(1) 														   FLDIGI-SHELL(1)

NAME
fldigi-shell - program for controlling fldigi SYNOPSIS
fldigi-shell [OPTIONS] [FILE] DESCRIPTION
The fldigi-shell program controls fldigi(1) over HTTP via XML-encoded remote procedure calls (XML-RPC). It can call any XML-RPC method exported by fldigi, and also defines some useful commands of its own. OPTIONS
-d Enable debug output. -u URL Use URL to access the server. Defaults to "http://localhost:7362/RPC2", which corresponds to fldigi's default listen address and port. -c COMMAND Execute command COMMAND and exit. COMMANDS
Note The "x:yz" notation refers to the return type and argument type(s). They are: "n" (nil), "i" (integer), and "s" (string). debug (n:n:) Toggle debug output. eval (s:s) Evaluate Perl code. exit (n:n) Exit the shell. help (n:n) Print help for server (fldigi) methods and shell commands. history (s:n) Print command history. modems (s:n) List all modem names. poll (s:i) Poll for new received text every i seconds. Defaults to 1. pskrqsy (n:si) QSY to ith best frequency for grid s. The list of frequencies is retrieved from the PSK Reporter website; see RESOURCES. The grid square string may be left empty, and the index argument defaults to 0 (first frequency). recvtext (s:n) Get all received text. reinit (n:n) Fetch commands from the server and rebuild command list. send (n:s) Send text interactively, one line at a time. sendchar (n:s) Send text interactively, one character at a time. sendfile (n:s) Send text read from file s. sendstr (n:s) Send string s. source (n:s) Read commands from file s. time (s:s) Time a command. wait (n:s) Wait for server TRX state to become s. EXTENDED DESCRIPTION
The shell has three modes of operation: 1. Interactive mode with history, tab completion and command line editing. This is the default mode when fldigi-shell is run without arguments. 2. Batch mode for a single command with the -c option. 3. Batch mode to "source" a file containing Perl code. Fldigi-shell commands can be called using "execute("COMMAND [ARG ...]")" calls. FILES
$HOME/.fldigi/shell-history Contains the fldigi-shell command history. EXAMPLES
while :; do fldigi-shell -c pskrqsy; sleep 900; done Change to the "best frequency" (see PSK Reporter) every fifteen minutes. SEE ALSO
fldigi(1), xmlrpc(1), readline(3), RPC::XML(3pm) BUGS
o Some additional command wrappers are needed. o Command completion should be enabled for the arguments of some commands. o The XML-RPC handling code should probably go in a separate module. o It should be possible to pass multiple -c CMD arguments. RESOURCES
Fldigi web site: http://www.w1hkj.com/Fldigi.html The PSK Automatic Propagation Reporter site can be found at http://www.pskreporter.info/ The GNU Readline Library: http://directory.fsf.org/project/readline/ XML-RPC home page: http://www.xmlrpc.com/ AUTHOR
Fldigi-shell and this manual page were written by Stelios Bounanos, M0GLD <sb[at]enotty(dot)net>. COPYING
License GPLv2+: GNU GPL version 2 or later. 07/01/2012 FLDIGI-SHELL(1)
All times are GMT -4. The time now is 05:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy