Commit Graph

53 Commits

Author SHA1 Message Date
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
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
672b3abae0 Command line options with getopt_long 2012-03-23 17:55:13 -05: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
Alexander Frolov
45856e02ed Fixed SegFault if TERM variable is not set 2012-02-21 15:04:05 +04:00
Peetz0r
187a214e50 Clear the screen when done (standalone, not telnet). 2011-12-06 10:54:48 +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
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
Kevin Lange
db216877b8 Fix linefeeds 2011-12-03 19:57:59 -06:00
Kevin Lange
cedbee69a2 Comments? In /my/ code? It's more likely than you think. 2011-12-03 19:49:30 -06:00
Kevin Lange
c556b4ec19 Restore updated VT220 palette 2011-12-03 19:27:36 -06:00
Kevin Lange
8f120c4db3 Fix merge conflict 2011-12-03 19:09:38 -06:00
Kevin Lange
ed1684e64e Get rid of all of that nasty python 2011-12-03 19:00:34 -06:00
Kevin Lange
d2a07f7e5a Perhaps better characters for a VT220 2011-12-03 01:06:08 -06:00
Kevin Lange
843ffa271a Fix string literal warning 2011-12-03 00:34:07 -06:00
Kevin Lange
29e3645b84 Make the eyes uniform 2011-12-03 00:32:39 -06:00
Kevin Lange
4c5daecb46 Use the flat mouth 2011-12-03 00:30:49 -06:00
Kevin Lange
24178fc87b Merge pull request #9 from MostAwesomeDude/fix-sprinkles
nyancat.c: Fix up sprinkles.
2011-12-02 22:26:33 -08:00
Myles Borins
a51ae10140 Added include for signal.h 2011-12-02 01:52:30 -05:00
Myles Borins
f95145fc4f Added SIGINT_handler to re-initialize cursor for reset on non-sane terminal emulators 2011-12-02 01:30:26 -05:00
Aaron Peschel
a3d3ec3c4e Fixed some issues with animation.
Conflicts:

	src/nyancat.c
2011-12-01 19:39:20 -08:00
Corbin Simpson
96e42b348f nyancat.c: Fix up sprinkles.
In the top left and top right, a pair of sprinkles were occasionally missing;
they are now always present.

In the bottom left, a corner of the poptart was occasionally frosted instead
of cookie; it is now always cookie to match the other corners.

In the bottom left, a sprinkle was occilating between two locations; it was
moved to the more correct location on the right.
2011-12-01 19:13:11 -08:00
Kevin Lange
b49f6dc4c6 People won't have that, let's not scare them with an error message 2011-12-01 19:18:35 -06:00
Kevin Lange
a39e81f789 make that executable 2011-12-01 19:16:52 -06:00
Kevin Lange
b2615aef00 Update everything 2011-12-01 19:15:38 -06:00