X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=y4Ktkd4mpg6+RO/CwynIoPwAxWPKlYnOxEXe58Kwy8zhfAwbBde5k gj+gd8LmIS+PciYOUsISJeYcDO+SWgbO+9S2HjUr/t0RHk8MJCPoVBdmUZeP4e72 MwVXjq2JZ2gmFz0zrRPuIXmAigtddDaJaBaJJy9SDeKhx3TkBNWKOA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=pB1PLCkFMymGZMBb+KMPbqHM3mg=; b=aOB7T5BLmLAUkWi5oYwFmAD47l7G qZScOlxgLvCTkHwKLi9jcfFjb2G/xODebRd6Rp40PtfdvRFbqZ3WDKu2csn+umOX cGy6EaEWrQ34HyGk02mEZocR2yVg+AASyRR9N8BIfqxNnpScOxlPHSq8e+v11vzo DMwZBL7p5aT3fO0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=cooked, Stromeko, stromeko, icrnl X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: stty icrnl Date: Mon, 6 Jun 2016 15:08:57 +0000 (UTC) Lines: 30 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Achim Gratz NexGo.DE> writes: > Is there some other terminal emulator/program that would let me use this > board anyway via Cygwin until Cygwin learns cooked mode for terminals? The following script does almost what I want, save for some ickyness with the echo of the input that I might attempt to deal with later: -----------8<----------- #!/bin/dash cleanup () { kill $cpid exec 6>&- } tty=$1; shift baud=$1; shift /bin/stty -F $tty $baud exec 6<> $tty 0<&6 /bin/stdbuf -i0 -o0 -e0 tr "\r" "\n" & cpid=$? trap cleanup HUP KILL INT 1>&6 /bin/stdbuf -i0 -o0 -e0 tr "\n" "\r" cleanup -----------8<----------- Anyway, I can communicate with the board and don't need to leave tmux anymore when doing so. :-) Regards, Achim. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple