Page 1 of 1

Internal Viewer: Tail mechanism

Posted: 05 Feb 2006, 12:48
by narkan
Hello together,

I just wanted to know if there is a function like the linux tail in the salamander. Means if I look at a log-file which changes all the time, that the salamander jumps automatically at the end of the file. Ok, it is possible, but only if I press Ctrl+R or End in the viewer.

And is there a function for maybe highlighting the row, in which a word occurs (e.g. ERROR -> the whole line should get red)? This would be really great.


Regards

Posted: 05 Feb 2006, 14:01
by omega
Auto refresh is not build in the internal viewer if i'm correct. I don't know any viewers containing auto refresh function.

The ALTAP team is planning to rewrite the internal viewer, so more functionalities will be implemented. Right now there's no highlighting.

Re: Internal Viewer: Tail mechanism

Posted: 08 Feb 2006, 17:00
by grymmjack
narkan wrote:Hello together,

I just wanted to know if there is a function like the linux tail in the salamander. Means if I look at a log-file which changes all the time, that the salamander jumps automatically at the end of the file. Ok, it is possible, but only if I press Ctrl+R or End in the viewer.

And is there a function for maybe highlighting the row, in which a word occurs (e.g. ERROR -> the whole line should get red)? This would be really great.


Regards
There is a win32 version of tail command. There are other GUI tail's but they aren't as nice IMO. Search on google for win32 tail. If you find something good, let me know (I tail several logs during my developments).

HTH and Thanks

Posted: 08 Feb 2006, 18:41
by Stefan
May i suggest an tool like ListXP

Stand alone exe.

Tailing. When a file has new data appended to it you can have
ListXP automatically refresh the display to include the new data. Since
ListXP only parses the new end of the file (instead of the entire file),
tail updates are very quick.
http://www.listxp.com/listxp_features.html


Just add an new viewer entry for your needed extensions
and assign ListXP to it.


--
I am not sure if View64 can tailing too.

--
More viewer suggestions are welcome :D

HTH

Re: Internal Viewer: Tail mechanism

Posted: 08 Feb 2006, 18:59
by jis
narkan wrote:I just wanted to know if there is a function like the linux tail in the salamander. Means if I look at a log-file which changes all the time, that the salamander jumps automatically at the end of the file. Ok, it is possible, but only if I press Ctrl+R or End in the viewer.
And is there a function for maybe highlighting the row, in which a word occurs (e.g. ERROR -> the whole line should get red)? This would be really great.
Try this free text editor: Notepad2.
It is small (540KB), fast and has even syntax highlighting for HTML and other common languages.
It is ideal replacement for Notepad.

This command jumps at the end of the file:
Notepad2.exe /g -1 "$(Name)"

You can customize built in schemes for highlighting whatever you need.