All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Angielski <jeff@theptrgroup.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Command line parsing question
Date: 11 Mar 2004 18:41:08 -0500	[thread overview]
Message-ID: <1079048468.9835.35.camel@localhost.localdomain> (raw)

u-boot-1.0.0/MPC8260 custom board

When I type in commands at the command prompt and hit enter, some of the
commands are getting run twice.

For instance, version gets run twice while an md runs only once.

=> version
version
 
U-Boot 1.0.0 (Mar 11 2004 - 12:24:15)
=>
 
U-Boot 1.0.0 (Mar 11 2004 - 12:24:15)
=> md 0x0 1
md 0x0 1
00000000: ff000000    ....
=>

One thing to note about my setup is that I am accessing the serial
console using telnet over a remote serial devices server.  So the whole
telnet end-of-line issue and the processing of CR,LF, and NUL come into
play.

Snooping the network and watching the character counts on the seriver
server's serial port, I can see that each time I hit <Enter> there are
two characters going over the serial line (CR-LF or CR-NUL) to the
target.

My questions are:

1) Has anybody else encountered this problem?  I already googled for an
answer but came up with nothing.

2) Does anybody have any idea why some commands are working and others
are not?  I would expect that either all would be repeated or none of
them would be repeated.


Thanks,
Jeff

             reply	other threads:[~2004-03-11 23:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-11 23:41 Jeff Angielski [this message]
2004-03-12  0:51 ` [U-Boot-Users] Command line parsing question Wolfgang Denk
2004-03-12  2:47   ` Cam
  -- strict thread matches above, loose matches on Subject: below --
2004-03-12  0:30 Rune Torgersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1079048468.9835.35.camel@localhost.localdomain \
    --to=jeff@theptrgroup.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.