News for hackers. Stuff that matters.
Re:Stop using tail -f (mostly) by blueblob on Monday March 30, 2015 @02:51PM (#9291678)
I think your idea of `vi -R` or `vim -R` is a good idea. `less` uses less memory and may load faster but looking at logs for things like valgrind vim will give you syntax highlighting that I am not sure you can get with `less`.
Re:Stop using tail -f (mostly) by dcohenp on Monday March 30, 2015 @03:45PM (#9292069)
BTW, starting vim as "view" (through e.g. a symlink) is equivalent to "vim -R", precisely for this use case [0].

[0] http://vimdoc.sourceforge.net/htmldoc/starting.html#view

Re:Stop using tail -f (mostly) by blueblob on Monday March 30, 2015 @09:14PM (#9293784)
I have used `view` but it didn't give me syntax highlighting. On my system (archlinux) view is actually a symlink to ex (which must change its behavior based on its name?).

    readlink /usr/bin/view
    ex