11-25-2015
GNU Screen key bindings....
After I do CTRL-" to show all of my screen sessions, I typically use the up and down arrows to navigate up and down.
Suddenly this has changed, and instead only "j" and "k" seem to work for up and down.
This has changed in the middle of my screen session. First one changed, and then the other changed, a few days apart.
What has happened, and how can I restore my up-down cursor keys?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm using AIX 5.2 with ksh, I think it's ksh88 by default, and not ksh93.
I would like to enable my arrow keys to ressamble bash behaviour.
I don't know to what sequence of characters they're bound now. They do something but it's rather useless behaviour, meaning, unexpected and not very... (1 Reply)
Discussion started by: rein
1 Replies
2. UNIX for Advanced & Expert Users
There is a feature that I used in KDE's Konsole that I really miss when I'm on a non-GUI server. The ability to "broadcast" what I type to all open windows. That led me to wonder if this could be done with GNU screen (since it can do a whole lot of other cool stuff)? Basically, it would be... (3 Replies)
Discussion started by: deckard
3 Replies
3. HP-UX
I finally gave up and installed the prepackaged version of 'screen', but I really want to get a better understanding of why my compilation of 'screen' failed on HP-UX 11i using GNU gcc (also from a prepackaged version). Whenever I would try to run './configure' to prep for building screen, it... (4 Replies)
Discussion started by: deckard
4 Replies
4. UNIX for Advanced & Expert Users
Hello,
One of the things I like about screen is that it has a scrollback buffer, which if you go into the copy mode, will let you go back for a specified number of line. Is there a way to extend the number of scrollback lines in screen? I've looked thoroughly online and I could not find a... (2 Replies)
Discussion started by: neked
2 Replies
5. UNIX for Dummies Questions & Answers
hi folks,
i am using sun solaris, when i press escape key in putty/netterm screen will blink for a second, plese let me know where this setting is done by my admin, what i feel is my admin must have set some control key for this so that screen will refresh each time i press escape key. please let... (1 Reply)
Discussion started by: sudheer157
1 Replies
6. UNIX for Advanced & Expert Users
I'm trying to get GNU screen to show the output of "uptime" for the host being accessed in the current window, but unfortunately, no matter what window I go in, it shows the uptime for the host I originally launched screen in ("adminhost").
Does anyone know how to get this to update from the... (0 Replies)
Discussion started by: akbar
0 Replies
7. Solaris
hi,
i am facing a problem that (i think) many people had before.
under linux i use vim and therefor i am used to be able to use the cursor, delete and backspace keys in edit mode.
that's not the case in the classic vi, e.g. under solaris. when hitting these keys, uninteded char sequences are... (1 Reply)
Discussion started by: alex.blackbit
1 Replies
8. HP-UX
I compiled GNU screen on HP-UX 11.23 and following the compile, I get the following error when I try to run screen
Cannot find terminfo entry for 'vt100'
By default the TERMINFO is not set, I found a reference that setting it might help. I tried the following but I still receive the same... (2 Replies)
Discussion started by: scotbuff
2 Replies
9. UNIX for Advanced & Expert Users
Using GNU-Screen for a long time.
C-a 1 2 n p to navigate to other tabs. This works till 9. I often have 10, 11 etc. Is there any way to go to them quickly ?
Currently, i have to do C-a 9, C-a n which is quite a pain. Thanks. (0 Replies)
Discussion started by: sentinel
0 Replies
10. Shell Programming and Scripting
OPTIONS="java -Xms1024M -Xmx1024M -jar craftbukkit.jar"
PROCESS=server01
screen -dmS $PROCESS $OPTIONS nogui # Starting the application
screen -x $PROCESS -X stuff `printf "stop\r"` # Closing the application
screen -x $PROCESS # Attaching to the... (3 Replies)
Discussion started by: Zanax
3 Replies
view(1) General Commands Manual view(1)
Name
view - displays a file using the vi commands
Syntax
view [-t tag] [-r] [+command] [-l] [-wn] [-x] name...
Description
The command displays a text file. The command and the command run almost the same code except that in changes to a file are not allowed.
It is possible to get to the command mode of from within both.
The following is a list of some of the commands. See the vi Beginner's Reference Card and the "Introduction to Display Editing with vi" in
the Supplementary Documents, Volume 1: General User for more details that can be helpful for using
Screen Control Commands
<CTRL/L> Reprints current screen.
<CTRL/Y> Exposes one more line at top of screen.
<CTRL/E> Exposes one more line at bottom of screen.
Paging Commands
<CTRL/F> Pages forward one screen.
<CTRL/B> Pages back one screen.
<CTRL/D> Pages down half screen.
<CTRL/U> Pages up half screen.
Cursor Positioning Commands
j Moves cursor down one line, same column.
k Moves cursor up one line, same column.
h Moves cursor back one character.
l Moves cursor forward one character.
<RETURN> Moves cursor to beginning of next line.
0 Moves cursor to beginning of current line.
$ Moves cursor to end of current line.
<SPACE> Moves cursor forward one character.
nG Moves cursor to beginning of line n. Default is last line of file.
/pattern Moves cursor forward to next occurrence of pattern.
?pattern Moves cursor backward to next occurrence of pattern.
n Repeats last / or ? pattern search.
Exiting view
ZZ Exits
:q Quits session.
Options
-t tag Specifies a list of tag files. The tag files are preceded by a backslash () and are separated by spaces. The tag option should
always be the first entry.
+command Tells the editor to begin by executing the specified command. An example would be +/pattern that would search for a pattern.
-l Sets the showmatch and lisp options for viewing LISP code..
-r Retrieves the last saved version of the name'd file in the event of a system crash. If no file is specified, a list of saved
files is produced.
-wn Sets the default window size to n. This option is useful for starting in a small window on dialups. The -x option is available
only if the Encryption layered product is installed.
-x Causes to prompt for a key. The key is used to encrypt and decrypt the contents of the file. If the file has been encrypted
with one key, you must use the same key to decrypt the file.
See Also
edit(1), ex(1), vi(1)
The Little Gray Book: An ULTRIX Primer
The Big Gray Book: The Next Step with ULTRIX
"An Introduction to Display Editing with vi" in the Supplementary Documents, Volume 1: General User
view(1)