Re: Showing /dev/tty12 (or similar) syslog output in screen window

2006-06-20 Thread Nikolai Weibull
On 6/20/06, Michael Schroeder <[EMAIL PROTECTED]> wrote: On Tue, Jun 20, 2006 at 05:21:35PM +0200, Nikolai Weibull wrote: > >> Anyway, let's assume then that I don't write my messages to > >> /var/log/messages and only write them to /dev/tty12 (or a similar > >> device). Now, how do I display th

Re: Showing /dev/tty12 (or similar) syslog output in screen window

2006-06-20 Thread Michael Schroeder
On Tue, Jun 20, 2006 at 05:21:35PM +0200, Nikolai Weibull wrote: > >> Anyway, let's assume then that I don't write my messages to > >> /var/log/messages and only write them to /dev/tty12 (or a similar > >> device). Now, how do I display the output sent to terminal /dev/tty12 > >> (or similar) in a

Re: Showing /dev/tty12 (or similar) syslog output in screen window

2006-06-20 Thread Joe Zbiciak
Nikolai Weibull <[EMAIL PROTECTED]> wrote:> I don't want to go through sudo just to read system messages.  (Of> course, how much sensitive data can one really find in> /var/log/messages, so perhaps I can just set it to 0640?) Passwords?Seriously, if someone mistakenly types their password at the lo

Re: Showing /dev/tty12 (or similar) syslog output in screen window

2006-06-20 Thread Nikolai Weibull
On 6/20/06, Folkert van Heusden <[EMAIL PROTECTED]> wrote: > >... which is handy in screen while screen doesn't > >let you scrollback > After I did a ':scrollback 0', or what? afaik there's no scrolling at all in screen (unless you start the copy+paste buffer) That /is/ the scrollback in

Re: Showing /dev/tty12 (or similar) syslog output in screen window

2006-06-20 Thread Nikolai Weibull
On 6/20/06, Eric D. Hendrickson <[EMAIL PROTECTED]> wrote: > Anyway, let's assume then that I don't write my messages to > /var/log/messages and only write them to /dev/tty12 (or a similar > device). Now, how do I display the output sent to terminal /dev/tty12 > (or similar) in a window in scre

Re: Showing /dev/tty12 (or similar) syslog output in screen window

2006-06-20 Thread Folkert van Heusden
> >... which is handy in screen while screen doesn't > >let you scrollback > After I did a ':scrollback 0', or what? afaik there's no scrolling at all in screen (unless you start the copy+paste buffer) > Anyway, let's assume then that I don't write my messages to > /var/log/messages and only writ

Re: Showing /dev/tty12 (or similar) syslog output in screen window

2006-06-20 Thread Eric D. Hendrickson
"Nikolai Weibull" <[EMAIL PROTECTED]> writes: > On 6/20/06, Folkert van Heusden <[EMAIL PROTECTED]> wrote: >> ... which is handy in screen while screen doesn't >> let you scrollback > > After I did a ':scrollback 0', or what? > >> > the problem is that /var/log/messages is 0600 and owned by root:r

Re: Showing /dev/tty12 (or similar) syslog output in screen window

2006-06-20 Thread Nikolai Weibull
On 6/20/06, Folkert van Heusden <[EMAIL PROTECTED]> wrote: ... which is handy in screen while screen doesn't let you scrollback After I did a ':scrollback 0', or what? > the problem is that /var/log/messages is 0600 and owned by root:root > (and I don't want to change that). sudo is your f

automating screen startup

2006-06-20 Thread Peter
I am running Fluxbox on FreeBSD and currently in my .xinitrc file I launch aterm with the login command attached: aterm -e login peter & I would like, in addition, to launch screen in this same aterm. Is it possible? Peter __ Do You Yahoo!? Tire

Re: Showing /dev/tty12 (or similar) syslog output in screen window

2006-06-20 Thread Folkert van Heusden
> >what about just running multitail in a screen session with your > >logfiles? > >e.g.: > >multitail /var/log/messages /var/log/syslog /var/log/mail/mail.log > Already got this suggestion twice (and why not just use tail?), but Why not use tail? Because multitail gives you coloring, filtering, ca

Re: Showing /dev/tty12 (or similar) syslog output in screen window

2006-06-20 Thread Nikolai Weibull
On 6/20/06, Folkert van Heusden <[EMAIL PROTECTED]> wrote: what about just running multitail in a screen session with your logfiles? e.g.: multitail /var/log/messages /var/log/syslog /var/log/mail/mail.log Already got this suggestion twice (and why not just use tail?), but the problem is that /

Re: Showing /dev/tty12 (or similar) syslog output in screen window

2006-06-20 Thread Folkert van Heusden
what about just running multitail in a screen session with your logfiles? e.g.: multitail /var/log/messages /var/log/syslog /var/log/mail/mail.log On Tue, Jun 20, 2006 at 02:42:33PM +0200, Nikolai Weibull wrote: > Hi! > > I would like to set up my system logger (syslog-ng) and screen so that > I

Re: script to run screen with multiple telnet windows?

2006-06-20 Thread Michael Schroeder
On Tue, Jun 20, 2006 at 10:42:32AM -0300, Germn Gutirrez wrote: > Thanks for the info, is that a known bug or does it have to be reported? It's obviously known ;-) Cheers, Michael. -- Michael Schroeder [EMAIL PROTECTED] main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}

Re: script to run screen with multiple telnet windows?

2006-06-20 Thread Germán Gutiérrez
Thanks for the info, is that a known bug or does it have to be reported?On 6/20/06, Michael Schroeder < [EMAIL PROTECTED]> wrote:On Tue, Jun 20, 2006 at 10:02:34AM -0300, Germn Gutirrez wrote: > On 6/20/06, Germán Gutiérrez <[EMAIL PROTECTED]> wrote:> >> >For the moment, my main problem is doing th

Re: script to run screen with multiple telnet windows?

2006-06-20 Thread Michael Schroeder
On Tue, Jun 20, 2006 at 10:02:34AM -0300, Germn Gutirrez wrote: > On 6/20/06, Germ?n Guti?rrez <[EMAIL PROTECTED]> wrote: > > > >For the moment, my main problem is doing this in a detached session. > > > > > > Answering myself, debugging screen I found > > Msg('-X: at: display required') (0); >

Re: script to run screen with multiple telnet windows?

2006-06-20 Thread Germán Gutiérrez
On 6/20/06, Germán Gutiérrez <[EMAIL PROTECTED]> wrote: For the moment, my main problem is doing this in a detached session. Answering myself, debugging screen I foundMsg('-X: at: display required') (0);So, the display is required in the code. May be this can be set in the screenrc file, any clues?

Showing /dev/tty12 (or similar) syslog output in screen window

2006-06-20 Thread Nikolai Weibull
Hi! I would like to set up my system logger (syslog-ng) and screen so that I could read what syslog-ng outputs in a screen window. Currently, syslog-ng logs to /dev/tty12, but I have no idea of how to hook into that from screen. Anyone have any suggestions on how to get syslog-ng output into a

Re: script to run screen with multiple telnet windows?

2006-06-20 Thread Germán Gutiérrez
HiI did this test:screen -dmS test -t onein another xterm / console, attach it withscreen -rd testyou can add screen sessions to it doing:screen -S test -X screen -t twoand send commands with: screen -S test -X at one stuff "ls `echo -ne '\015'`"For the moment, my main problem is doing this in a de