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=MC3C6CL/UFO47ik43HPQGdENDA4PV8ZZmD5XayMXH7W9AV2nb55zB 6HglQUfF9YMs2/ZnKhF/qksA2uqFInqb8ErKhdZJgUQYOf/l1OiLzGOU3oYRVhOA +jTja5pv4x+0W4Il0rzLmGYwFpEjXakGFnwR91zrBMYe/KY62jN7cA= 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=KzUNr8PprDBWlTs8LWz/8g7FDp4=; b=ZrH68LjacmuXlPZeC1spO4xcIkW9 VKwi1BEP7IGxqhLB0cF6NzzE/0CMUcAfOPqMUYSXk/HFk8ZfdIlEMFffqMsBMm4A BpLpOUQk/NufimNKfgAtX+2gC9qfdGWD3w1ygzlb1/y0V/uNSLnQkIZLHtjcP0D7 Zo5bskUWIOczWx0= 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=-4.7 required=5.0 tests=AWL,BAYES_00,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: /dev/tty does not work from shell Date: Thu, 12 Feb 2015 09:03:02 +0000 (UTC) Lines: 90 Message-ID: References: <20150211110512 DOT 50F9FAA0 DOT helmut DOT karlowski AT ish DOT de> <20150211103935 DOT GA26230 AT calimero DOT vinschen DOT de> <20150211115515 DOT 15646A00 DOT helmut DOT karlowski AT ish DOT de> 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 Helmut Karlowski ish.de> writes: > That was it. All fine now, next I'll write me a cygwin-snapshot-install :-\ Or package it and install via setup.exe. ---Makefile--- .PHONY: both all install clean force-clean clean-install clean-source snapshot source install-snapshot snapshot-debuginfo install-snapshot-debuginfo CV ?= 1.7.34 CR ?= 003 CVR = $(CV)-$(CR) SD ?= 20150108 ARCH ?= $(subst i686,x86,$(shell arch)) CYGMIR = /mnt/mirror/cygwin/$(ARCH)/release/cygwin CYGDEB = $(CYGMIR)/cygwin-debuginfo CYGDEV = $(CYGMIR)/cygwin-devel SNAPSHOT = $(PWD)/$(ARCH)/snapshot-$(SD) SNAPSRC = $(PWD)/source SNAPDEB = $(PWD)/$(ARCH)/snapshot-debuginfo-$(SD) SNAPDEV = $(PWD)/$(ARCH)/snapshot-devel-$(SD) SNAPURL = http://cygwin.com/snapshots/$(ARCH) PATCH = /mnt/mirror/patch/$(ARCH)/release/cygwin PATCHDEB = $(PATCH)/cygwin-debuginfo PATCHDEV = $(PATCH)/cygwin-devel both: $(MAKE) install ARCH=x86 $(MAKE) install ARCH=x86_64 all: snapshot snapshot-debuginfo snapshot-devel install: clean-install clean install-snapshot install-snapshot-debuginfo force-clean clean force-clean: rm -fr $(SNAPSHOT) $(SNAPDEB) *.bz2 *.xz *.dbg clean-install: clean rm -f $(PATCH)/cygwin-$(CVR)s$(SD).tar.* $(PATCHDEB)/cygwin-debuginfo-$(CVR)s$(SD).tar.* clean-source: rm -f $(SNAPSRC)/cygwin-snapshot-* cygwin-inst-$(SD).tar.xz cygwin-src-$(SD).tar.xz cygwin1-$(SD).dbg.xz: wget $(SNAPURL)/$@ source: cygwin-src-$(SD).tar.xz tar -C $(SNAPSRC) -xvf cygwin-src-$(SD).tar.xz snapshot: cygwin-inst-$(SD).tar.xz mkdir -p $(SNAPSHOT) $(PATCH) cp --preserve=ownership,timestamp $(CYGMIR)/setup.hint $(PATCH) sed -i .bak -e '/^(curr|test|prev):/ d' $(PATCH)/setup.hint tar -C $(SNAPSHOT) -xf $(CYGMIR)/cygwin-$(CVR).tar.xz tar -C $(SNAPSHOT) -xf cygwin-inst-$(SD).tar.xz install-snapshot: snapshot mkdir -p $(PATCH) tar -C $(SNAPSHOT) -Jcf $(PATCH)/cygwin-$(CVR)s$(SD).tar.xz etc/ usr/ snapshot-debuginfo: cygwin1-$(SD).dbg.xz mkdir -p $(SNAPDEB) $(PATCHDEB) cp --preserve=ownership,timestamp $(CYGDEB)/setup.hint $(PATCHDEB) sed -i .bak -e '/^(curr|test|prev):/ d' $(PATCHDEB)/setup.hint tar -C $(SNAPDEB) -xf $(CYGDEB)/cygwin-debuginfo-$(CVR).tar.xz unxz -c cygwin1-$(SD).dbg.xz > $(SNAPDEB)/usr/lib/debug/usr/bin/cygwin1.dbg touch -r cygwin1-$(SD).dbg.xz $(SNAPDEB)/usr/lib/debug/usr/bin/cygwin1.dbg install-snapshot-debuginfo: snapshot-debuginfo mkdir -p $(PATCHDEB) tar -C $(SNAPDEB) -Jcf $(PATCHDEB)/cygwin-debuginfo-$(CVR)s$(SD).tar.xz --exclude usr/man --exclude usr/include usr/ snapshot-devel: snapshot mkdir -p $(SNAPDEV) $(PATCHDEV) cp --preserve=ownership,timestamp $(CYGDEV)/setup.hint $(PATCHDEV) sed -i .bak -e '/^(curr|test|prev):/ d' $(PATCHDEV)/setup.hint install-snapshot-devel: snapshot-devel mkdir -p $(PATCHDEB) tar -C $(SNAPDEB) -Jcf $(PATCHDEB)/cygwin-debuginfo-$(CVR)s$(SD).tar.xz --exclude usr/man --exclude usr/include usr/ -------------- (Gmane is going to break some lines, so you'll have to clean those up, sorry) 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