Tail option for Raw View

Features wanted...
Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Tail option for Raw View

Post by Stefan »

I would like to have an "[ ] Jump to end of file"-option for Info Panel's "Raw View"
Because if i look at log files i want to see mainly the end of the file.
With this feature i could browse files and see always the last lines of them :P

Extra fine would be an "[ ] Tail"-option
to refresh the view and scroll to the end again if the file is modified external.
This way i could stay on an file and get all changes in real time :D
(If this is to much work... then i think an "[ ] auto refresh every 60sec" would do it too?)

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Tail option for Raw View

Post by admin »

The autorefresh is working already. All that's needed is the [ ] Tail option. Is [ ] Tail the usual name for this kind of thing?

JustinF
Posts: 358
Joined: 28 Jun 2005 23:47
Location: Omaha, Nebraska, USA

Re: Tail option for Raw View

Post by JustinF »

admin wrote:The autorefresh is working already. All that's needed is the [ ] Tail option. Is [ ] Tail the usual name for this kind of thing?
Tail is a very common term for this type of thing....the purpose is to follow the tail (end) of the file (usually a log file). *nix has the "tail" command that does just that, and there are many Windows utilities that do the same thing (mTail, baretail, etc.). If it is not too hard to implement I would also like to 2nd this request.
Justin
Windows 7 Professional

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Tail option for Raw View

Post by Stefan »

admin wrote:Is [ ] Tail the usual name for this kind of thing?
I know it like this.

http://en.wikipedia.org/wiki/Tail_%28Unix%29
tail has a special command line option -f (follow) that allows a file to be monitored.
Instead of displaying the last few lines and exiting, tail displays the lines and then monitors the file.
As new lines are added to the file by another process, tail updates the display.
This is particularly useful for monitoring log files.

The following command will display the last 10 lines of messages
and append new lines to the display as new lines are added to messages:
tail -f /var/adm/messages
Yes, baretail too
http://www.baremetalsoft.com/
A free real-time log file monitoring tool.
* Real-time file viewing
* Follow tail mode (like tail -f on Unix)

SFK
http://stahlforce.com/dev/index.php?tool=sfk
sfk tail [head] [-lines=n] [-f[ollow] filename [filter options]
print and follow last lines of a file. "sfk tail" for more.

Thanks for considering and support.

j_c_hallgren
XY Blog Master
Posts: 5824
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Tail option for Raw View

Post by j_c_hallgren »

admin wrote:The autorefresh is working already. All that's needed is the [ ] Tail option. Is [ ] Tail the usual name for this kind of thing?
I also would find this option useful, as I have some log type files that I want to see "the end" of when I view them...

However, even though Tail is a name that is common, I think that a "jump to end of file" tooltip might be needed/useful for those users who aren't *nix acquainted.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Tail option for Raw View

Post by Stefan »

j_c_hallgren wrote: I think that a "jump to end of file" tooltip
Yes,

but that description is only an half of the truth.
maybe smtg like this fits better
[ ] Tail "Monitor end of file" or
[ ] Tail "Keep focus to end of file" or
[ ] Tail "Always auto scroll to end of file" ,
[ ] Tail "Keep end of file in focus"
[ ] EOF "auto scroll to end of file"

or?

j_c_hallgren
XY Blog Master
Posts: 5824
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Tail option for Raw View

Post by j_c_hallgren »

Stefan wrote:
j_c_hallgren wrote: I think that a "jump to end of file" tooltip
but that description is only an half of the truth.
maybe smtg like this fits better:

or?
Now that I've seen how it's implemented, I'd suggest having it be "Tail (Show end of file)" or "Tail (Show file end)" which should fit in context menu and be enough to describe it for all.

Another issue: Changing the font is done immediately as is Select/Unselect and Show Options, but Tail isn't...why not? :?
Toggling it should jump to EOF and if turned off, go back to TOF.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Tail option for Raw View

Post by admin »

j_c_hallgren wrote:
Stefan wrote:
j_c_hallgren wrote: I think that a "jump to end of file" tooltip
but that description is only an half of the truth.
maybe smtg like this fits better:

or?
Now that I've seen how it's implemented, I'd suggest having it be "Tail (Show end of file)" or "Tail (Show file end)" which should fit in context menu and be enough to describe it for all.

Another issue: Changing the font is done immediately as is Select/Unselect and Show Options, but Tail isn't...why not? :?
Toggling it should jump to EOF and if turned off, go back to TOF.
I had thought about both points and decided the way I did.
1. Tail is a strong caption: once you know what it is it's perfect because it's short, distinctive, and memorable. The caption is not the place for explanations.
2. Yeah, maybe one could do that, but it would be an additional function to the toggle (which just controls what happens on opening a file). I generally prefer to keep the functionality clear. OTOH I have mixed behavior-toggle and action command in case of Auto-Refresh because here it's very likely what the user wants -- I might do this with Tail as well on the same grounds, let's see...)

