From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 873888DAF for ; Wed, 20 Jan 2016 16:59:29 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP; 20 Jan 2016 07:59:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,321,1449561600"; d="scan'208";a="885594593" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga001.fm.intel.com with ESMTP; 20 Jan 2016 07:59:07 -0800 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 20 Jan 2016 07:59:07 -0800 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.221]) by FMSMSX102.amr.corp.intel.com ([169.254.10.29]) with mapi id 14.03.0248.002; Wed, 20 Jan 2016 07:59:06 -0800 From: "Wiles, Keith" To: Matthew Hall , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging Thread-Index: AQHRU5t9DyvOtVmUXEiRoXzqZBezqA== Date: Wed, 20 Jan 2016 15:59:06 +0000 Message-ID: <3BB50D51-8D99-4CAD-A15F-708F9DDE6EFD@intel.com> References: <569F2A07.9000606@mhcomputing.net> In-Reply-To: <569F2A07.9000606@mhcomputing.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.0.245] Content-Type: text/plain; charset="utf-8" Content-ID: <3E302BDB41D76B429EF81C160809B45F@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-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