strange cat behaviour

Daniel Braniss danny at cs.huji.ac.il
Fri Jan 20 08:33:31 UTC 2017


> On 20 Jan 2017, at 10:20, Marko Cupać <marko.cupac at 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 at 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 at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"



More information about the freebsd-stable mailing list