File: 10sensible_editor.dpatch

package info (click to toggle)
crip 3.7-3%2Betch2
  • links: PTS
  • area: main
  • in suites: etch
  • size: 200 kB
  • ctags: 10
  • sloc: perl: 2,030; sh: 289; makefile: 35
file content (44 lines) | stat: -rw-r--r-- 1,326 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10sensible_editor.dpatch by  <timo.schneider@s2004.tu-chemnitz.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Use sensible-editor instead of vim as editor

@DPATCH@

diff -Nur crip-3.6/crip crip-3.6timos/crip
--- crip-3.6/crip	2005-05-07 11:22:37.000000000 +0200
+++ crip-3.6timos/crip	2005-11-03 15:00:16.000000000 +0100
@@ -66,7 +66,7 @@
 $editnames = "on";
 
 # Your favorite editor for editing filenames and tag files
-$editor = "vim";
+$editor = "sensible-editor";
 
 # Default contact information (put YOUR e-mail address here!)
 # Remember to escape the '@' (by putting a '\' before it).
diff -Nur crip-3.6/editcomment crip-3.6timos/editcomment
--- crip-3.6/editcomment	2003-01-06 08:36:00.000000000 +0100
+++ crip-3.6timos/editcomment	2005-11-03 15:00:45.000000000 +0100
@@ -4,7 +4,7 @@
 #
 
 # Put preferred editor here
-$editor = "vim";
+$editor = "sensible-editor";
 
 $file = $ARGV[0];
 
diff -Nur crip-3.6/editfilenames crip-3.6timos/editfilenames
--- crip-3.6/editfilenames	2005-01-30 12:10:40.000000000 +0100
+++ crip-3.6timos/editfilenames	2005-11-03 15:01:41.000000000 +0100
@@ -4,7 +4,7 @@
 #
 
 # Put preferred editor here
-$editor = "vim";
+$editor = "sensible-editor";
 
 # Temporary filename
 $tmpfile = "/tmp/filelist.txt";