Re: msyslog crazy screen output

2001-09-13 Thread Josh McKinney
Thanks, that worked wonderfully.

On approximately Wed, Sep 12, 2001 at 03:09:50PM -0600, Adam McDaniel wrote:
 On Wed, Sep 12, 2001 at 02:48:58PM -0500, Josh McKinney wrote:
  Sep 12 14:46:10 cy599856-a fetchmail[3374]: reading message 1 of 2
  (2721 octets)
  
 Sep 12 14:46:10 cy599856-a fetchmail[3374]:
  flushed
  Sep 12 14:46:10 cy599856-a fetchmail[3374]: reading message 2
  of 2 (2784 octets)
  
   Sep 12 14:46:10 cy599856-a fetchmail[3374]:  flushed
 
 I had this same problem except I was running the command
 
 # tail -vf /var/log/messages  /dev/ttyp2
 
 which worked for the most part, except the line feeds/carrage returns
 got screwed. To fix that problem I removed the getty program from ttyp2
 and just let it sit idle by itself.
 
 I would just say to edit /etc/inittab and stop the getty prog where its on
 that tty port. If there is none, try this out. Stop a getty on say, tty4, 
 reboot (to make sure the term is clear of any emulation) and pipe your
 output to p4... 
 
 guess and test :)
 
 -- 
 Adam McDaniel
 Infrastructure Technology Consultant
 M-Tech Mercury Information Technology, Inc.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 

-- 
Linux, the choice  | Bing's Rule:  Don't try to stem the tide --
of a GNU generation   -o)  | move the beach. 
Kernel 2.4.9-ac1   /\  | 
on a i586 _\_v | 
   | 



msyslog crazy screen output

2001-09-12 Thread Josh McKinney
I recently upgraded to msyslog.  It seems to all work the same for the
most part, but I have one problem.  I have logs sent to tty12 so I can
check out whats going on if I want to.  This should be fine but it
looks like it is being auto-indented or something.  Is this normal?
Here is an example:

Sep 12 14:46:10 cy599856-a fetchmail[3374]: reading message 1 of 2
(2721 octets)

   Sep 12 14:46:10 cy599856-a fetchmail[3374]:
flushed
Sep 12 14:46:10 cy599856-a fetchmail[3374]: reading message 2
of 2 (2784 octets)

 Sep 12 14:46:10 cy599856-a fetchmail[3374]:  flushed

As you can see this looks pretty bad, and not easy to follow.  I
really don't want to downgrade to syslog just because of this.

Thanks
Josh



-- 
Linux, the choice  | Disclaimer: These opinions are my own,
of a GNU generation   -o)  | though for a small fee they be yours too. 
Kernel 2.4.9-ac1   /\  | -- Dave Haynie 
on a i586 _\_v | 
   | 



Re: msyslog crazy screen output

2001-09-12 Thread Adam McDaniel
On Wed, Sep 12, 2001 at 02:48:58PM -0500, Josh McKinney wrote:
 Sep 12 14:46:10 cy599856-a fetchmail[3374]: reading message 1 of 2
 (2721 octets)
   
  Sep 12 14:46:10 cy599856-a fetchmail[3374]:
 flushed
 Sep 12 14:46:10 cy599856-a fetchmail[3374]: reading message 2
   of 2 (2784 octets)
   
Sep 12 14:46:10 cy599856-a fetchmail[3374]:  flushed

I had this same problem except I was running the command

# tail -vf /var/log/messages  /dev/ttyp2

which worked for the most part, except the line feeds/carrage returns
got screwed. To fix that problem I removed the getty program from ttyp2
and just let it sit idle by itself.

I would just say to edit /etc/inittab and stop the getty prog where its on
that tty port. If there is none, try this out. Stop a getty on say, tty4, 
reboot (to make sure the term is clear of any emulation) and pipe your
output to p4... 

guess and test :)

-- 
Adam McDaniel
Infrastructure Technology Consultant
M-Tech Mercury Information Technology, Inc.