Stop following and allow scrolling
less +F
can be used to "tail" follow an input stream. I can't find a way to disable this mode and resume manual scrolling.
From man:less...
F
Scroll forward, and keep trying to read when the end of file is
reached. Normally this command would be used when already at
the end of the file. It is a way to monitor the tail of a file
which is growing while it is being viewed. (The behavior is
similar to the "tail -f" command.)
ESC-F
Like F, but as soon as a line is found which matches the last
search pattern, the terminal bell is rung and forward scrolling
stops.
It seems like ESC-F
may be the answer, but I'm not familiar with that key-sequence and don't seem to be able to make it work.
18.04 less
add a comment |
less +F
can be used to "tail" follow an input stream. I can't find a way to disable this mode and resume manual scrolling.
From man:less...
F
Scroll forward, and keep trying to read when the end of file is
reached. Normally this command would be used when already at
the end of the file. It is a way to monitor the tail of a file
which is growing while it is being viewed. (The behavior is
similar to the "tail -f" command.)
ESC-F
Like F, but as soon as a line is found which matches the last
search pattern, the terminal bell is rung and forward scrolling
stops.
It seems like ESC-F
may be the answer, but I'm not familiar with that key-sequence and don't seem to be able to make it work.
18.04 less
Also inman less
:ESC stands for the ESCAPE key; for example ESC-v means the two character sequence "ESCAPE", then "v".
– wjandrea
9 hours ago
@wjandrea -- Thanks. Yeah, it seems pretty obvious -- it just doesn't work for me in this context, so I though maybe I was missing something.
– nobar
6 hours ago
I'm having slightly more luck withmost
. In that case it's a bit more obvious that the problem is probably that these programs are single-threaded and use blocking reads to tail the input stream -- so they become unresponsive to keyboard input when waiting for new input lines.
– nobar
6 hours ago
add a comment |
less +F
can be used to "tail" follow an input stream. I can't find a way to disable this mode and resume manual scrolling.
From man:less...
F
Scroll forward, and keep trying to read when the end of file is
reached. Normally this command would be used when already at
the end of the file. It is a way to monitor the tail of a file
which is growing while it is being viewed. (The behavior is
similar to the "tail -f" command.)
ESC-F
Like F, but as soon as a line is found which matches the last
search pattern, the terminal bell is rung and forward scrolling
stops.
It seems like ESC-F
may be the answer, but I'm not familiar with that key-sequence and don't seem to be able to make it work.
18.04 less
less +F
can be used to "tail" follow an input stream. I can't find a way to disable this mode and resume manual scrolling.
From man:less...
F
Scroll forward, and keep trying to read when the end of file is
reached. Normally this command would be used when already at
the end of the file. It is a way to monitor the tail of a file
which is growing while it is being viewed. (The behavior is
similar to the "tail -f" command.)
ESC-F
Like F, but as soon as a line is found which matches the last
search pattern, the terminal bell is rung and forward scrolling
stops.
It seems like ESC-F
may be the answer, but I'm not familiar with that key-sequence and don't seem to be able to make it work.
18.04 less
18.04 less
asked 10 hours ago
nobarnobar
1,52121427
1,52121427
Also inman less
:ESC stands for the ESCAPE key; for example ESC-v means the two character sequence "ESCAPE", then "v".
– wjandrea
9 hours ago
@wjandrea -- Thanks. Yeah, it seems pretty obvious -- it just doesn't work for me in this context, so I though maybe I was missing something.
– nobar
6 hours ago
I'm having slightly more luck withmost
. In that case it's a bit more obvious that the problem is probably that these programs are single-threaded and use blocking reads to tail the input stream -- so they become unresponsive to keyboard input when waiting for new input lines.
– nobar
6 hours ago
add a comment |
Also inman less
:ESC stands for the ESCAPE key; for example ESC-v means the two character sequence "ESCAPE", then "v".
– wjandrea
9 hours ago
@wjandrea -- Thanks. Yeah, it seems pretty obvious -- it just doesn't work for me in this context, so I though maybe I was missing something.
– nobar
6 hours ago
I'm having slightly more luck withmost
. In that case it's a bit more obvious that the problem is probably that these programs are single-threaded and use blocking reads to tail the input stream -- so they become unresponsive to keyboard input when waiting for new input lines.
– nobar
6 hours ago
Also in
man less
: ESC stands for the ESCAPE key; for example ESC-v means the two character sequence "ESCAPE", then "v".
– wjandrea
9 hours ago
Also in
man less
: ESC stands for the ESCAPE key; for example ESC-v means the two character sequence "ESCAPE", then "v".
– wjandrea
9 hours ago
@wjandrea -- Thanks. Yeah, it seems pretty obvious -- it just doesn't work for me in this context, so I though maybe I was missing something.
– nobar
6 hours ago
@wjandrea -- Thanks. Yeah, it seems pretty obvious -- it just doesn't work for me in this context, so I though maybe I was missing something.
– nobar
6 hours ago
I'm having slightly more luck with
most
. In that case it's a bit more obvious that the problem is probably that these programs are single-threaded and use blocking reads to tail the input stream -- so they become unresponsive to keyboard input when waiting for new input lines.– nobar
6 hours ago
I'm having slightly more luck with
most
. In that case it's a bit more obvious that the problem is probably that these programs are single-threaded and use blocking reads to tail the input stream -- so they become unresponsive to keyboard input when waiting for new input lines.– nobar
6 hours ago
add a comment |
1 Answer
1
active
oldest
votes
While tailing a file, less
says at the bottom, Waiting for data... (interrupt to abort)
. So just press Ctrl+C, which sends the interrupt signal (SIGINT).
Hmm, I'm not seeing that message. If ICtrl-C
,less
terminates altogether and I'm returned to the shell.
– nobar
6 hours ago
@nobar Are you runningless +F
?
– wjandrea
6 hours ago
Yes. I've done it that way, and also without+F
-- but then typingShift
+F
to enter tail mode. The result is the same either way.
– nobar
6 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2faskubuntu.com%2fquestions%2f1118049%2fstop-following-and-allow-scrolling%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
While tailing a file, less
says at the bottom, Waiting for data... (interrupt to abort)
. So just press Ctrl+C, which sends the interrupt signal (SIGINT).
Hmm, I'm not seeing that message. If ICtrl-C
,less
terminates altogether and I'm returned to the shell.
– nobar
6 hours ago
@nobar Are you runningless +F
?
– wjandrea
6 hours ago
Yes. I've done it that way, and also without+F
-- but then typingShift
+F
to enter tail mode. The result is the same either way.
– nobar
6 hours ago
add a comment |
While tailing a file, less
says at the bottom, Waiting for data... (interrupt to abort)
. So just press Ctrl+C, which sends the interrupt signal (SIGINT).
Hmm, I'm not seeing that message. If ICtrl-C
,less
terminates altogether and I'm returned to the shell.
– nobar
6 hours ago
@nobar Are you runningless +F
?
– wjandrea
6 hours ago
Yes. I've done it that way, and also without+F
-- but then typingShift
+F
to enter tail mode. The result is the same either way.
– nobar
6 hours ago
add a comment |
While tailing a file, less
says at the bottom, Waiting for data... (interrupt to abort)
. So just press Ctrl+C, which sends the interrupt signal (SIGINT).
While tailing a file, less
says at the bottom, Waiting for data... (interrupt to abort)
. So just press Ctrl+C, which sends the interrupt signal (SIGINT).
answered 9 hours ago
wjandreawjandrea
9,13942363
9,13942363
Hmm, I'm not seeing that message. If ICtrl-C
,less
terminates altogether and I'm returned to the shell.
– nobar
6 hours ago
@nobar Are you runningless +F
?
– wjandrea
6 hours ago
Yes. I've done it that way, and also without+F
-- but then typingShift
+F
to enter tail mode. The result is the same either way.
– nobar
6 hours ago
add a comment |
Hmm, I'm not seeing that message. If ICtrl-C
,less
terminates altogether and I'm returned to the shell.
– nobar
6 hours ago
@nobar Are you runningless +F
?
– wjandrea
6 hours ago
Yes. I've done it that way, and also without+F
-- but then typingShift
+F
to enter tail mode. The result is the same either way.
– nobar
6 hours ago
Hmm, I'm not seeing that message. If I
Ctrl-C
, less
terminates altogether and I'm returned to the shell.– nobar
6 hours ago
Hmm, I'm not seeing that message. If I
Ctrl-C
, less
terminates altogether and I'm returned to the shell.– nobar
6 hours ago
@nobar Are you running
less +F
?– wjandrea
6 hours ago
@nobar Are you running
less +F
?– wjandrea
6 hours ago
Yes. I've done it that way, and also without
+F
-- but then typing Shift
+F
to enter tail mode. The result is the same either way.– nobar
6 hours ago
Yes. I've done it that way, and also without
+F
-- but then typing Shift
+F
to enter tail mode. The result is the same either way.– nobar
6 hours ago
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f1118049%2fstop-following-and-allow-scrolling%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
Also in
man less
:ESC stands for the ESCAPE key; for example ESC-v means the two character sequence "ESCAPE", then "v".
– wjandrea
9 hours ago
@wjandrea -- Thanks. Yeah, it seems pretty obvious -- it just doesn't work for me in this context, so I though maybe I was missing something.
– nobar
6 hours ago
I'm having slightly more luck with
most
. In that case it's a bit more obvious that the problem is probably that these programs are single-threaded and use blocking reads to tail the input stream -- so they become unresponsive to keyboard input when waiting for new input lines.– nobar
6 hours ago