From owner-freebsd-stable@freebsd.org Fri Jan 20 08:33:31 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7249DCB9EB0 for ; Fri, 20 Jan 2017 08:33:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3114D114B for ; Fri, 20 Jan 2017 08:33:30 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from sgi-2.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1cUUdT-000APR-SO; Fri, 20 Jan 2017 10:33:27 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: strange cat behaviour From: Daniel Braniss In-Reply-To: <20170120092036.0ad890e7@efreet.kappastar.com> Date: Fri, 20 Jan 2017 10:33:27 +0200 Cc: freebsd-stable Content-Transfer-Encoding: quoted-printable Message-Id: References: <20170120092036.0ad890e7@efreet.kappastar.com> To: =?utf-8?Q?Marko_Cupa=C4=87?= X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2017 08:33:31 -0000 > On 20 Jan 2017, at 10:20, Marko Cupa=C4=87 = 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=84or=C3=84evi=C3=84, 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"