Is there a way to make Screen scroll like a normal terminal?
I love screen, but it drives me nuts that I have to stop typing input, hit CTRL+A [
, and then find what I need.
Is there a way to make the scroll wheel function normally, rather than scrolling commands?
Also, is it possible to enable Shift+PageUp/PageDn?
gnu-screen scrolling
add a comment |
I love screen, but it drives me nuts that I have to stop typing input, hit CTRL+A [
, and then find what I need.
Is there a way to make the scroll wheel function normally, rather than scrolling commands?
Also, is it possible to enable Shift+PageUp/PageDn?
gnu-screen scrolling
2
Not an answer but tmux makes this much easier. I've tried to do this in screen before but it seems to always involve mapping arcane escape codes that vary by terminal emulator.
– jw013
Jul 17 '12 at 1:08
aperiodic.net/screen/faq you probably just have to disable the alternate screen
– Ulrich Dangel
Jul 17 '12 at 1:52
just to add a reference: Scroll inside Screen, or Pause Output
– jozxyqk
Jun 16 '17 at 22:05
add a comment |
I love screen, but it drives me nuts that I have to stop typing input, hit CTRL+A [
, and then find what I need.
Is there a way to make the scroll wheel function normally, rather than scrolling commands?
Also, is it possible to enable Shift+PageUp/PageDn?
gnu-screen scrolling
I love screen, but it drives me nuts that I have to stop typing input, hit CTRL+A [
, and then find what I need.
Is there a way to make the scroll wheel function normally, rather than scrolling commands?
Also, is it possible to enable Shift+PageUp/PageDn?
gnu-screen scrolling
gnu-screen scrolling
asked Jul 17 '12 at 1:00
Bryan AgeeBryan Agee
4791614
4791614
2
Not an answer but tmux makes this much easier. I've tried to do this in screen before but it seems to always involve mapping arcane escape codes that vary by terminal emulator.
– jw013
Jul 17 '12 at 1:08
aperiodic.net/screen/faq you probably just have to disable the alternate screen
– Ulrich Dangel
Jul 17 '12 at 1:52
just to add a reference: Scroll inside Screen, or Pause Output
– jozxyqk
Jun 16 '17 at 22:05
add a comment |
2
Not an answer but tmux makes this much easier. I've tried to do this in screen before but it seems to always involve mapping arcane escape codes that vary by terminal emulator.
– jw013
Jul 17 '12 at 1:08
aperiodic.net/screen/faq you probably just have to disable the alternate screen
– Ulrich Dangel
Jul 17 '12 at 1:52
just to add a reference: Scroll inside Screen, or Pause Output
– jozxyqk
Jun 16 '17 at 22:05
2
2
Not an answer but tmux makes this much easier. I've tried to do this in screen before but it seems to always involve mapping arcane escape codes that vary by terminal emulator.
– jw013
Jul 17 '12 at 1:08
Not an answer but tmux makes this much easier. I've tried to do this in screen before but it seems to always involve mapping arcane escape codes that vary by terminal emulator.
– jw013
Jul 17 '12 at 1:08
aperiodic.net/screen/faq you probably just have to disable the alternate screen
– Ulrich Dangel
Jul 17 '12 at 1:52
aperiodic.net/screen/faq you probably just have to disable the alternate screen
– Ulrich Dangel
Jul 17 '12 at 1:52
just to add a reference: Scroll inside Screen, or Pause Output
– jozxyqk
Jun 16 '17 at 22:05
just to add a reference: Scroll inside Screen, or Pause Output
– jozxyqk
Jun 16 '17 at 22:05
add a comment |
2 Answers
2
active
oldest
votes
I use these settings with urxvt in my ~/.screenrc:
termcapinfo rxvt-unicode ti@:te@
termcapinfo rxvt ti@:te@
termcapinfo rxvt 'hs:ts=E]2;:fs=07:ds=E]2;screen07'
Those allow for scrollbar and mouse wheel to do "the right thing™".
Note that this is dependent on terminal type, so will not work if your terminal is not of type rxvt
. If it doesn't work, try replacing rxvt
and rxvt-unicode
with the appropriate terminal type (get this by running printf $TERM
.)
2
+1. Using "xterm" instead of "rxvt" and "rxvt-unicode", Shift-PgUp/-PgDown work for me on gnome-terminal. But the mousewheel scrolls in the shell history.
– daniel kullmann
Jul 17 '12 at 7:24
when using gnome-terminal, mousewheel scrolls normal, i.e. in scrollback.
– daniel kullmann
Jul 17 '12 at 7:31
When I use screen in gnome-terminal. Don't worry about it...
– daniel kullmann
Jul 17 '12 at 7:38
1
This also worked for me usingxterm
in place ofrvxt*
. Thanks!
– Bryan Agee
Jul 19 '12 at 18:24
Could you explain what each of these command do, please?
– Totor
May 3 '14 at 12:39
|
show 6 more comments
check your $TERM variable to see what terminal you are actually using. If its xterm (or xterm*) use add this to ~/.screenrc to allow mouse scrolling:
termcapinfo xterm* ti@:te@
or to be more complete:
termcapinfo xterm*|rxvt*|kterm*|Eterm* ti@:te@
absent modifying your ~/.screenrc, you can scroll with Ctrl-a ESC and then use up-down arrows. q to quit.
Term Cap is a device independent terminal description library/database.
References/copies from:
Terminal: termcapinfo command not found
https://en.wikipedia.org/wiki/Termcap
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f43229%2fis-there-a-way-to-make-screen-scroll-like-a-normal-terminal%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I use these settings with urxvt in my ~/.screenrc:
termcapinfo rxvt-unicode ti@:te@
termcapinfo rxvt ti@:te@
termcapinfo rxvt 'hs:ts=E]2;:fs=07:ds=E]2;screen07'
Those allow for scrollbar and mouse wheel to do "the right thing™".
Note that this is dependent on terminal type, so will not work if your terminal is not of type rxvt
. If it doesn't work, try replacing rxvt
and rxvt-unicode
with the appropriate terminal type (get this by running printf $TERM
.)
2
+1. Using "xterm" instead of "rxvt" and "rxvt-unicode", Shift-PgUp/-PgDown work for me on gnome-terminal. But the mousewheel scrolls in the shell history.
– daniel kullmann
Jul 17 '12 at 7:24
when using gnome-terminal, mousewheel scrolls normal, i.e. in scrollback.
– daniel kullmann
Jul 17 '12 at 7:31
When I use screen in gnome-terminal. Don't worry about it...
– daniel kullmann
Jul 17 '12 at 7:38
1
This also worked for me usingxterm
in place ofrvxt*
. Thanks!
– Bryan Agee
Jul 19 '12 at 18:24
Could you explain what each of these command do, please?
– Totor
May 3 '14 at 12:39
|
show 6 more comments
I use these settings with urxvt in my ~/.screenrc:
termcapinfo rxvt-unicode ti@:te@
termcapinfo rxvt ti@:te@
termcapinfo rxvt 'hs:ts=E]2;:fs=07:ds=E]2;screen07'
Those allow for scrollbar and mouse wheel to do "the right thing™".
Note that this is dependent on terminal type, so will not work if your terminal is not of type rxvt
. If it doesn't work, try replacing rxvt
and rxvt-unicode
with the appropriate terminal type (get this by running printf $TERM
.)
2
+1. Using "xterm" instead of "rxvt" and "rxvt-unicode", Shift-PgUp/-PgDown work for me on gnome-terminal. But the mousewheel scrolls in the shell history.
– daniel kullmann
Jul 17 '12 at 7:24
when using gnome-terminal, mousewheel scrolls normal, i.e. in scrollback.
– daniel kullmann
Jul 17 '12 at 7:31
When I use screen in gnome-terminal. Don't worry about it...
– daniel kullmann
Jul 17 '12 at 7:38
1
This also worked for me usingxterm
in place ofrvxt*
. Thanks!
– Bryan Agee
Jul 19 '12 at 18:24
Could you explain what each of these command do, please?
– Totor
May 3 '14 at 12:39
|
show 6 more comments
I use these settings with urxvt in my ~/.screenrc:
termcapinfo rxvt-unicode ti@:te@
termcapinfo rxvt ti@:te@
termcapinfo rxvt 'hs:ts=E]2;:fs=07:ds=E]2;screen07'
Those allow for scrollbar and mouse wheel to do "the right thing™".
Note that this is dependent on terminal type, so will not work if your terminal is not of type rxvt
. If it doesn't work, try replacing rxvt
and rxvt-unicode
with the appropriate terminal type (get this by running printf $TERM
.)
I use these settings with urxvt in my ~/.screenrc:
termcapinfo rxvt-unicode ti@:te@
termcapinfo rxvt ti@:te@
termcapinfo rxvt 'hs:ts=E]2;:fs=07:ds=E]2;screen07'
Those allow for scrollbar and mouse wheel to do "the right thing™".
Note that this is dependent on terminal type, so will not work if your terminal is not of type rxvt
. If it doesn't work, try replacing rxvt
and rxvt-unicode
with the appropriate terminal type (get this by running printf $TERM
.)
edited Mar 24 '18 at 0:47
miken32
18711
18711
answered Jul 17 '12 at 7:06
SardathrionSardathrion
2,47742349
2,47742349
2
+1. Using "xterm" instead of "rxvt" and "rxvt-unicode", Shift-PgUp/-PgDown work for me on gnome-terminal. But the mousewheel scrolls in the shell history.
– daniel kullmann
Jul 17 '12 at 7:24
when using gnome-terminal, mousewheel scrolls normal, i.e. in scrollback.
– daniel kullmann
Jul 17 '12 at 7:31
When I use screen in gnome-terminal. Don't worry about it...
– daniel kullmann
Jul 17 '12 at 7:38
1
This also worked for me usingxterm
in place ofrvxt*
. Thanks!
– Bryan Agee
Jul 19 '12 at 18:24
Could you explain what each of these command do, please?
– Totor
May 3 '14 at 12:39
|
show 6 more comments
2
+1. Using "xterm" instead of "rxvt" and "rxvt-unicode", Shift-PgUp/-PgDown work for me on gnome-terminal. But the mousewheel scrolls in the shell history.
– daniel kullmann
Jul 17 '12 at 7:24
when using gnome-terminal, mousewheel scrolls normal, i.e. in scrollback.
– daniel kullmann
Jul 17 '12 at 7:31
When I use screen in gnome-terminal. Don't worry about it...
– daniel kullmann
Jul 17 '12 at 7:38
1
This also worked for me usingxterm
in place ofrvxt*
. Thanks!
– Bryan Agee
Jul 19 '12 at 18:24
Could you explain what each of these command do, please?
– Totor
May 3 '14 at 12:39
2
2
+1. Using "xterm" instead of "rxvt" and "rxvt-unicode", Shift-PgUp/-PgDown work for me on gnome-terminal. But the mousewheel scrolls in the shell history.
– daniel kullmann
Jul 17 '12 at 7:24
+1. Using "xterm" instead of "rxvt" and "rxvt-unicode", Shift-PgUp/-PgDown work for me on gnome-terminal. But the mousewheel scrolls in the shell history.
– daniel kullmann
Jul 17 '12 at 7:24
when using gnome-terminal, mousewheel scrolls normal, i.e. in scrollback.
– daniel kullmann
Jul 17 '12 at 7:31
when using gnome-terminal, mousewheel scrolls normal, i.e. in scrollback.
– daniel kullmann
Jul 17 '12 at 7:31
When I use screen in gnome-terminal. Don't worry about it...
– daniel kullmann
Jul 17 '12 at 7:38
When I use screen in gnome-terminal. Don't worry about it...
– daniel kullmann
Jul 17 '12 at 7:38
1
1
This also worked for me using
xterm
in place of rvxt*
. Thanks!– Bryan Agee
Jul 19 '12 at 18:24
This also worked for me using
xterm
in place of rvxt*
. Thanks!– Bryan Agee
Jul 19 '12 at 18:24
Could you explain what each of these command do, please?
– Totor
May 3 '14 at 12:39
Could you explain what each of these command do, please?
– Totor
May 3 '14 at 12:39
|
show 6 more comments
check your $TERM variable to see what terminal you are actually using. If its xterm (or xterm*) use add this to ~/.screenrc to allow mouse scrolling:
termcapinfo xterm* ti@:te@
or to be more complete:
termcapinfo xterm*|rxvt*|kterm*|Eterm* ti@:te@
absent modifying your ~/.screenrc, you can scroll with Ctrl-a ESC and then use up-down arrows. q to quit.
Term Cap is a device independent terminal description library/database.
References/copies from:
Terminal: termcapinfo command not found
https://en.wikipedia.org/wiki/Termcap
New contributor
add a comment |
check your $TERM variable to see what terminal you are actually using. If its xterm (or xterm*) use add this to ~/.screenrc to allow mouse scrolling:
termcapinfo xterm* ti@:te@
or to be more complete:
termcapinfo xterm*|rxvt*|kterm*|Eterm* ti@:te@
absent modifying your ~/.screenrc, you can scroll with Ctrl-a ESC and then use up-down arrows. q to quit.
Term Cap is a device independent terminal description library/database.
References/copies from:
Terminal: termcapinfo command not found
https://en.wikipedia.org/wiki/Termcap
New contributor
add a comment |
check your $TERM variable to see what terminal you are actually using. If its xterm (or xterm*) use add this to ~/.screenrc to allow mouse scrolling:
termcapinfo xterm* ti@:te@
or to be more complete:
termcapinfo xterm*|rxvt*|kterm*|Eterm* ti@:te@
absent modifying your ~/.screenrc, you can scroll with Ctrl-a ESC and then use up-down arrows. q to quit.
Term Cap is a device independent terminal description library/database.
References/copies from:
Terminal: termcapinfo command not found
https://en.wikipedia.org/wiki/Termcap
New contributor
check your $TERM variable to see what terminal you are actually using. If its xterm (or xterm*) use add this to ~/.screenrc to allow mouse scrolling:
termcapinfo xterm* ti@:te@
or to be more complete:
termcapinfo xterm*|rxvt*|kterm*|Eterm* ti@:te@
absent modifying your ~/.screenrc, you can scroll with Ctrl-a ESC and then use up-down arrows. q to quit.
Term Cap is a device independent terminal description library/database.
References/copies from:
Terminal: termcapinfo command not found
https://en.wikipedia.org/wiki/Termcap
New contributor
New contributor
answered 4 hours ago
BrianBrian
11
11
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f43229%2fis-there-a-way-to-make-screen-scroll-like-a-normal-terminal%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Not an answer but tmux makes this much easier. I've tried to do this in screen before but it seems to always involve mapping arcane escape codes that vary by terminal emulator.
– jw013
Jul 17 '12 at 1:08
aperiodic.net/screen/faq you probably just have to disable the alternate screen
– Ulrich Dangel
Jul 17 '12 at 1:52
just to add a reference: Scroll inside Screen, or Pause Output
– jozxyqk
Jun 16 '17 at 22:05