From 9b72621135aad321c421e7464fc4339a2a52e245 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 1 Aug 2021 05:48:15 -0400 Subject: config defaults: cfte, config-file & cle --- views/configuration.txt | 22 ++++++++++++++++++++++ views/configuration_suggested.txt | 23 +++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 views/configuration.txt create mode 100644 views/configuration_suggested.txt (limited to 'views') diff --git a/views/configuration.txt b/views/configuration.txt new file mode 100644 index 0000000..226631d --- /dev/null +++ b/views/configuration.txt @@ -0,0 +1,22 @@ +struct Cfg { + string www_http = "http"; + string www_doc_root = "/srv/www/spine/static"; + string www_domain = "localhost"; + string www_domain_doc_root = "localhost"; + string www_url_doc_root = "http://localhost"; + string cgi_bin_root = "/var/www/cgi/cgi-bin/"; + string cgi_bin_part = "cgi-bin"; + string cgi_filename = "spine_search"; + string cgi_url_root = "http://localhost/cgi-bin"; + string cgi_port = ""; + string cgi_user = ""; + string cgi_url_action = "http://localhost/cgi-bin/spine_search"; + string cgi_title = "≅ SiSU Spine search"; + string db_sqlite_doc_root = "/srv/www/spine/static/sqlite/"; + string db_sqlite_filename = "spine.search.db"; + string default_language = "en"; + string default_papersize = "a4"; + string default_text_wrap = "80"; + string default_hash_digest = "sha256"; +} +enum _cfg = Cfg(); diff --git a/views/configuration_suggested.txt b/views/configuration_suggested.txt new file mode 100644 index 0000000..3bdf8b4 --- /dev/null +++ b/views/configuration_suggested.txt @@ -0,0 +1,23 @@ +/+ obt - org-mode generated file +/ +struct Cfg { + string www_http = "http"; + string www_doc_root = "/srv/www/spine/static"; // "/var/www/html" + string www_domain = "localhost"; + string www_domain_doc_root = "localhost"; + string www_url_doc_root = "http://localhost"; + string cgi_bin_root = "/var/www/cgi/cgi-bin/"; // "/usr/lib/cgi-bin" + string cgi_bin_part = "cgi-bin"; + string cgi_filename = "spine_search"; // "spine-search" + string cgi_url_root = "http://localhost/cgi-bin"; + string cgi_port = ""; + string cgi_user = ""; + string cgi_url_action = "http://localhost/cgi-bin/spine_search"; + string cgi_title = "≅ SiSU Spine search"; + string db_sqlite_doc_root = "/srv/www/spine/static/sqlite/"; + string db_sqlite_filename = "spine.search.db"; + string default_language = "en"; + string default_papersize = "a4"; + string default_text_wrap = "80"; + string default_hash_digest = "sha256"; +} +enum _cfg = Cfg(); -- cgit v1.2.3