From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1anM8C-0001Vl-Mk for barebox@lists.infradead.org; Tue, 05 Apr 2016 08:14:37 +0000 Date: Tue, 5 Apr 2016 10:14:13 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Message-ID: <20160405081413.GB10108@pengutronix.de> References: <20160404200730.GA1618@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Scrolling issues in edit command To: Guillermo Rodriguez Garcia Cc: barebox@lists.infradead.org On Tue, Apr 05, 2016 at 09:52:39AM +0200, Guillermo Rodriguez Garcia wrote: > 2016-04-04 22:07 GMT+02:00 Uwe Kleine-K=F6nig : > > Hello, > > > > On Wed, Mar 30, 2016 at 05:38:53PM +0200, Guillermo Rodriguez Garcia wr= ote: > >> I am trying to setup Barebox on a SAMA5D3-Xplained board. I started > >> with barebox-2016.03.0. So far things are looking good. > >> > >> I have found that I have problems in the 'edit' command, when trying > >> to scroll using the arrow keys. Scrolling up inserts random "A" > >> characters in the text, scrolling down inserts random "B" characters. > >> I am using minicom as the terminal. I don't remember seeing this > >> before with older versions of barebox on different boards. > > > > Can you instrument your serial driver to count/notice overflow events? > = > You mean in barebox, or in the host where I'm running minicom/microcom? in barebox. Also, what is your rs232 hardware? Some usb-to-rs232 adapters are not reliable. The native 8250 ports on PCs are good ones I think. > > It's strange that you're missing chars 3-12 in a longer paste. > > > > Does it help to use > > > > busybox microcom -d 10 ... > > > > ? (That is a feature that is missing from the "fullblown" microcom that > > comes in the microcom package.) > = > Interesting. I tried that, the result is: > = > - Still the same problem when scrolling up and down in "edit" (A and B > characters inserted) > - Many more missing chars when pasting "Lorem ipsum.." (_in "edit"_). > Here are three examples: > = > Loe Ismismyuye iinatestis. > Loe Ismismyuye eiinatest uy. > Loe Ismismyuye iinatest uy. > = > - The very same text can be pasted perfectly in barebox's command > line, no missing chars. The problem is only with the "edit" command. > What makes "edit" different ? That's strange. No idea here. Best regards Uwe -- = Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | http://www.pengutronix.de/ | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox