Sponsored Content
Operating Systems HP-UX How to scroll back and forwrd in HP-UX? Post 302541203 by methyl on Friday 22nd of July 2011 06:08:14 PM
Old 07-22-2011
Within your .profile make sure that you have the $HISTFILE environment variable set and exported (see above) and one or both of these two possible lines:
Code:
VISUAL=vi ; export VISUAL
EDITOR=vi ; export EDITOR

Then you can use the keystroke sequence <esc>/k to present the last command typed for editing. Move backwards or forwards through the command history using the "-" or "+" keys respectively. If you find a command you want to edit, type "v" which will invoke "vi". Then after editing, use the usual ":wq!" to exit vi and the edited command will execute.
Tip: If you decide to not execute any command (edited or not), blank the command in vi (eg. the "dd" vi command) and then ":wq!".

Last edited by methyl; 07-22-2011 at 07:11 PM.. Reason: more typos than usual
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Is there a way scroll text instead of page?

Is there a way to slowly scroll the output of a file instead of page or cat ? Instead of one page at a time, I would like to slowly scroll the displayed output of the file. (12 Replies)
Discussion started by: darthur
12 Replies

2. AIX

aixterm scroll?

on a AIX sys i have been trying to get the mouse scroll wheel to page the terminal for about 2 yrs now on aixterm. any ideas. the below syntax does not work in aixterm but does work in xterm. ------------------------- this does not work in aixterm but does work in xterm,, with a cat Xdefult |... (2 Replies)
Discussion started by: nullwhat
2 Replies

3. UNIX for Dummies Questions & Answers

How To Scroll Processes In top?

I'm using top to view processes. But, I do not know how to scroll down the list to view what is not showed in the terminal window. Anyone know how to do this? (1 Reply)
Discussion started by: keenansnews
1 Replies

4. Shell Programming and Scripting

Scroll records from database, one at a time

Hi, I need to come up with a site that will display all the records in the database, but one at a time. Not sure how to go about it. Please pour in your suggestions. Thanks ---------- Post updated at 04:38 AM ---------- Previous update was at 12:52 AM ---------- Can... (3 Replies)
Discussion started by: sh_kk
3 Replies

5. Solaris

How to scroll through the man page in Solaris

Hey All, I generally login to the Solaris box using Putty. But when I read a man page, I am not being able to scroll line by line using traditional 'j' or 'k' keys. Any idea about how can we scroll through line by line while reading a manage page over Putty (2 Replies)
Discussion started by: paragkalra
2 Replies

6. AIX

Matching command scroll - ksh

In ksh is there a was to scroll thru all matching commands? For example I executed several commands over several days. Is there a way to scroll thru all the matching 'find' commands only that was executed? No messing with the .history file. Anyway to do this from the command prompt? TIA. (3 Replies)
Discussion started by: Un1xNewb1e
3 Replies

7. Shell Programming and Scripting

Changing the scroll limit in ksh

I don't have my SysV bible with me currently and I can't remember how to change the amount of lines visible in my shell. Currently I can only scroll back to see the last 100 lines of stdout. Any help is greatly appreciated. blessings, Tony <>< (2 Replies)
Discussion started by: port43
2 Replies

8. UNIX Desktop Questions & Answers

Xaw3d asciiTextWidget: how to scroll right without scrollbar

this is kinda solved Hi I need to program an ordinary text field which scrolls to the right when it gets filled. It must be in Xaw3d. I cannot get the asciiTextWidget to do it. Which resource do you need to set in asciiTextWidget to allow the widget to scroll to the right when typing text... (1 Reply)
Discussion started by: Bibi Monash
1 Replies

9. UNIX for Dummies Questions & Answers

help with continous scroll

I figured out my question. mods please delete. Thank you (2 Replies)
Discussion started by: rpmischris
2 Replies

10. Forum Support Area for Unregistered Users & Account Problems

UZoo ad disabling scroll on page

The ad for UZoo disables scrolling. Very annoying (0 Replies)
Discussion started by: Unregistered
0 Replies
EMACSCLIENT(1)						      General Commands Manual						    EMACSCLIENT(1)

NAME
emacsclient - tells a running Emacs to visit a file SYNOPSIS
emacsclient [options] files ... DESCRIPTION
This manual page documents briefly the emacsclient command. Full documentation is available in the GNU Info format; see below. This man- ual page was originally written for the Debian GNU/Linux distribution, but is not specific to that system. emacsclient works in conjunction with the built-in Emacs server. You can either call emacsclient directly or let other programs run it for you when necessary. On GNU and Unix systems many programs con- sult the environment variable EDITOR (sometimes also VISUAL) to obtain the command used for editing. Thus, setting this environment vari- able to 'emacsclient' will allow these programs to use an already running Emacs for editing. Other operating systems might have their own methods for defining the default editor. For emacsclient to work, you need an already running Emacs with a server. Within Emacs, call the functions `server-start' or `server- mode'. (Your `.emacs' file can do this automatically if you add either `(server-start)' or `(server-mode 1)' to it.) When you've finished editing the buffer, type `C-x #' (`server-edit'). This saves the file and sends a message back to the `emacsclient' program telling it to exit. The programs that use `EDITOR' wait for the "editor" (actually, `emacsclient') to exit. `C-x #' also checks for other pending external requests to edit various files, and selects the next such file. If you set the variable `server-window' to a window or a frame, `C-x #' displays the server buffer in that window or in that frame. OPTIONS
The programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). -nw, -t, --tty open a new Emacs frame on the current terminal -c, --create-frame create a new frame instead of trying to use the current Emacs frame -e, --eval do not visit files but instead evaluate the arguments as Emacs Lisp expressions. -n, --no-wait returns immediately without waiting for you to "finish" the buffer in Emacs. -s, --socket-name=FILENAME use socket named FILENAME for communication. -f, --server-file=FILENAME use TCP configuration file FILENAME for communication. This can also be specified via the `EMACS_SERVER_FILE' environment variable. -a, --alternate-editor=EDITOR if the Emacs server is not running, run the specified editor instead. This can also be specified via the `ALTERNATE_EDITOR' envi- ronment variable. If the value of EDITOR is the empty string, then Emacs is started in daemon mode and emacsclient will try to con- nect to it. -d, --display=DISPLAY tell the server to display the files on the given display. -V, --version print version information and exit -H, --help print this usage information message and exit SEE ALSO
The program is documented fully in Using Emacs as a Server available via the Info system. AUTHOR
This manual page was written by Stephane Bortzmeyer <bortzmeyer@debian.org>, for the Debian GNU/Linux system (but may be used by others). COPYING
This manual page is in the public domain. EMACSCLIENT(1)
All times are GMT -4. The time now is 06:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy