[SLUG] horizontal scrollbar terminal

2004-12-29 Thread James A Coffey
Hi

I have been using Linux for a number of years and the only gripe
I have is that I can not find a terminal emulator that has horizontal 
scroll bars or I can't find away to configure my environment so that 
lines scroll horizontally and I can scroll through them using arrow 
keys for example. Why would I want them I hear you ask ?
Simply because when you are tailing a log file ( eg syslog from cisco
routers or worse snmp traps) having a line wrap makes viewing the logs
very difficult.  All I am after is something like xnmevent viewer from
HP that doesn't wrap lines but alllows you to scroll horizontally
without stopping the real time logs.

I have tried the following
less -F (works but have to stop reading the logfile when scrolling horizontally)
set horizontal-scroll-mode on (only scrolls on command line not log output)
A large xterm that wraps across 2 virtual desktops (ugly)

This has to be a common requirement but I can not find an answer anywhere 

Thanks in advance
--
James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] horizontal scrollbar terminal

2004-12-29 Thread Angus Lees
At Thu, 30 Dec 2004 09:08:42 +1100, James A Coffey wrote:
> I have been using Linux for a number of years and the only gripe
> I have is that I can not find a terminal emulator that has horizontal 
> scroll bars or I can't find away to configure my environment so that 
> lines scroll horizontally and I can scroll through them using arrow 
> keys for example. Why would I want them I hear you ask ?
> Simply because when you are tailing a log file ( eg syslog from cisco
> routers or worse snmp traps) having a line wrap makes viewing the logs
> very difficult.  All I am after is something like xnmevent viewer from
> HP that doesn't wrap lines but alllows you to scroll horizontally
> without stopping the real time logs.

Try xconsole for a simple light-weight solution.  I'd use (x)emacs
with `truncate-lines' set to true, but thats a bit of a sledgehammer
if you aren't already using it for some other reason..

-- 
 - Gus

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] horizontal scrollbar terminal

2004-12-30 Thread James A Coffey
Thanks Gus,

On Thu, 30 Dec 2004 16:44:15 +1100, Angus Lees <[EMAIL PROTECTED]> wrote:
> At Thu, 30 Dec 2004 09:08:42 +1100, James A Coffey wrote:

> 
> Try xconsole for a simple light-weight solution.  I'd use (x)emacs

A little too lght-weight.  But the functionality is right.  Is it
possible to get this
in a terminal emulator ??.  It is a bit inconvenient to do all grep /perl 
filtering and then write the filtered logs to a file so I can read
them with xconsole.

> with `truncate-lines' set to true, but thats a bit of a sledgehammer
> if you aren't already using it for some other reason..

A bit of  a vi man myself.  would rather not have to learn emacs just
to read log files ;-)
> 
> --
>  - Gus
> 
> 
--
James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] horizontal scrollbar terminal

2004-12-30 Thread Grant Byers
On Fri, Dec 31, 2004 at 09:19:07AM +1100, James A Coffey wrote:
> 
> > with `truncate-lines' set to true, but thats a bit of a sledgehammer
> > if you aren't already using it for some other reason..
> 
> A bit of  a vi man myself.  would rather not have to learn emacs just
> to read log files ;-)

With vi, use 'set nowrap'. This won't solve your original problem, but
will allow you to peruse your logs with vi without line wraps. 

I know this works with vim and elvis. When someone mentions vi, they
usually mean vim or one of the vi clones.


Cheers,
Grant
-- 
Kaufman's First Law of Party Physics: 
Population density is inversely proportional to the square of the distance 
from the keg.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] horizontal scrollbar terminal

2004-12-30 Thread James A Coffey
On Fri, 31 Dec 2004 09:43:57 +1100, Grant Byers
<[EMAIL PROTECTED]> wrote:
 
> I know this works with vim and elvis. When someone mentions vi, they
> usually mean vim or one of the vi clones.

Yep I am using vim.

I think I have found an answer
http://splodge.fluff.org/~phil/terminator/
a java terminal emulator that has wait for it
"horizontal scrollbars"  Now if this guy can do it surely the
xterm/gnome/kde developers can figure out how to at least 
give you the option.  But from the postings on the konsole-dev newsgroup
it is just to hard. ;-)

> 
> Cheers,
> Grant

--
James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html