delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/14/18:53:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 14 Feb 2003 18:53:05 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Robert Collins <rbcollins AT cygwin DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Why the rash of people bypassing setup.exe to install?
In-Reply-To: <1045262397.1203.38.camel@localhost>
Message-ID: <Pine.GSO.4.44.0302141750200.7773-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On 15 Feb 2003, Robert Collins wrote:

> On Sat, 2003-02-15 at 09:28, Christopher Faylor wrote:
>
> [snip]
>
> > I was also thinking of creating a '/dev/tty' file in the archive which
> > was just a real file containing the words "Hey! What are YOU DOING???" I
> > think that would cause a tar extraction to print that message to the
> > screen.  Don't know what it would do to setup.exe, though.
>
> probably create c:/cygwin/dev/tty...
>
> Rob

FYI:
$ tar tvf test.tar
drwxrwxrwx SYSTEM/SYSTEM     0 2003-02-14 17:48:16 dev/
-rw-rw-rw- SYSTEM/SYSTEM    27 2003-02-14 17:48:16 dev/tty
$ tar xOf test.tar dev/tty
Hey! What are YOU DOING???
$ cat test.tar | (cd / && tar xvf -)
dev/
dev/tty
Hey! What are YOU DOING???
tar: dev/tty: Cannot utime: No such file or directory
tar: Error exit delayed from previous errors
$

As for creating c:\cygwin\dev\tty, I do that anyway - allows
Tab-completion.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019