aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2013-05-20Rename animation.h to animation.cKevin Lange2-1/+1
This fixes a meta-bug with github showing nyancat as being Objective C.
2013-03-26Remove legacy toaruos compatibilityKevin Lange1-24/+2
2013-03-07Ah, right, yes.Kevin Lange1-2/+3
2013-03-07Hm, or not.Kevin Lange1-2/+0
2013-03-07Reset alarm before setting to 2secsKevin Lange1-0/+2
2013-03-07Set alarm for extended options.Kevin Lange1-2/+2
Instead of clearing the alarm, set it to two seconds; Previously, this could, potentially, not finish at all on some telnet clients, which is definitely bad. This is a reasonable workaround.
2013-01-11Update src/nyancat.cKevin Lange1-1/+1
update copyright date, happy new year
2012-12-21Better white and blackKevin Lange1-2/+2
2012-12-21For the morons using solarizedKevin Lange1-7/+7
2012-12-13Support building and running on とあるOSKevin Lange1-1/+27
2012-09-12Support the Suckless simple terminalKevin Lange1-0/+2
`st` supports xterm-256color escapes, so just treat it the same as we treat xterm.
2012-07-03Fix type for sb_lenKevin Lange1-2/+2
2012-07-03do not hardcode sizesSven Herzberg1-2/+2
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-05-20Fix useless build flagsJonathan McCrohan1-1/+1
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-04-01:set spell ... I'm a bloody moron.Kevin Lange1-7/+7
2012-04-01Long options, help text for previousKevin Lange1-0/+4
2012-04-01Add options to not clear display and not set titleKevin Lange1-12/+49
`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-03-26Remove debug output that I completely forgot aboutKevin Lange1-2/+0
2012-03-25Added extra display optionsKevin Lange2-38/+124
2012-03-23(style)Kevin Lange1-3/+9
2012-03-23Command line options with getopt_longKevin Lange1-148/+196
2012-03-19include ctype.h for tolower()Tay Ray Chuan1-0/+1
2012-03-19provide struct winsize and TIOCGWINSZ on SolarisTay Ray Chuan1-0/+7
2012-02-22Amended license header.Kevin Lange1-0/+5
2012-02-21Fixed SegFault if TERM variable is not setAlexander Frolov1-1/+2
2011-12-06Clear the screen when done (standalone, not telnet).Peetz0r1-2/+2
2011-12-05Oops...Peter1-1/+1
2011-12-05Actually limit the terminal width in the right placePeetz0r1-4/+5
2011-12-05Added my name in the comments ;)Peetz0r1-2/+7
2011-12-05I already removed the goto's, so let's remove the label as well.Peetz0r1-10/+0
2011-12-05terminal_width now also working over telnet.Peetz0r1-7/+14
2011-12-05Add Apple ][ supportPeetz0r1-3/+35
2011-12-04[minor] TypoKevin Lange1-1/+1
2011-12-04Wow, that was dumbKevin Lange1-2/+2
2011-12-04Reset colors when exited from standalone modeKevin Lange1-1/+1
2011-12-04Tell people how to exit in the MOTDKevin Lange1-2/+6
2011-12-04Fix up the MOTD a bitKevin Lange1-12/+12
2011-12-04Um, derpKevin Lange1-1/+1
2011-12-04[minor]Kevin Lange1-3/+6
2011-12-04Document, document, document.Kevin Lange1-25/+88
2011-12-04comments; do not break out of options on a non-IACKevin Lange1-2/+7
2011-12-04Use setjmp and alarm to break out of options handlingKevin Lange1-68/+86
2011-12-04Set the terminal title (xterm, gnome-terminal, screen...)Kevin Lange1-0/+5
2011-12-04Fix colors for textKevin Lange1-1/+2
2011-12-04You have nyaned for (way too long)Kevin Lange1-4/+25
2011-12-03Add a workaround for netcatKevin Lange1-0/+2
2011-12-03Fix linefeedsKevin Lange1-14/+35
2011-12-03Comments? In /my/ code? It's more likely than you think.Kevin Lange1-58/+143
2011-12-03Restore updated VT220 paletteKevin Lange1-4/+4
2011-12-03Get rid of all of that nasty pythonKevin Lange8-1765/+1145