humanizing the config file examples.
authorChris Koeritz <fred@gruntose.com>
Thu, 18 Apr 2013 01:04:32 +0000 (21:04 -0400)
committerChris Koeritz <fred@gruntose.com>
Thu, 18 Apr 2013 01:04:32 +0000 (21:04 -0400)
database/configuration/emacs/dot-emacs [deleted file]
database/configuration/emacs/dot.emacs [new file with mode: 0644]
database/configuration/readme.txt [new file with mode: 0644]
database/configuration/screen/dot.screenrc [new file with mode: 0644]
database/configuration/screen/screenrc [deleted file]
database/configuration/vim/dot.vimrc [new file with mode: 0644]
database/configuration/vim/dotvimrc [deleted file]
database/configuration/webcam/dot.webcamrc [new file with mode: 0644]
database/configuration/webcam/webcamrc_example [deleted file]

diff --git a/database/configuration/emacs/dot-emacs b/database/configuration/emacs/dot-emacs
deleted file mode 100644 (file)
index 9a140a9..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-
-# this is an example .emacs file with my preferred indentation for code.
-
-(setq c-default-style "linux"
-  c-basic-offset 2)
-
-
diff --git a/database/configuration/emacs/dot.emacs b/database/configuration/emacs/dot.emacs
new file mode 100644 (file)
index 0000000..9a140a9
--- /dev/null
@@ -0,0 +1,7 @@
+
+# this is an example .emacs file with my preferred indentation for code.
+
+(setq c-default-style "linux"
+  c-basic-offset 2)
+
+
diff --git a/database/configuration/readme.txt b/database/configuration/readme.txt
new file mode 100644 (file)
index 0000000..86a257a
--- /dev/null
@@ -0,0 +1,9 @@
+
+this directory provides a bunch of example configuration files for different
+services and programs.
+
+some of the files here are named "dot.something", and that generally should
+be translated to a real name of ".something".  otherwise, these configuration
+example files would be hidden (since the start with a dot), which doesn't
+make a very good example.
+
diff --git a/database/configuration/screen/dot.screenrc b/database/configuration/screen/dot.screenrc
new file mode 100644 (file)
index 0000000..bc3f9bd
--- /dev/null
@@ -0,0 +1,12 @@
+
+nethack on
+
+logfile $HOME/.tmp/zz_screenlog_%t_%Y_%m_%d_%c.%n
+
+defscrollback 1024
+
+# Display the status line
+hardstatus on
+hardstatus alwayslastline
+hardstatus string "%{.kW}%-w%{.bW}%t [%n]%{-}%+w %=%{..G} %H %{..Y} %Y/%m/%d %c"
+
diff --git a/database/configuration/screen/screenrc b/database/configuration/screen/screenrc
deleted file mode 100644 (file)
index bc3f9bd..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-
-nethack on
-
-logfile $HOME/.tmp/zz_screenlog_%t_%Y_%m_%d_%c.%n
-
-defscrollback 1024
-
-# Display the status line
-hardstatus on
-hardstatus alwayslastline
-hardstatus string "%{.kW}%-w%{.bW}%t [%n]%{-}%+w %=%{..G} %H %{..Y} %Y/%m/%d %c"
-
diff --git a/database/configuration/vim/dot.vimrc b/database/configuration/vim/dot.vimrc
new file mode 100644 (file)
index 0000000..b271fa5
--- /dev/null
@@ -0,0 +1,30 @@
+
+" cranks up the register saved buffer size to 1000 lines, since otherwise the cut buffer will only
+" preserve the default 50 lines for a paste to another file.  this makes all registers go up to
+" this size though, so if you save to a lot of different ones, you will use more space in your
+" viminfo file.
+set viminfo='100,<1000,s10,h
+
+" tells vim not to make a backup of the file before editing it; this is living dangerously.
+set nobk
+
+" nocompatible|nocp turns off compatibility mode, allowing filename completion.
+set nocompatible
+
+" elflord just happens to be the color scheme i prefer.  there are a bunch.
+colorscheme elflord
+
+" map the normal copy, cut and paste keys (ctrl-c, ctrl-x & ctrl-v) for vim.
+nmap <C-V> "+gP
+imap <C-V> <ESC><C-V>i
+vmap <C-C> "+y 
+vmap <C-X> "+c
+
+" map ctrl-a to select all of the file.  ctrl-i increments, whatever that is.
+noremap <C-I> <C-A>
+noremap <C-A> gggH<C-O>G
+inoremap <C-A> <C-O>gg<C-O>gH<C-O>G
+cnoremap <C-A> <C-C>gggH<C-O>G
+onoremap <C-A> <C-C>gggH<C-O>G
+snoremap <C-A> <C-C>gggH<C-O>G
+xnoremap <C-A> <C-C>ggVG
diff --git a/database/configuration/vim/dotvimrc b/database/configuration/vim/dotvimrc
deleted file mode 100644 (file)
index b271fa5..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-
-" cranks up the register saved buffer size to 1000 lines, since otherwise the cut buffer will only
-" preserve the default 50 lines for a paste to another file.  this makes all registers go up to
-" this size though, so if you save to a lot of different ones, you will use more space in your
-" viminfo file.
-set viminfo='100,<1000,s10,h
-
-" tells vim not to make a backup of the file before editing it; this is living dangerously.
-set nobk
-
-" nocompatible|nocp turns off compatibility mode, allowing filename completion.
-set nocompatible
-
-" elflord just happens to be the color scheme i prefer.  there are a bunch.
-colorscheme elflord
-
-" map the normal copy, cut and paste keys (ctrl-c, ctrl-x & ctrl-v) for vim.
-nmap <C-V> "+gP
-imap <C-V> <ESC><C-V>i
-vmap <C-C> "+y 
-vmap <C-X> "+c
-
-" map ctrl-a to select all of the file.  ctrl-i increments, whatever that is.
-noremap <C-I> <C-A>
-noremap <C-A> gggH<C-O>G
-inoremap <C-A> <C-O>gg<C-O>gH<C-O>G
-cnoremap <C-A> <C-C>gggH<C-O>G
-onoremap <C-A> <C-C>gggH<C-O>G
-snoremap <C-A> <C-C>gggH<C-O>G
-xnoremap <C-A> <C-C>ggVG
diff --git a/database/configuration/webcam/dot.webcamrc b/database/configuration/webcam/dot.webcamrc
new file mode 100644 (file)
index 0000000..f6b0aaa
--- /dev/null
@@ -0,0 +1,37 @@
+
+[grab]
+       device = /dev/video0
+       text = "webcam %Y-%m-%d %H:%M:%S"
+#       infofile = filename
+       fg_red = 255
+       fg_green = 255
+       fg_blue = 255
+       width = 320
+       height = 240
+       delay = 1
+       wait = 0
+#       input = composite1
+       norm = pal
+       rotate = 0
+       top = 0
+       left = 0
+       bottom = 239
+       right = 319
+       quality = 85
+       trigger = 100
+       once = 0
+
+[velma]
+       host = velma
+       user = anonymous
+       pass = fred@
+       dir  = incoming
+       file = webcam.jpeg
+       tmp  = uploading.jpeg
+       passive = 1
+       debug = 0
+       auto = 0
+       local = 0
+       ssh = 0
+
+
diff --git a/database/configuration/webcam/webcamrc_example b/database/configuration/webcam/webcamrc_example
deleted file mode 100644 (file)
index f6b0aaa..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-
-[grab]
-       device = /dev/video0
-       text = "webcam %Y-%m-%d %H:%M:%S"
-#       infofile = filename
-       fg_red = 255
-       fg_green = 255
-       fg_blue = 255
-       width = 320
-       height = 240
-       delay = 1
-       wait = 0
-#       input = composite1
-       norm = pal
-       rotate = 0
-       top = 0
-       left = 0
-       bottom = 239
-       right = 319
-       quality = 85
-       trigger = 100
-       once = 0
-
-[velma]
-       host = velma
-       user = anonymous
-       pass = fred@
-       dir  = incoming
-       file = webcam.jpeg
-       tmp  = uploading.jpeg
-       passive = 1
-       debug = 0
-       auto = 0
-       local = 0
-       ssh = 0
-
-