j_c_hallgren
XY Blog Master
Posts: 5824
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Tail option for Raw View

Post by j_c_hallgren »

admin wrote:2. Yeah, maybe one could do that, but it would be an additional function to the toggle (which just controls what happens on opening a file). I generally prefer to keep the functionality clear. OTOH I have mixed behavior-toggle and action command in case of Auto-Refresh because here it's very likely what the user wants -- I might do this with Tail as well on the same grounds, let's see...)
I really hope you do...cause just using a touchpad/mouse, if you've just opened a file via Raw View and want to go to the bottom, you have to hold left button & drag the scroller down which is a lot more finger action than just clicking the orange and ticking Tail...and if you want to go back to top, same process...

While I agree that it's intended as a 'action on open', it could very easily also function as a 'go to top/bottom' control.

And even though the other items in menu I mentioned are display related and not that similar, to me controlling position of file display is a like function.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Tail option for Raw View

Post by admin »

j_c_hallgren wrote:
admin wrote:2. Yeah, maybe one could do that, but it would be an additional function to the toggle (which just controls what happens on opening a file). I generally prefer to keep the functionality clear. OTOH I have mixed behavior-toggle and action command in case of Auto-Refresh because here it's very likely what the user wants -- I might do this with Tail as well on the same grounds, let's see...)
I really hope you do...cause just using a touchpad/mouse, if you've just opened a file via Raw View and want to go to the bottom, you have to hold left button & drag the scroller down which is a lot more finger action than just clicking the orange and ticking Tail...and if you want to go back to top, same process...
Press END and HOME... :)

j_c_hallgren
XY Blog Master
Posts: 5824
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Tail option for Raw View

Post by j_c_hallgren »

admin wrote:Press END and HOME... :)
And you know why it's not quite as simple as that, right? :wink:

The focus is still on the file in list so if you use these keys without changing focus which is more finger action, you now go to first/last file in list! :P Not what you wanted to do...plus these keys are quite far away from touchpad where my right index finger likes to stay as much as possible.

Whereas I can using just the TP quickly go to orange thing, tap it, tap Tail, and action is done...nice and easy!
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Tail option for Raw View

Post by admin »

j_c_hallgren wrote:
admin wrote:Press END and HOME... :)
And you know why it's not quite as simple as that, right? :wink:

The focus is still on the file in list so if you use these keys without changing focus which is more finger action, you now go to first/last file in list! :P Not what you wanted to do...plus these keys are quite far away from touchpad where my right index finger likes to stay as much as possible.

Whereas I can using just the TP quickly go to orange thing, tap it, tap Tail, and action is done...nice and easy!
You can also right-click the scroll bar: it has a context menu! (I hope in w2k as well)

j_c_hallgren
XY Blog Master
Posts: 5824
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Tail option for Raw View

Post by j_c_hallgren »

admin wrote:You can also right-click the scroll bar: it has a context menu! (I hope in w2k as well)
It does in Win Expl but not in XY which does nothing at all :cry:

Just for fun, I tried it in x2 --- it brings up normal context menu. :|
And...FreeCommander -- yes, I get the scroll menu here! :)
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Tail option for Raw View

Post by admin »

j_c_hallgren wrote:
admin wrote:You can also right-click the scroll bar: it has a context menu! (I hope in w2k as well)
It does in Win Expl but not in XY which does nothing at all :cry:

Just for fun, I tried it in x2 --- it brings up normal context menu. :|
And...FreeCommander -- yes, I get the scroll menu here! :)
This is clearly a w2k problem then since it works here.

j_c_hallgren
XY Blog Master
Posts: 5824
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Tail option for Raw View

Post by j_c_hallgren »

admin wrote:
j_c_hallgren wrote:
admin wrote:You can also right-click the scroll bar: it has a context menu! (I hope in w2k as well)
It does in Win Expl but not in XY which does nothing at all :cry:
Just for fun, I tried it in x2 --- it brings up normal context menu. :|
And...FreeCommander -- yes, I get the scroll menu here! :)
This is clearly a w2k problem then since it works here.
It may be but given that three other products manage to get a context menu to show, and two of them gets the scroll, including a freeware, it would seem to be related to the application also.

BTW, I also get the scroll context menu in Notepad and AceHTML editor...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

Post Reply