Commit Diff


commit - ffa1604d4ec3df10468b73b065c0cfe12fedd27c
commit + 86395f5c1e1693b506e0e3e9087a073aeb694e86
blob - a47df7ecbb01ead9247b223e059a1ec95dbbefb5
blob + 9626104a8f2af8957362ac9ff550a38e8e70706b
--- Makefile.am
+++ Makefile.am
@@ -1,5 +1,5 @@
 bin_PROGRAMS =		telescope
-telescope_SOURCES =	telescope.c gemini.c gemtext.c url.c util.c about.c ui.c
+telescope_SOURCES =	telescope.c gemini.c gemtext.c url.c util.c pages.c ui.c
 
 dist_doc_DATA =		README.md
 
blob - 70fa25871c6cf66971d840815d9da003ac15074c (mode 644)
blob + /dev/null
--- about.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (c) 2021 Omar Polo <op@omarpolo.com>
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
-
-#include <telescope.h>
-
-#define ASCII_ART							\
-	"```An Ascii art of the word \"Telescope\"\n"			\
-	" _______         __\n"						\
-	"|_     _|.-----.|  |.-----.-----.----.-----.-----.-----.\n"	\
-	"  |   |  |  -__||  ||  -__|__ --|  __|  _  |  _  |  -__|\n"	\
-	"  |___|  |_____||__||_____|_____|____|_____|   __|_____|\n"	\
-	"                                           |__|\n"		\
-	"```\n"
-
-const char *about_new =
-	ASCII_ART
-	"\n"
-	"Version: " VERSION "\n"
-	"Bug reports to: " PACKAGE_BUGREPORT "\n"
-	"=> " PACKAGE_URL " Telescope Gemini site: " PACKAGE_URL "\n"
-	"\n"
-	"*test\n"
-	">quote\n"
-	"Id dolore aperiam voluptatem libero eaque omnis rerum nulla. Ullam sit voluptate accusamus molestiae enim minus. Fugit sequi quam dignissimos. Odio inventore vel sed. Voluptatem aut magni dignissimos."
-	;
blob - /dev/null
blob + 70fa25871c6cf66971d840815d9da003ac15074c (mode 644)
--- /dev/null
+++ pages.c
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) 2021 Omar Polo <op@omarpolo.com>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#include <telescope.h>
+
+#define ASCII_ART							\
+	"```An Ascii art of the word \"Telescope\"\n"			\
+	" _______         __\n"						\
+	"|_     _|.-----.|  |.-----.-----.----.-----.-----.-----.\n"	\
+	"  |   |  |  -__||  ||  -__|__ --|  __|  _  |  _  |  -__|\n"	\
+	"  |___|  |_____||__||_____|_____|____|_____|   __|_____|\n"	\
+	"                                           |__|\n"		\
+	"```\n"
+
+const char *about_new =
+	ASCII_ART
+	"\n"
+	"Version: " VERSION "\n"
+	"Bug reports to: " PACKAGE_BUGREPORT "\n"
+	"=> " PACKAGE_URL " Telescope Gemini site: " PACKAGE_URL "\n"
+	"\n"
+	"*test\n"
+	">quote\n"
+	"Id dolore aperiam voluptatem libero eaque omnis rerum nulla. Ullam sit voluptate accusamus molestiae enim minus. Fugit sequi quam dignissimos. Odio inventore vel sed. Voluptatem aut magni dignissimos."
+	;