From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from co9outboundpool.messaging.microsoft.com (co9ehsobe005.messaging.microsoft.com [207.46.163.28]) by mail.openembedded.org (Postfix) with ESMTP id 5D2A8696A4 for ; Tue, 21 May 2013 11:20:52 +0000 (UTC) Received: from mail180-co9-R.bigfish.com (10.236.132.232) by CO9EHSOBE036.bigfish.com (10.236.130.99) with Microsoft SMTP Server id 14.1.225.23; Tue, 21 May 2013 11:20:52 +0000 Received: from mail180-co9 (localhost [127.0.0.1]) by mail180-co9-R.bigfish.com (Postfix) with ESMTP id BE5B4C80835; Tue, 21 May 2013 11:20:52 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: -1 X-BigFish: VS-1(z3e12hz98dIc89bhc857hzz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hzz177df4h17326ah18c673h1c8fb4h8275bh8275dhz2dh2a8h5c0h668h839hd24hd2bhf0ah1288h12a5h12bdh137ah139eh1441h1504h1537h162dh1631h1751h1758h17f1h1898h18e1h1946h19b5h1ad9h1b0ah1bceh1d0ch1d2eh1d3fh1155h) Received: from mail180-co9 (localhost.localdomain [127.0.0.1]) by mail180-co9 (MessageSwitch) id 136913525143543_22869; Tue, 21 May 2013 11:20:51 +0000 (UTC) Received: from CO9EHSMHS007.bigfish.com (unknown [10.236.132.245]) by mail180-co9.bigfish.com (Postfix) with ESMTP id 00B76C0007A; Tue, 21 May 2013 11:20:51 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO9EHSMHS007.bigfish.com (10.236.130.17) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 21 May 2013 11:20:49 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-004.039d.mgd.msft.net (10.84.1.14) with Microsoft SMTP Server (TLS) id 14.2.328.11; Tue, 21 May 2013 11:21:27 +0000 Received: from b40527c60e6e6f (b40527-c60e6e6f.ap.freescale.net [10.192.208.151]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id r4LBKftS009405; Tue, 21 May 2013 04:20:43 -0700 From: Zongchun YU To: "'Burton, Ross'" , 'OE-core' References: <1369119875-4984-1-git-send-email-b40527@freescale.com> In-Reply-To: Date: Tue, 21 May 2013 19:20:43 +0800 Message-ID: <002d01ce5615$3eac1510$bc043f30$@com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac5WBfoI0pp2nb90TrmO5jmBt/iTTgABkI/g X-OriginatorOrg: freescale.com Subject: =?UTF-8?B?562U5aSNOiBbUEFUQ0hdIGJhc2UtZmlsZXM6Zml4IHRoZSBjb21tYW5kIGxpbmUgd3JhcCBhcm91bmQgaXNzdWU=?= X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 11:20:52 -0000 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002E_01CE5658.4CCF5510" Content-Language: zh-cn ------=_NextPart_000_002E_01CE5658.4CCF5510 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Ross. Thanks for your comments, I am sorry. the description is not clear. = please see the below content: Sometimes we may use long commands. For example: Normal display: user@host:~cmd arg1 arg2 arg3 arg4 = arg5=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6argn-1 argn | = | 1 = 80 Our board display: argn@host:~cmd arg1 arg2 arg3 arg4 = arg5=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6argn-1 | = | 1 = 80 =20 When the number of character is more than 80, the following character will cover the character before. I.e =E2=80=9Cargn=E2=80=9D cover = =E2=80=9Cuser=E2=80=9D. =20 We tried to add "if [ -f /usr/bin/resize ]; then /usr/bin/resize > = /dev/null; fi" to /etc/profile before. But when we boot up the board and login using our test tool, we met some = invalid characters. So we give up the choice and only add =E2=80=9CCOLUMNS=3D2000=E2=80=9D = to /etc/profile. =20 I know it is a bad workaround, Do you have a good method to overcome the = issue? =20 Best Regards Zongchun =E5=8F=91=E4=BB=B6=E4=BA=BA: Burton, Ross [mailto:ross.burton@intel.com] = =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2013=E5=B9=B45=E6=9C=8821=E6=97=A5 = 17:31 =E6=94=B6=E4=BB=B6=E4=BA=BA: b40527@freescale.com; OE-core =E4=B8=BB=E9=A2=98: Re: [OE-core] [PATCH] base-files:fix the command = line wrap around issue =20 On Tuesday, 21 May 2013, wrote: +export COLUMNS=3D2000 =20 But there are not 2000 columns, you're just hard-coding a value that is = expected to dynamically change. =20 i.e, on my desktop in a gnome-terminal: =20 $ echo $COLUMNS 80 =20 Then if I resize the window: =20 $ echo $COLUMNS 117 =20 This is a bad workaround, can you explain the actual problem? Are you = not seeing wrapping at a VT, in a terminal, or what? =20 Ross ------=_NextPart_000_002E_01CE5658.4CCF5510 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hello Ross.

Thanks for your comments, I am sorry. the description is = not clear. =C2=A0please see the below content:

Sometimes we may use long commands. For = example:

Normal display:

user@host:~cmd arg1 arg2 arg3 arg4 = arg5=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6argn-1 argn

|=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C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0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A080

 

When the number of character is more than 80, the = following character

will cover the character before. I.e = =E2=80=9Cargn=E2=80=9D cover = =E2=80=9Cuser=E2=80=9D.

 

We tried to add "if [ -f /usr/bin/resize ]; then /usr/bin/resize > /dev/null; fi" to /etc/profile = before.

But when we boot up the board and login using our test = tool, we met some invalid characters.

So we give up the choice and only add = =E2=80=9CCOLUMNS=3D2000=E2=80=9D to /etc/profile.

 

I know it is a bad workaround, Do you have a good method = to overcome the issue?

 

Best Regards

Zongchun

=E5=8F=91=E4=BB=B6=E4=BA=BA: Burton, Ross [mailto:ross.burton@intel.com]
=E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2013=E5=B9=B45=E6=9C=8821=E6=97=A5 17:31
=E6=94=B6=E4=BB=B6=E4=BA=BA: b40527@freescale.com; OE-core
=E4=B8=BB=E9=A2=98: Re: [OE-core] [PATCH] base-files:fix the command line wrap around = issue

 

On Tuesday, 21 May 2013, = wrote:

+export = COLUMNS=3D2000

 

But there are not 2000 columns, = you're just hard-coding a value that is expected to dynamically = change.

 

i.e, on my desktop in a = gnome-terminal:

 

$ echo = $COLUMNS

80

 

Then if I resize the = window:

 

$ echo = $COLUMNS

117

 

This is a bad workaround, can = you explain the actual problem?  Are you not seeing wrapping at a VT, in a = terminal, or what?

 

Ross

------=_NextPart_000_002E_01CE5658.4CCF5510--