Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2017 10:33:27 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        =?utf-8?Q?Marko_Cupa=C4=87?= <marko.cupac@mimar.rs>
Cc:        freebsd-stable <freebsd-stable@FreeBSD.org>
Subject:   Re: strange cat behaviour
Message-ID:  <F19C8871-D36D-413B-8CFC-DC3552603448@cs.huji.ac.il>
In-Reply-To: <20170120092036.0ad890e7@efreet.kappastar.com>
References:  <20170120092036.0ad890e7@efreet.kappastar.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 20 Jan 2017, at 10:20, Marko Cupa=C4=87 <marko.cupac@mimar.rs> =
wrote:
>=20
> Hi,
>=20
> I noticed strange behaviour when listing log file which contains
> non-ascii characters with cat. It appears to hang at certain non-ascii
> character. Issuing ctrl+c un-hangs it and displays the rest of the =
log.
>=20
> Here's where it hangs (I redacted non-relevant private information):
>=20
> [94098] [Tue Jan 17 07:25:27 2017] [info]:
> RT::User::CanonicalizeUserInfoFromExternalAuth returning EmailAddress:
> aleksandra.surname@example.org, Name: aleksandra.surname,
> Organization: Example, RealName: Aleksandra =C3=84
>=20
> less doesn't seem to have this problem, here's how above line looks
> there:
>=20
> [94098] [Tue Jan 17 07:25:27 2017] [info]:
> RT::User::CanonicalizeUserInfoFromExternalAuth returning EmailAddress:
> aleksandra.surname@example.org, Name: aleksandra. surname,
> Organization: Example, RealName: Aleksandra
> =C3=84<U+0090>or=C3=84<U+0091>evi=C3=84<U+0087>, WorkPhone: +381 66 =
666 666
> (/usr/local/lib/perl5/site_perl/RT/User.p m:811)
>=20
> Any advice appreciated.

some control characters will confuse the terminal emulator, so try cat =
-v.

danny

> --=20
> Before enlightenment - chop wood, draw water.
> After  enlightenment - chop wood, draw water.
>=20
> Marko Cupa=C4=87
> https://www.mimar.rs/
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to =
"freebsd-stable-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F19C8871-D36D-413B-8CFC-DC3552603448>