Commit Graph

90 Commits

Author SHA1 Message Date
Kevin Lange bc1cda50dc Merge pull request #19 from herzi/master
small code adjustments
2012-07-03 09:30:08 -07:00
Sven Herzberg fd6b3c6de2 do not hardcode sizes
This patch will fix the following warning I received from gcc:
> nyancat.c: In function ‘main’:
> nyancat.c:497: warning: comparison is always true due to limited range of data type

* src/nyancat.c: adjust the size of the array and update the references
  to its size
2012-07-03 18:12:07 +02:00
Kevin Lange afc4d6e25e Merge pull request #18 from jmccrohan/master
Update README.md
2012-06-07 18:50:00 -07:00
Jonathan McCrohan 4fad8657d6 README.md: Update Debian specific information
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2012-06-08 01:15:14 +01:00
Jonathan McCrohan d76f096ca1 README.md: Add list of distributions with nyancat
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2012-06-08 01:13:04 +01:00
Kevin Lange 299654a4b3 Updated README to note the existence of the Debian package. 2012-05-25 23:16:30 +09:00
Kevin Lange 99dc3100b9 Merge pull request #17 from jmccrohan/master
Push the Debian manpage upstream
2012-05-23 21:06:19 -07:00
Jonathan McCrohan 1224377cf0 Upstream Debian nyancat manpage 2012-05-23 23:31:03 +01:00
Kevin Lange 5fe3de9803 Merge pull request #16 from jmccrohan/master
Fix useless build flags
2012-05-19 17:36:31 -07:00
Jonathan McCrohan 10869208d2 Fix useless build flags
Pass CPPFLAGS and CFLAGS to the compiler. I assume LFLAGS was a typo
and should be LDFLAGS instead.

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2012-05-20 01:18:46 +01:00
Kevin Lange c6cb5e7f06 So totally should have known about that. Bump to 1.0 2012-05-09 16:58:24 -05:00
Kevin Lange 5a88b86b6a :set spell ... I'm a bloody moron. 2012-04-01 16:07:35 -05:00
Kevin Lange 0e34917dd9 Long options, help text for previous 2012-04-01 15:32:58 -05:00
Kevin Lange ed320b7e75 Add options to not clear display and not set title
`nyancat -esnf 1` will (quite nicely) display a single frame and
then terminate, in a matter that is perfect for generate MOTDs.
`nyancat -esnf 10` (for example) will run through the animation
(though it may not work perfectly, depending on the size of your
terminal and various other things)
2012-04-01 15:16:05 -05:00
Kevin Lange 022fed78f0 Remove debug output that I completely forgot about 2012-03-26 18:22:24 -05:00
Kevin Lange 415f8251d9 Added extra display options 2012-03-25 19:32:39 -05:00
Kevin Lange ed21034c7b (style) 2012-03-23 18:08:37 -05:00
Kevin Lange 98345ae45d Add install target 2012-03-23 17:59:35 -05:00
Kevin Lange 672b3abae0 Command line options with getopt_long 2012-03-23 17:55:13 -05:00
Kevin Lange 022782ce09 Merge pull request #15 from rctay/rc/solaris
fixes for Solaris
2012-03-19 09:55:45 -07:00
Tay Ray Chuan 3fccb064bd include ctype.h for tolower() 2012-03-19 21:06:12 +08:00
Tay Ray Chuan d8455890b8 provide struct winsize and TIOCGWINSZ on Solaris 2012-03-19 21:05:01 +08:00
Kevin Lange 004e132ace Amended license header. 2012-02-22 20:53:39 -06:00
Kevin Lange 0f5778a4a3 Merge pull request #14 from froller/master
Fixed SegFault if TERM variable is not set
2012-02-21 07:18:12 -08:00
Alexander Frolov 45856e02ed Fixed SegFault if TERM variable is not set 2012-02-21 15:04:05 +04:00
Kevin Lange 4fd7ab2ce4 Merge pull request #11 from Peetz0r/master
Apple ][ support (please oh please don't break things)
2012-02-20 11:19:53 -08:00
Kevin Lange 64614a5abb Remove old crontab example that isn't used in the inetd version 2012-01-05 11:51:01 -06:00
Peetz0r 187a214e50 Clear the screen when done (standalone, not telnet). 2011-12-06 10:54:48 +01:00
Peetz0r 322de45995 remove crontab file 2011-12-05 23:41:38 +01:00
Peter 4f158ad930 Oops... 2011-12-05 19:50:52 +01:00
Peetz0r 5cc51e5021 Actually limit the terminal width in the right place 2011-12-05 19:37:50 +01:00
Peetz0r 616b5189fa Added my name in the comments ;) 2011-12-05 18:25:53 +01:00
Peetz0r 8fbebea71e I already removed the goto's, so let's remove the label as well. 2011-12-05 18:22:58 +01:00
Peetz0r f36609e9b6 terminal_width now also working over telnet. 2011-12-05 17:54:26 +01:00
Kevin Lange 71bb300117 Update README.md 2011-12-05 07:45:00 -06:00
Peetz0r d3104d6d78 Add Apple ][ support 2011-12-05 07:10:56 +01:00
Kevin Lange 9404128709 [minor] Typo 2011-12-04 17:01:18 -06:00
Kevin Lange 387400bbbd Wow, that was dumb 2011-12-04 14:06:35 -06:00
Kevin Lange 48ec643ed1 Reset colors when exited from standalone mode 2011-12-04 13:48:33 -06:00
Kevin Lange 18d47f079e Tell people how to exit in the MOTD 2011-12-04 12:30:24 -06:00
Kevin Lange 6ec206094e Fix up the MOTD a bit 2011-12-04 04:16:31 -06:00
Kevin Lange bbeebb1208 Um, derp 2011-12-04 04:06:30 -06:00
Kevin Lange ab1fc8c49a [minor] 2011-12-04 04:05:52 -06:00
Kevin Lange 0efd68d3f0 Document, document, document. 2011-12-04 04:03:30 -06:00
Kevin Lange 24575e61ec comments; do not break out of options on a non-IAC 2011-12-04 03:47:20 -06:00
Kevin Lange f18f1e401a Use setjmp and alarm to break out of options handling 2011-12-04 03:43:33 -06:00
Kevin Lange f841e5fe16 Set the terminal title (xterm, gnome-terminal, screen...) 2011-12-04 02:27:06 -06:00
Kevin Lange 06ee9592e3 Fix colors for text 2011-12-04 01:19:16 -06:00
Kevin Lange 8653b2f538 You have nyaned for (way too long) 2011-12-04 01:12:11 -06:00
Kevin Lange affb94d97a Add a workaround for netcat 2011-12-03 20:02:47 -06:00