[97469] in RedHat Linux List

home help back first fref pref prev next nref lref last post

RE: strange characters killing terminal

daemon@ATHENA.MIT.EDU (Heltzel, Dennis)
Tue Nov 3 10:19:38 1998

From: "Heltzel, Dennis" <DHeltzel@IKON.com>
To: "'redhat-list@redhat.com'" <redhat-list@redhat.com>
Date: Tue, 3 Nov 1998 10:16:09 -0500 
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

This is an interesting problem. Are you running a getty type program on the
serial port on the Linux box, or do you have a program like 'minicom'
running and doing screen logging ?
I did something similar several years back, but I used stty to set the line
paramaters, and then 'cat /dev/ttyS0 > filename' to do the actual capture,
so no character interpretation was done.

> -----Original Message-----
> From:	Michael Jinks [SMTP:michael@twopoint.com]
> Sent:	Tuesday, November 03, 1998 9:58 AM
> To:	redhat-list@redhat.com
> Subject:	strange characters killing terminal
> 
> This is a pretty important problem for me and I'd appreciate any help I
> can get.
> 
> I'm using a Redhat 5.1 box to capture report printouts from a legacy
> system over its serial port.  So far everything has gone fine, but the
> report we're printing now seems to have lots of characters in it that my
> terminal sessions don't like.  If I try to "tail" or "head" the file, I
> get a dash and one of those solid rectangle characters, and my login
> hangs and must be killed; can't even send a break.
> 
> I can view the file in less, but it looks pretty crazy.  Regular, just
> crazy.  I'm not sure how well this will come across via e-mail, but the
> excerpt below _should_ be mostly in English, and it obviously isn't:
> 
> 
> HESC-^@ESCr^@ESCP
>                                                                       
> ^RESCFESC
> HESC-^@ESCr^@ESCP
> ^RESCFESCHESC-^@ESCr^@ESC2ESCP
> 614785     DON P D.O.                     02/20/1997 0   0       15   
> 0.00   ^
> 
> 
> All of the "ESC" sequences and several of the ^ and @ symbols are
> highlighted, in case it matters.
> 
> Other than refusing to display, everything seems to be going okay; the
> file is steadily growing on the disk, it's just ugly.  None of our other
> reports have done this (same machines, same data set, but a different
> type of report).
> 
> Is this likely to be a terminal emulation issue?  The legacy end of the
> chain thinks that it's printing to a dot matrix printer, again in case
> it matters.
> 
> -- 
> Michael Jinks
> mailto:michael@twopoint.com http://www.twopoint.com
> Systems Administrator, Two Point Conversions, Inc.
> 
> "Never interfere in a boy and girl fight." -- W. S. Burroughs
> 
> 
> -- 
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> 		http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request@redhat.com with 
>                        "unsubscribe" as the Subject.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post