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>
index | next in thread | previous in thread | raw e-mail
> On 20 Jan 2017, at 10:20, Marko Cupać <marko.cupac@mimar.rs> wrote: > > Hi, > > 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. > > Here's where it hangs (I redacted non-relevant private information): > > [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 Ä > > less doesn't seem to have this problem, here's how above line looks > there: > > [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 > Ä<U+0090>orÄ<U+0091>eviÄ<U+0087>, WorkPhone: +381 66 666 666 > (/usr/local/lib/perl5/site_perl/RT/User.p m:811) > > Any advice appreciated. some control characters will confuse the terminal emulator, so try cat -v. danny > -- > Before enlightenment - chop wood, draw water. > After enlightenment - chop wood, draw water. > > Marko Cupać > 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"help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F19C8871-D36D-413B-8CFC-DC3552603448>
