linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Der Herr Hofrat <der.herr@mail.hofr.at>
To: markc@mail.com
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Control-C in bash ???
Date: Mon, 13 Jan 2003 20:20:18 +0100 (CET)	[thread overview]
Message-ID: <200301131920.h0DJKIb02471@hofr.at> (raw)
In-Reply-To: <200301131409.00113.markc@mail.com> from Mark Chambers at "Jan 13, 2003 02:09:00 pm"


>
> On a PC, I can, for instance, enter "ping 192.168.1.4", then hit Control-C
> and stop the ping.  For the life of me, I can't figure out how to do the
> same on my MPC860 system!!!
>
> I have an MPC860 running 2.4.19, with a mostly unmodified eldk distribution
> from Wolfgang Denx.  I did modify the init script to use /dev/console instead
> of /ttyx (standard driver using SMC1).  I'd not only like a solution, I want
> to undertand how cancelling a shell command is supposed to work  - I've poked
> around and I can't figure out what's supposed to happen - Does the shell
> generate a SIGINT, or the uart driver, or what?  Any enlightenment will be
> greatly appreciated...

I belive that the problem is that the control-C never arives on
the console as the serial-comunication package you are using does
not deliver it (atleast minicom does not) - You can use ping -c 1
(not sure if your ping also takes -c # for the count) to ensure that
it will terminate after one ping package. That was my workaround...

hofrat

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2003-01-13 19:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-13 19:09 Control-C in bash ??? Mark Chambers
2003-01-13 19:20 ` Der Herr Hofrat [this message]
2003-01-13 19:30 ` Wolfgang Denk
2003-01-14 13:44   ` Mark Chambers
2003-01-13 19:48 ` Chris Wedgwood
2003-01-14 13:31 ` Alex Zeffertt
2003-01-14 14:50   ` Wolfgang Denk
2003-01-14 14:51   ` Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
2003-01-13 19:16 Kerl, John
2003-01-13 19:39 ` Mark Chambers
2003-01-13 19:25 Kerl, John
2003-01-13 19:59 Kerl, John

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=200301131920.h0DJKIb02471@hofr.at \
    --to=der.herr@mail.hofr.at \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=markc@mail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).