From f80ac1a037375dec88c959fc7757a6f203f62b03 Mon Sep 17 00:00:00 2001 From: Joshua Coats Date: Fri, 6 May 2016 19:39:49 -0700 Subject: Adding a default runes.conf configuration and a return 0 for compatibility --- runes.conf.default | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/runesc.c | 1 + 2 files changed, 59 insertions(+) create mode 100644 runes.conf.default diff --git a/runes.conf.default b/runes.conf.default new file mode 100644 index 0000000..8b608ea --- /dev/null +++ b/runes.conf.default @@ -0,0 +1,58 @@ +# runes looks for a configuration file in the following places: +# - $XDG_CONFIG_HOME/runes/runes.conf (if $XDG_CONFIG is set) or $HOME/.config/runes/runes.conf +# - $HOME/.runesrc +# - /etc/runesrc + +# Geometry configuration + +# cols = 80 +# rows = 24 + + +# Font configuration + +# font = monospace 10 +# bold_is_bold = true +# bold_is_bright = true + + +# Miscellaneous configuration + +# audible_bell = true +# bell_is_urgent = true +# scroll_lines = 3 +# scrollback_length = 4096 + +# while "command" is not set by default, it will default to $SHELL if possible and to /bin/sh +# if $SHELL is not set. +# command = /bin/sh + + +# Color configuration +# fgcolor = #d2d2d2 +# bgcolor = #000000 +# cursorcolor = #00ff00 +# mousecursorcolor = #ffffff +# color0 = #000000 +# color1 = #cd0000 +# color2 = #00cd00 +# color3 = #cdcd00 +# color4 = #0000cd +# color5 = #cd00cd +# color6 = #00cdcd +# color7 = #e4e4e4 +# color8 = #4d4d4d +# color9 = #ff0000 +# color10 = #00ff00 +# color11 = #ffff00 +# color12 = #0000ff +# color13 = #ff00ff +# color14 = #00ffff +# color15 = #ffffff +# color16 = #000000 +# color17 = #00005f +# color18 = #000086 +# color19 = #0000ae +# color20 = #0000d6 +# color21 = #0000ff +# (and so on through color255) diff --git a/src/runesc.c b/src/runesc.c index 7b57ac8..51ea1f3 100644 --- a/src/runesc.c +++ b/src/runesc.c @@ -40,6 +40,7 @@ int main (int argc, char *argv[]) send(s, buf, offset, 0); free(buf); shutdown(s, SHUT_RDWR); + return 0; } static int runes_socket_open_client(char *name) -- cgit v1.2.3