0
Possibly related to Tail keeps snapping to the bottom after i scroll up with mousewheel
I can view my regular log files (on my local machine I mean) with tail -f
and can scroll up or down. However, on one of our servers (Ubuntu 10.04.3 LTS) when I use tail -f
on a log file it always snaps to the bottom and I can't scroll up.
I can't see anything about this in the man page. Anyone have any ideas?
Did you try another terminal, like suggested in the other question? – Gnoupi – 2012-08-08T09:50:32.783
@gnoupi - no, for two reasons: a) it's the same terminal (xterm) as i'm using on my local machine, which doesn't have the problem, and b) because i don't know how to make the server use a different terminal when you ssh onto it, and don't really want to start mucking around with that on the server in case it affects anyone else. – Max Williams – 2012-08-08T11:46:08.320
Actually in reference to b), it's not the server using the terminal is it, it's my local terminal which i'm ssh-ing inside. Which doesn't help the problem. – Max Williams – 2012-08-08T11:47:27.990
Try control-middle clicking your mouse inside the xterm window and check that "Scroll to bottom on Tty output" is deselected. – Thor – 2012-08-13T19:17:46.737
What's odd is that it's now working as normal again. I haven't restarted my computer, the server, terminal (it's even the same tab as before) but i did lose my ssh connection and have to reconnect. @Thor - i don't have a ctrl middle mouse context menu but on the right click i have a profile menu, which has this dialog for the "scrolling" tab - https://dl.dropbox.com/u/846812/xterm.png . I can't see any options in there that would have created my problem tho.
– Max Williams – 2012-08-16T08:22:57.080I was under the impression that you were using
xterm
, which has the aforementioned context menu. Which terminal are you using? – Thor – 2012-08-16T09:57:44.427Ah, my point exactly. Based on the screenshot, he is using gnome-terminal, not xterm. – terdon – 2012-08-16T13:00:16.923
Hi guys - you're right, sorry, it is gnome-terminal. I don't know why i thought it was xterm - i guess because i used to use xterm and then switched to gnome-terminal (see related question). Latest on this is that it works fine in one tab which is ssh'd onto our server (the one that didn't work originally) and now doesn't work (ie keeps snapping to the bottom) on my local machine. Confused... – Max Williams – 2012-08-17T14:06:05.117