From uknet!csv.warwick.ac.uk!cs.nott.ac.uk!pjl Fri Feb 28 18:16:45 1992 Return-Path: Received: from uknet.UUCP by ssl.co.uk (4.1/SMI-4.1) id AA03257; Fri, 28 Feb 92 18:16:45 GMT Received: from csv.warwick.ac.uk by eros.uknet.ac.uk via JANET with NIFTP (PP) id <12617-0@eros.uknet.ac.uk>; Fri, 28 Feb 1992 15:51:18 +0000 Received: from diamond.dcs.warwick.ac.uk by nettle.csv.warwick.ac.uk with SMTP; Fri, 28 Feb 1992 15:48:36 GMT Received: from clover.csv.warwick.ac.uk by diamond.dcs.warwick.ac.uk; Fri, 28 Feb 1992 15:48:42 GMT Message-Id: <16917.199202281548@clover.csv.warwick.ac.uk> Received: from cs.nott.ac.uk by clover.csv.warwick.ac.uk with ; Fri, 28 Feb 1992 15:48:24 GMT Received: from robin.cs.nott.ac.uk by marian.Cs.Nott.AC.UK id aa15955; 28 Feb 92 15:48 GMT To: mirk@dcs.warwick.ac.uk Cc: pjl@cs.nott.ac.uk Subject: TETRIS Date: Fri, 28 Feb 92 15:48:04 +0000 From: Pete Latus Status: R Dear "mirk" I have recently come into possession of your tetris game and must therefore write to let you know how happy it makes me. I love tetris and can think of no better way of avoiding the realities of my chemistry lecture course other than indulging in a good old game of tetris. Cheers! Pete Latus From mauvl@csv.warwick.ac.uk Tue Nov 2 00:37:24 1993 Return-Path: From: Nath Subject: thanks To: mirk@csv.warwick.ac.uk Date: Tue, 2 Nov 1993 00:37:24 +0000 (GMT) X-Mailer: ELM [version 2.4 PL21] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 106 thanks for writing Tetris, I can waste many a useful hour playing it instead of doing any sort of work!! From en2bidm@staffordshire.ac.uk Fri Jan 21 16:14:45 1994 Return-Path: Date: Thu, 20 Jan 1994 17:34:16 +0100 From: en2bidm@staffordshire.ac.uk (WAR HAS NEVER BEEN SO MUCH FUN...) To: mirk@csv.warwick.ac.uk Subject: Tetris X-Vms-To: SMTP%"mirk@warwick.ac.uk@bs38" We have you tetris for terminal game on one of our ultrix machine.. It's good fun but the version running is dated Friday may 26 1989 ... have you done any other version since ??? If so, have you added the real Tetris score (more points for double,triple and tetrises), the two rotation buttons and the releasable fall button (stops falling if you stop pressing it..) This would make the game a lot better... If you haven't implemented that, is it possible to get the source code of the game to implement it ourselves ? I'd be glad to send you the upgraded source code back if you are interested... Didier MALENFANT/HT3F student at staffs uni. From uknet!csv.warwick.ac.uk!phuck Sat May 21 07:09:13 1994 Return-Path: From: Mr D T Anstey Subject: tt To: mirk@csv.warwick.ac.uk Date: Fri, 20 May 1994 22:05:56 +0100 (BST) X-Mailer: ELM [version 2.4 PL21] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 69 I think your game is shit. The graphics are useless and so are you. From uknet!bjesomar.srce.hr!alex Wed Jan 11 18:22:31 1995 Return-Path: From: alex@bjesomar.srce.hr (Aleksandar Milivojevic) Subject: Tetris To: mirk@dcs.warwick.ac.uk Date: Wed, 11 Jan 1995 16:51:07 +0100 (NFT) X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit Content-Length: 480 Hi I just played your tetris for terminals on an Linux box. I wonder, if source is available, becose I would like to install it on Ultrix (DEC 5000) and AIX (IBM RS 6000). If source is not available, do you have binaries for these two, or any other platform? Alex -- CAHN'S AXIOM: | Aleksandar Milivojevic | mail: Jakova Gotovca 5 When all else fails, | ---------------------- | 54520 Slatina read the instructions. | e-mail: alex@srce.hr | Croatia From uknet!sco.com!harveyt Thu Dec 21 12:24:48 1995 Return-Path: X-Uri: X-Face: "Ht#9&2KEo;v0Jn!m[7V}D}F5>{KUiNw Hi Mike (and Fiona), Did you know that "tt" is supplied on the latest Linux distribution! (Fiona: Linux is a free version of Unix -- the kernel (difficult bit) written by Linus Torvald -- hence the pun on Unix -> Linux, the rest by just about anyone on the Internet who wants to write code) Hows that for fame and fortune! Cunning. The guy who ported it (mostly trivial) added an extra readme file, included below. Hoopy Christmas items, Harvey (Still no sign of Defender et. al. Chuuuueeeeze!) PS. The bug in the uucp documentation -- I read the latest documentation and it all now seems fine and dandy. You've probably got version "3.2.0" or something -- we should now a days get to review technical documentation at least once before printing. In Theory. > Tetris for Terminals - "tt" - Written by Mike Taylor > ==================================================== > > The ported to Linux. Hey Linus, mondo O/S! > > We all know that a computer isn't worth the silicon it's made of unless > it you can play Tetris on it. So, here it is, after two long, hard days > of work. Actually, it only needed two defines and three procedures and > I'm not even sure why I had to put two of those procedures in there. It > looks to me as though those two are already in GCC 2.1. The third is > usleep. You should just be able to do a make install and have it work. > > If you do thing manually, that is with a plane make, you will need to > make your /usr/local/etc directory read-writeable by all because that is > where the high score and lock files are kept. If you get an Open(2) error > or "Save-score failure" it is because this hasn't been done. If you want > to change these, edit lines 34-35 of tt.h. Also in game.h, in lines 14-21 > you can change the key assignments, ie. right, left, drop. > > That's about it for what I have to say. I can be reached on the InterNet > as "bairstow@vivaldi.psu.edu" or "sab139@psuvm.psu.edu" and on BitNet as > "sab139 AT psuvm." I also read comp.os.linux so if you post something > there I should catch it. > > -- Steve Bairstow From fst@jones Mon Jun 2 13:13:23 1997 Return-Path: Date: Mon, 2 Jun 1997 13:13:21 +0100 From: fst@jones (Frank Taylor) To: all@jones Subject: Famous software Status: R I installed mini-linux (a Linux distribution for DOS machines that comes on just 4 floppy disks... includes X and TCP/IP (PPP, SLIP and PLIP)) on my laptop a few days ago. Poking around the games directory I found tt: Tetris for Terminals by a certain Mike Taylor from Warwick University... Ain't the world small place. Frank. From madhu@quickmonkey.com Wed Dec 6 19:10:11 2000 Date: Wed, 6 Dec 2000 11:09:10 -0800 From: MADHU To: mike@tecc.co.uk Subject: tetris fan mail X-Url: http://www.meer.net/~enometh Reply-to: madhu@quickmonkey.com helu, i still play your tetris for terminals (since 96), preferring it over emacs tetris, or just about any other (havent gotten any better though). I havent needed to change much source except minimally for the terminal stuff on new boxes. wonder if you'd ever made another release. my timestamps still show 1992. Thanks. Regards madhu :> -- You have new mail From madhu@quickmonkey.com Thu Feb 22 01:11:03 2001 MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Date: Wed, 21 Feb 2001 17:12:29 -0800 From: MADHU To: mike@tecc.co.uk Subject: cygwin + tt X-Url: http://www.meer.net/~enometh/ Reply-to: madhu@quickmonkey.com Content-Type: text/plain; charset=US-ASCII helu, the current release of cygwin compiles tetris (just commented out extern WINDOW *stdscr; in screen.c), and now I can play at the dosprompt. just thought i should let you know :> regards, madhu From eden_c@rad.co.il Thu Jan 31 08:57:05 2002 MIME-Version: 1.0 From: Eden Cohen To: "'mike@miketaylor.org.uk'" Subject: tt (tetris) Date: Wed, 30 Jan 2002 19:36:50 +0200 Content-Type: text/plain; charset="iso-8859-1" Content-Length: 367 Hi, I am in a team working on an embedded real-time communications box. It has a serial interface for configuration using a terminal. So I thought it would be nice if the, maybe, bored technician on site could play a little game on the terminal. So I looked for tetris source code and found your stuff. Is it OK for me to port it and use freely ? Thanks, Eden. From mike Thu Jan 31 08:58:47 +0000 2002 From: Mike Taylor To: eden_c@rad.co.il In-reply-to: <21FECF4891C9D311859D00508B8BB564C64A3B@exrad1.rad.co.il> (message from Eden Cohen on Wed, 30 Jan 2002 19:36:50 +0200) Subject: Re: tt (tetris) References: <21FECF4891C9D311859D00508B8BB564C64A3B@exrad1.rad.co.il> > Date: Wed, 30 Jan 2002 19:36:50 +0200 > From: Eden Cohen > > Hi, Hi. > I am in a team working on an embedded real-time communications box. > It has a serial interface for configuration using a terminal. So I > thought it would be nice if the, maybe, bored technician on site > could play a little game on the terminal. > > So I looked for tetris source code and found your stuff. > > Is it OK for me to port it and use freely ? Hell, YES! That would be great! I'd love to see something that exotic happining to my humble little thirteen-year-old game! Please let me know how it goes. _/|_ _______________________________________________________________ /o ) \/ Mike Taylor www.miketaylor.org.uk )_v__/\ "You couldn't stamp 'PROPERTY OF THE ZOO' on a great big lion!" / "They do them when they're still small." / "What happens when they moult?" / "Lions don't moult." / "Ah, but penguins do! There, I've run rings around you logically!" -- Monty Python. From eden_c@rad.com Mon Jun 09 10:04:46 2003 MIME-Version: 1.0 x-mimeole: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message Content-Type: text/plain; charset="iso-8859-1" Subject: RE: Tetris in Embedded System Date: Mon, 9 Jun 2003 08:42:26 +0300 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tetris in Embedded System Thread-Index: AcMlIksTsG+ehmvqRUyE/sttT6mRQQJJxFgg From: "Eden Cohen" To: "Mike Taylor" X-Spam-Status: No, hits=0.0 required=5.0 tests= version=2.20 X-Spam-Level: Hi Mike, I did start doing the porting to our platform, and some of it actually worked. But I didn't get to finish it because management are a bit uptight about including it in software going to customers (even though I assured them it would be hidden and could only be activated by a code). Thanks anyway, Eden Cohen. -----Original Message----- From: Mike Taylor [mailto:mike@indexdata.com] Sent: Wed, May 28, 2003 6:06 PM To: Eden Cohen Subject: Tetris in Embedded System Hi Eden, Sixteen months ago, you asked whether it would be OK to port my tetris-for-serial-terminals implementation "tt" onto the embedded real-time system you were working on (and of course I said yes!) I wonder whether anything ever came of that? (Old messages attached below) _/|_ _______________________________________________________________ /o ) \/ Mike Taylor http://www.miketaylor.org.uk )_v__/\ It's a million-to-one chance -- but it might just work. -- >From eden_c@rad.co.il Thu Jan 31 08:57:05 2002 MIME-Version: 1.0 From: Eden Cohen To: "'mike@miketaylor.org.uk'" Subject: tt (tetris) Date: Wed, 30 Jan 2002 19:36:50 +0200 Content-Type: text/plain; charset="iso-8859-1" Content-Length: 367 Hi, I am in a team working on an embedded real-time communications box. It has a serial interface for configuration using a terminal. So I thought it would be nice if the, maybe, bored technician on site could play a little game on the terminal. So I looked for tetris source code and found your stuff. Is it OK for me to port it and use freely ? Thanks, Eden. >From mike Thu Jan 31 08:58:47 +0000 2002 From: Mike Taylor To: eden_c@rad.co.il In-reply-to: <21FECF4891C9D311859D00508B8BB564C64A3B@exrad1.rad.co.il> (message from Eden Cohen on Wed, 30 Jan 2002 19:36:50 +0200) Subject: Re: tt (tetris) References: <21FECF4891C9D311859D00508B8BB564C64A3B@exrad1.rad.co.il> > Date: Wed, 30 Jan 2002 19:36:50 +0200 > From: Eden Cohen > > Hi, Hi. > I am in a team working on an embedded real-time communications box. > It has a serial interface for configuration using a terminal. So I > thought it would be nice if the, maybe, bored technician on site > could play a little game on the terminal. > > So I looked for tetris source code and found your stuff. > > Is it OK for me to port it and use freely ? Hell, YES! That would be great! I'd love to see something that exotic happining to my humble little thirteen-year-old game! Please let me know how it goes. _/|_ _______________________________________________________________ /o ) \/ Mike Taylor www.miketaylor.org.uk )_v__/\ "You couldn't stamp 'PROPERTY OF THE ZOO' on a great big lion!" / "They do them when they're still small." / "What happens when they moult?" / "Lions don't moult." / "Ah, but penguins do! There, I've run rings around you logically!" -- Monty Python. From mike Wed Dec 15 21:33:19 2004 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Envelope-to: mike@miketaylor.org.uk Delivery-date: Wed, 15 Dec 2004 21:21:22 +0100 Date: Wed, 15 Dec 2004 22:20:52 +0200 From: Aleksandr Koltsoff To: mike@miketaylor.org.uk Subject: tt (missed it all these years) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: Aleksandr Koltsoff X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on bagel.indexdata.dk X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.0 X-Spam-Level: Hello Just wanted to drop a thank you note for those countless hours I spent on my first Linux way back in 1995 with slackware (don't remember the release version) playing tt. Decided to hunt the software and google found it pretty well, will put it into an administration menu for our network engineers ASAP :-). Without tt my first years in Linux would have been oh so much bleaker :-). ak. From mike Tue May 30 09:27:14 2006 X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["6927" "Monday" "29" "May" "2006" "17:41:25" "-0700" "Ryan Jud Hughes" "rjhughes@umich.edu" nil "127" "A tt patch" "^X-Spam-Status:" nil nil "5" nil nil nil nil nil nil nil nil nil] nil) Return-path: X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on bagel.indexdata.dk X-Spam-Level: Envelope-to: ssl@miketaylor.org.uk Delivery-date: Tue, 30 May 2006 02:41:34 +0200 Received: from localhost.localdomain [127.0.0.1] by localhost with POP3 (fetchmail-6.2.5) for mike@localhost (single-drop); Tue, 30 May 2006 09:27:14 +0100 (BST) Received: from igw2.ssl.co.uk ([62.49.253.115]) by bagel.indexdata.dk with esmtp (Exim 3.35 #1 (Debian)) id 1FksIf-0002AJ-00 for ; Tue, 30 May 2006 02:41:33 +0200 Received: from windy.internal (mailhost.internal [89.0.0.122]) by igw2.ssl.co.uk (8.11.6/8.11.6) with ESMTP id k4U0fW704213 for ; Tue, 30 May 2006 01:41:32 +0100 Received: from igw2.ssl.co.uk (igw2 [89.0.0.20]) by windy.internal (8.11.6/8.11.6) with ESMTP id k4U0fWY27184 for ; Tue, 30 May 2006 01:41:32 +0100 Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by igw2.ssl.co.uk (8.11.6/8.11.6) with ESMTP id k4U0fV704209 for ; Tue, 30 May 2006 01:41:31 +0100 Received: FROM [192.168.1.107] (Unknown [67.188.126.131]) BY tombraider.mr.itd.umich.edu ID 447B94B8.D4373.5719 ; 29 May 2006 20:41:29 -0400 X-X-Sender: rjhughes@doctor-awesomes-computer.local Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-128897619-1148949636=:1812" X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,FORGED_RCVD_HELO autolearn=ham version=3.1.1 From: Ryan Jud Hughes To: mirk@ssl.co.uk Subject: A tt patch Date: Mon, 29 May 2006 17:41:25 -0700 (PDT) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-128897619-1148949636=:1812 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Hello. I'm a big fan of tt and I've been playing since Ye Olden Days. I've been wishing for years that tt had the feature I've seen in other Tetrises, where there's the shadow of the piece, that shows what would happen if you dropped the piece right that instant. Well, yesterday I was on the plane and I was bored, so I made the necessary modifications. Here is a patch against version 14.1. It's totally awesome. I would love to see this feature in future distributions. Perhaps it should be a feature you can turn on and off at the command line? If so, I can do that in a little bit. But if it's not going to get distributed, I'd just as soon not bother. So tell me what you think. Thanks. --Ryan --0-128897619-1148949636=:1812 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=tt-14.1_add_ghost.patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=tt-14.1_add_ghost.patch LS0tIC91c3Ivc3JjL3R0LTE0LjEvc2NyZWVuLmgJVHVlIE1heSAyNyAwMzo0 NjoyMCAyMDAzDQorKysgc2NyZWVuLmgJU3VuIE1heSAyOCAxMjowNToxNSAy MDA2DQpAQCAtMTksNCArMTksNyBAQA0KICNkZWZpbmUgUERfRVJBU0UJMQkv KiBDb2RlIHRvIGVyYXNlIHBpZWNlICovDQogDQorZXh0ZXJuIGNoYXIgZ2hv c3RfYXNbM107CS8qIFdpdGggd2hpY2ggY2hhcmFjdGVycyB0byBkcmF3IHRo ZSBnaG9zdCANCisJCQkJICogcGllY2UgKGRlZmluZWQgaW4gc2NyZWVuLmMp ICovDQorDQogLyotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tKi8NCiAN CkBAIC0yOSw0ICszMiw1IEBADQogZXh0ZXJuIHZvaWQgdXBkYXRlX3Njb3Jl cyAoKTsNCiBleHRlcm4gdm9pZCBkcmF3X2JvYXJkICgpOw0KK2V4dGVybiB2 b2lkIGRyYXdfcGllY2VfYW5kX2dob3N0KCk7DQogZXh0ZXJuIHZvaWQgZHJh d19waWVjZSAoKTsNCiBleHRlcm4gdm9pZ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FzID0gcGllY2VzW3BpZWNlX25vXS5hcHA7IH0NCisNCiAJbXZhZGRz dHIgKHkrcGllY2VzW3BpZWNlX25vXS5pbmRleFtvcmllbnRdW2ldWzBdLA0K IAkJICAoMiooeCtwaWVjZXNbcGllY2Vfbm9dLmluZGV4W29yaWVudF1baV1b MV0pKSsyLA0KLQkJICBwaWVjZXNbcGllY2Vfbm9dLmFwcCk7DQorCQkgIGRy YXdfYXMpOw0KICAgICAgIH0NCiAgICAgfQ0KQEAgLTM2Niw0ICs0MDAsMjYg QEANCiAgIHJldHVybiAoMSk7DQogfQ0KKw0KKw0KKy8qKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKipcDQorfCoJCQkJCQkJCQkgICAqfA0KK3wqICBU aGUgZnVuY3Rpb24gZ2hvc3RfaGVpZ2h0IHRha2VzIHBpZWNlX25vLCBvcmll bnQsIHksIGFuZCB4LCBhbGwJICAgKnwNCit8KiAgaW50ZWdlcnMgZGVzY3Jp YmluZyB0aGUgdHlwZSwgb3JpZW50YXRpb24sIGFuZCBsb2NhdGlvbiBvZiBh IHBpZWNlKSwgICAqfA0KK3wqICBhbmQgcmV0dXJucyB0aGUgaGVpZ2h0IGF0 IHdoaWNoIHdlIHNob3VsZCBkcmF3IHRoZSAiZ2hvc3QiIHBpZWNlLgkgICAq fA0KK3wqICBUaGUgZ2hvc3QgcGllY2UgaXMgdGhlIG9uZSB0aGF0IHNob3dz IHdoZXJlIGl0IHdvdWxkIGJlIGlmIHdlIGRyb3BwZWQgICp8DQorfCogIHRo ZSBwaWVjZSByaWdodCB0aGlzIGluc3RhbnQuCQkJCQkgICAqfA0KK3wqCQkJ CQkJCQkJICAgKnwNCitcKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq Lw0KK2ludCBnaG9zdF9oZWlnaHQoaW50IHBpZWNlX25vLCBpbnQgb3JpZW50 LCBpbnQgeSwgaW50IHgpIA0KK3sNCisgICAgaW50IGo7DQorICAgIGZvcihq ID0geTsgaiA8IEdBTUVfREVQVEg7IGorKykgew0KKyAgICAgIGlmKCAhY2Fu X3BsYWNlKHBpZWNlX25vLCBvcmllbnQsIGosIHgpICkgeyBicmVhazsgfQ0K KyAgICB9IC8vIGZvciBmcm9tIGhlcmUgdG8gdGhlIGJvdHRvbSBvZiB0aGUg Ym9hcmQNCisNCisgICAgai0tOw0KKyAgICByZXR1cm4gajsNCit9IC8vIGlu dCBnaG9zdF9oZWlnaHQNCisNCiANCiAvKi0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0qLw0K --0-128897619-1148949636=:1812-- From mike Wed May 31 16:31:55 2006 X-VM-v5-Data: ([nil nil nil t nil nil nil t nil] ["16598" "Wednesday" "31" "May" "2006" "08:27:45" "-0700" "Ryan Jud Hughes" "rjhughes@umich.edu" nil "296" "Re: A tt patch" "^X-Spam-Status:" nil nil "5" nil nil nil nil nil nil nil nil nil] nil) Return-path: X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on bagel.indexdata.dk X-Spam-Level: Envelope-to: mike@miketaylor.org.uk Delivery-date: Wed, 31 May 2006 17:27:54 +0200 Received: from localhost.localdomain [127.0.0.1] by localhost with POP3 (fetchmail-6.2.5) for mike@localhost (single-drop); Wed, 31 May 2006 16:31:55 +0100 (BST) Received: from smtp.mail.umich.edu ([141.211.93.161] helo=tombraider.mr.itd.umich.edu) by bagel.indexdata.dk with esmtp (Exim 3.35 #1 (Debian)) id 1FlSbx-0007Wk-00 for ; Wed, 31 May 2006 17:27:53 +0200 Received: FROM [192.168.1.107] (Unknown [67.188.126.131]) BY tombraider.mr.itd.umich.edu ID 447DB5F6.5F8D5.23993 ; 31 May 2006 11:27:50 -0400 X-X-Sender: rjhughes@doctor-awesomes-computer.local In-Reply-To: <17532.8984.729891.562174@localhost.localdomain> Message-ID: References: <17532.8984.729891.562174@localhost.localdomain> MIME-Version: 1.0 X-StripMime: Non-text section removed by stripmime Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 From: Ryan Jud Hughes To: Mike Taylor cc: mirk@ssl.co.uk Subject: Re: A tt patch Date: Wed, 31 May 2006 08:27:45 -0700 (PDT) There ya go. This one takes it from the dist of 14.1, and adds the "ghost" feature from before, as well as the "Next Piece" feature. Sounds good? --Ryan On Tue, 30 May 2006, Mike Taylor wrote: > Ryan Jud Hughes writes: > > Hello. I'm a big fan of tt and I've been playing since Ye Olden Days. > > I've been wishing for years that tt had the feature I've seen in other > > Tetrises, where there's the shadow of the piece, that shows what would > > happen if you dropped the piece right that instant. > > > > Well, yesterday I was on the plane and I was bored, so I made the > > necessary modifications. > > > > Here is a patch against version 14.1. It's totally awesome. I would love > > to see this feature in future distributions. > > > > Perhaps it should be a feature you can turn on and off at the command > > line? If so, I can do that in a little bit. But if it's not going to get > > distributed, I'd just as soon not bother. > > > > So tell me what you think. > > Hi, Ryan, thanks for sending this. I've never seen that feature > before, but I admit that it's cute. I would be delighted to include > it future releases, but only if it's off by default and can be turned > on by a command-line flag. If you send me the appropriate patch, I'll > make the release ASAP. > > BTW., another facility that I've seen mentioned is where the next > piece that is going to become available is displayed off-board, so > help you plan ahead. If you fancied adding that, too (also as an > off-by-default, turned-on-by-command-line-switch option), then I'd be > delighted to include it. Entirely at your discretion. > > _/|_ ___________________________________________________________________ > /o ) \/ Mike Taylor http://www.miketaylor.org.uk > )_v__/\ "Winds and tides favour the best navigators" -- Ancient Greek > saying. > > > > LS0tIC91c3Ivc3JjL3R0LTE0LjEvZ2FtZS5jCVR1ZSBNYXkgMjcgMDM6NDY6 MTcgMjAwMw0KKysrIGdhbWUuYwlXZWQgTWF5IDMxIDA4OjEyOjQwIDIwMDYN CkBAIC04Nyw0ICs4Nyw2IEBADQogICBpbnQgcGllY2Vfbm87CQkJLyogVHlw ZSBvZiBwaWVjZSBjdXJyZW50bHkgZmFsbGluZyAqLw0KICAgaW50IG9yaWVu dDsJCQkvKiBXaGljaCB3YXkgaXQgaXMgZmFjaW5nICovDQorICBzdGF0aWMg aW50IG5leHRfcGllY2Vfbm89MDsJLyogV2hpY2ggcGllY2UgaXMgIm5leHQi ICovDQorICBzdGF0aWMgaW50IG5leHRfb3JpZW50PTA7CS8qIEFuZCBhdCB3 aGF0IG9yaWVudGF0aW9uIGlzIGl0PyAqLw0KICAgaW50IHBhdXNlX2ZsYWcg PSAwOwkJLyogV2Ugd29uJ3QgcGF1c2UgdW5sZXNzIHRvbGQgdG8gKi8NCiAg IGludCBwcmVzc2VzX2xlZnQ7CQkvKiBGdXRoZXIgbW92ZXMgcG9zc2libGUg dGhpcyBkcm9wICovDQpAQCAtOTksNyArMTAxLDIwIEBADQogICBjbGVhcl9i b2FyZCAoKTsNCiANCisgIG5leHRfcGllY2Vfbm8gPSAoaW50KSAocmFuZG9t ICgpICUgKE5PX1BJRUNFUy0oMipnYW1lX21vZGUpKSk7DQorICBuZXh0X29y aWVudCA9IChpbnQpIChyYW5kb20gKCkgJSBOT19PUklFTlRTKTsNCisNCiAg IHdoaWxlICgxKSB7DQotICAgIHBpZWNlX25vID0gKGludCkgKHJhbmRvbSAo KSAlIChOT19QSUVDRVMtKDIqZ2FtZV9tb2RlKSkpOw0KLSAgICBvcmllbnQg PSAoaW50KSAocmFuZG9tICgpICUgTk9fT1JJRU5UUyk7DQorICAgIHBpZWNl X25vID0gbmV4dF9waWVjZV9ubzsNCisgICAgb3JpZW50ICAgPSBuZXh0X29y aWVudDsNCisgICAgbmV4dF9waWVjZV9ubyA9IChpbnQpIChyYW5kb20gKCkg JSAoTk9fUElFQ0VTLSgyKmdhbWVfbW9kZSkpKTsNCisgICAgbmV4dF9vcmll bnQgPSAoaW50KSAocmFu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LS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0qLw0KIA0KLS0tIC91 c3Ivc3JjL3R0LTE0LjEvc2NyZWVuLmMJVHVlIE9jdCAxOCAwMToyOTo0MiAy MDA1DQorKysgc2NyZWVuLmMJV2VkIE1heSAzMSAwODoyMDo1MCAyMDA2DQpA QCAtMjYsNCArMjYsNyBAQA0KICNpbmNsdWRlICJnYW1lLmgiDQogDQorY2hh ciBnaG9zdF9hc1szXSA9ICIuLiI7DQorY2hhciBlcmFzZV9hc1szXSA9IHtC TEFOS19DSEFSLCBCTEFOS19DSEFSLCAwfTsNCisNCiAvKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqXA0KIHwqCQkJCQkJCQkJICAgKnwNCkBAIC02 MCw2ICs2Myw2IEBADQogXCoqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq Ki8NCiANCi12b2lkIGhvb3B5X3JlZnJlc2ggKHBpZWNlX25vLCBvcmllbnQs IHgsIHkpDQotICBpbnQgcGllY2Vfbm8sIG9yaWVudCwgeCwgeTsNCit2b2lk IGhvb3B5X3JlZnJlc2ggKHBpZWNlX25vLCBvcmllbnQsIHgsIHksIG5leHRf cGllY2Vfbm8sIG5leHRfb3JpZW50KQ0KKyAgaW50IHBpZWNlX25vLCBvcmll bnQsIHgsIHksIG5leHRfcGllY2Vfbm8sIG5leHRfb3JpZW50Ow0KIHsNCiAg IGNsZWFyICgpOw0KQEAgLTY4LDUgKzcxLDcgQEANCiAgIHVwZGF0ZV9zY29y ZXMgKCk7DQogICBpZiAocGllY2Vfbm8gPiAtMSkNCi0gICAgZHJhd19waWVj ZSAocGllY2Vfbm8sIG9yaWVudCwgeCwgeSwgUERfRFJBVyk7DQorICAgIGRy YXdfcGllY2UgKH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KioqKioqKioqKioqKioqKioqKioqKioqKioq Ki8NCi0NCi12b2lkIGRyYXdfcGllY2UgKHBpZWNlX25vLCBvcmllbnQsIHks IHgsIGZsYWcpDQordm9pZCBkcmF3X3JhdyAocGllY2Vfbm8sIG9yaWVudCwg eSwgeCwgc3RyKQ0KICAgaW50IHBpZWNlX25vOw0KICAgaW50IG9yaWVudDsN CiAgIGludCB5Ow0KICAgaW50IHg7DQotICBpbnQgZmxhZzsNCisgIGNoYXIg KnN0cjsNCiB7DQogICBpbnQgaTsNCi0gIGV4dGVybiBXSU5ET1cgKnN0ZHNj cjsNCi0NCiAgIGZvciAoaSA9IDA7IGkgPCBOT19TUVVBUkVTOyBpKyspIHsN CiAgICAgaWYgKHkrcGllY2VzW3BpZWNlX25vXS5pbmRleFtvcmllbnRdW2ld WzBdID49IDApIHsNCi0gICAgICBpZiAoZmxhZyA9PSBQRF9FUkFTRSkgew0K LQltdmFkZGNoICh5K3BpZWNlc1twaWVjZV9ub10uaW5kZXhbb3JpZW50XVtp XVswXSwNCi0JCSAoMiooeCtwaWVjZXNbcGllY2Vfbm9dLmluZGV4W29yaWVu dF1baV1bMV0pKSsyLA0KLQkJIEJMQU5LX0NIQVIpOw0KLQlhZGRjaCAoQkxB TktfQ0hBUik7DQotICAgICAgfSBlbHNlIHsNCi0JbXZhZGRzdHIgKHkrcGll Y2VzW3BpZWNlX25vXS5pbmRleFtvcmllbnRdW2ldWzBdLA0KLQkJICAoMioo eCtwaWVjZXNbcGllY2Vfbm9dLmluZGV4W29yaWVudF1baV1bMV0pKSsyLA0K LQkJICBwaWVjZXNbcGllY2Vfbm9dLmFwcCk7DQotICAgICAgfQ0KKyAgICAg IG12YWRkc3RyICh5K3BpZWNlc1twaWVjZV9ub10uaW5kZXhbb3JpZW50XVtp XVswXSwNCisJICAgICAgICAoMiooeCtwaWVjZXNbcGllY2Vfbm9dLmluZGV4 W29yaWVudF1baV1bMV0pKSsyLA0KKwkgICAgICAgIHN0cik7DQogICAgIH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qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqLw0KK3ZvaWQgZHJh d19waWVjZSAocGllY2Vfbm8sIG9yaWVudCwgeSwgeCwgZmxhZykNCisgIGlu dCBwaWVjZV9ubzsNCisgIGludCBvcmllbnQ7DQorICBpbnQgeTsNCisgIGlu dCB4Ow0KKyAgaW50IGZsYWc7DQorew0KKyAgaW50IGo7DQorICANCisgIGlm IChHSE9TVF9QSUVDRVMpIA0KKyAgICBqID0gZ2hvc3RfaGVpZ2h0KHBpZWNl X25vLCBvcmllbnQsIHksIHgpOw0KKw0KKyAgaWYgKGZsYWcgPT0gUERfRVJB U0UpIHsNCisgICAgZHJhd19yYXcgKHBpZWNlX25vLCBvcmllbnQsIGosIHgs IGVyYXNlX2FzICk7DQorICAgIGRyYXdfcmF3IChwaWVjZV9ubywgb3JpZW50 LCB5LCB4LCBlcmFzZV9hcyApOw0KKyAgfSAvLyBpZiB3ZSdyZSBlcmFzaW5n DQorICBlbHNlIHsNCisgICAgaWYgKEdIT1NUX1BJRUNFUykgDQorICAgICAg ZHJhd19yYXcgKHBpZWNlX25vLCBvcmllbnQsIGosIHgsIGdob3N0X2FzICk7 DQorICAgIGRyYXdfcmF3IChwaWVjZV9ubywgb3JpZW50LCB5LCB4LCBwaWVj ZXNbcGllY2Vfbm9dLmFwcCApOw0KKyAgfSAvLyBlbHNlIHdlIGFyZSBkcmF3 aW5nDQorfSAvLyB2b2lkIGRyYXdfcGllY2UNCisNCiANCiAvKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqXA0KQEAgLTM2Niw0ICs0MDYsMjYgQEAN CiAgIHJldHVybiAoMSk7DQogfQ0KKw0KKw0KKy8qKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKipcD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fTkVYVCA9IDE7DQor CWJyZWFrOw0KICAgICAgIGRlZmF1bHQ6DQogCSAgZ290byBVU0FHRV9FUlJP UjsNCkBAIC00NjEsNSArNDY5LDUgQEANCiAgICAgVVNBR0VfRVJST1I6DQog ICAgICAgZGllIChMRV9VU0FHRSwNCi0JICAgZm9ybSAoIlVzYWdlOiAlcyBb LXNdIFstYl0gWy0zfDR8NXw3XSBbLWw8bnVtPl0gWy1tPG51bT5dIiwNCisJ ICAgZm9ybSAoIlVzYWdlOiAlcyBbLXNdIFstYl0gWy1nXSBbLU5dIFstM3w0 fDV8N10gWy1sPG51bT5dIFstbTxudW0+XSIsDQogCQkgcHJvZ19uYW1lKSk7 DQogICAgIH0NCi0tLSAvdXNyL3NyYy90dC0xNC4xL3R0LmgJVHVlIE1heSAy NyAwMzo0NjoyMyAyMDAzDQorKysgdHQuaAlUdWUgTWF5IDMwIDA5OjEwOjMz IDIwMDYNCkBAIC0xMDMsNCArMTAzLDYgQEANCiBleHRlcm4gaW50IE5PX1NR VUFSRVM7CQkvKiBNYXguIG51bWJlciBvZiBzcXVhcmVzIHBlciBwaWVjZSAq Lw0KIGV4dGVybiBpbnQgR0FNRV9XSURUSDsJCS8qIE51bWJlciBvZiBzcXVh cmVzIGFjcm9zcyBib2FyZCAqLw0KK2V4dGVybiBpbnQgR0hPU1RfUElFQ0VT OwkvKiBXaGV0aGVyIHRvIHNob3cgZ2hvc3QgcGllY2VzICovDQorZXh0ZXJu IGludCBTSE9XX05FWFQ7CQkvKiBXaGV0aGVyIHRvIHNob3cgdGhlIG5leHQg cGllY2UgKi8NCiBleHRlcm4gaW50IHNjcmVlbl9kZXB0aDsJLyogVG8gYmUg Y2FsY3VsYXRlZCBieSB0ZXJtY2FwKDMpICovDQogZXh0ZXJuIGludCBzY3Jl ZW5fd2lkdGg7CS8qIFRvIGJlIGNhbGN1bGF0ZWQgYnkgdGVybWNhcCgzKSAq Lw0K --- StripMime Report -- processed MIME parts --- multipart/mixed text/plain (text body -- kept) text/plain (text body -- kept) --- From mike Fri Jun 5 08:41:30 2009 X-VM-v5-Data: ([nil nil nil nil nil nil nil t nil] ["1829" "Thursday" "4" "June" "2009" "22:18:02" "-0400" "Kevin" "geezer82@gmail.com" nil "47" "Fun with TT on ancient Sun 2/50" "^X-Spam-Status:" nil nil "6" nil nil nil nil nil nil nil nil nil nil] nil) Return-path: Envelope-to: mike@indexdata.dk Delivery-date: Fri, 05 Jun 2009 04:18:13 +0200 Received: from kebab.indexdata.dk [83.133.64.60] by xeno with POP3 (fetchmail-6.3.8) for (single-drop); Fri, 05 Jun 2009 08:41:30 +0100 (BST) Received: from user.indexdata.dk ([130.226.235.215] helo=bagel.index) by kebab.indexdata.dk with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1MCP0X-0007fC-8k for mike@indexdata.dk; Fri, 05 Jun 2009 04:18:13 +0200 Received: from mail-gx0-f208.google.com ([209.85.217.208]) by bagel.index with esmtp (Exim 4.63) (envelope-from ) id 1MCP0U-0002UU-0p for mike@miketaylor.org.uk; Fri, 05 Jun 2009 04:18:12 +0200 Received: by gxk4 with SMTP id 4so2067333gxk.2 for ; Thu, 04 Jun 2009 19:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=r6f2NyqX7rtVZN0Y9+F+Mt3Hnbp3UEAmCBK14bl1Mn8=; b=r1Q7YYEfLZcV4jTtEANz/9MSzJbPj6Psr0AnNZSWtlgCRxI4unfj3VzUqUAnXf3Nc6 +iag2ljCNU5Vrwkwh8wY8trL/YWwYL3h6qksWD5WSnABzuQc7eQnavYHL6KmS25TJGX4 AEALgy626j7mwFMqRgLul2IlsYSIADb8DYEJo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kpHBCMj/9dmKSoYWuZtZK7jWzgfAfKRzs4yjPjvF8fTIyjFhBMtzCy0w71EVMN4/Pe D1rZJ52O0Gsm8CFR7NRCufOuvkCxjr9az6E1XhWEwboHBQyfZMBgxlsttuiCVk+hwExL TdH7422JWj293o/3l7O94D3x79XP0gMG56ivQ= MIME-Version: 1.0 Received: by 10.90.106.3 with SMTP id e3mr2438659agc.53.1244168282766; Thu, 04 Jun 2009 19:18:02 -0700 (PDT) Message-ID: <8a6af26b0906041918l37af2366iae471733d7b7e658@mail.gmail.com> X-Spam-Checker-Version: SpamAssassin 3.1.7-deb3 (2006-10-05) on bagel.index X-Spam-Level: X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 130.226.235.215 X-SA-Exim-Mail-From: geezer82@gmail.com X-SA-Exim-Scanned: No (on kebab.indexdata.dk); SAEximRunCond expanded to false X-StripMime: Non-text section removed by stripmime Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Status: No, score=-0.1 required=4.0 tests=BAYES_00,DNS_FROM_RFC_POST, HTML_00_10,HTML_MESSAGE autolearn=no version=3.1.7-deb3 From: Kevin To: mike@miketaylor.org.uk Subject: Fun with TT on ancient Sun 2/50 Date: Thu, 4 Jun 2009 22:18:02 -0400 Hi Mike, I've been going nuts lately hacking around with an old Sun 2/50 I got back in the early 90s. Since I got the thing (thinking it was equivalent to a Sun 3/50), I haven't been able to do a thing with it until recently when I somehow managed to get sunos 4.0.0 going via netboot. And THEN I saw something in the news saying Tetris turns 25 this week. The first thing that came to mind was your 'ole tetris for terminals program! Believe it or not, I managed to get version 14.0 to compile under sunos 4.0.0!! 15.0 totally freaked however; it compiles great on a modern linux system, but the Sun gave all kinds of errors while compiling. On the other hand, 14.0 compiled fine under gcc 1.41 and the sun compiler, though I miss not having the preview next piece feature. What a rush seeing it run on the "least common denominator" Unix installation I have at my disposal. I noticed you were excited to see that tt made it onto the Mini-Linux distribution. That's nothing! Did you know it also made it onto Slackware Linux?!!? I have a Slackware 3.1.0 install running (in vmware) as we speak. It does not list a tt version number, but it does have a Fri May 26 1989 date. I have another Slak 2.1.0 version that appears to have it as well. It must have vanished out of the distribution at one point, perhaps in the late 90s, but it was sure enough a part of Slackware Linux history. I spent many an idle hour playing tt over telnet, ssh and modem connections. I am thrilled to see the 15.0 version with added features and will without a doubt find myself firing it up when I want to goof off. Thanks for the great program! I look forward to any future advancements you may make. -Kevin --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---