~ubuntu-branches/ubuntu/lucid/mc/lucid

« back to all changes in this revision

Viewing changes to debian/patches/debian/04_debian_menu_additions.patch

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Winnertz
  • Date: 2008-09-16 10:38:59 UTC
  • mfrom: (3.1.6 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080916103859-2uwn8w61xk5mbxxq
Tags: 2:4.6.2~git20080311-4
Corrected fix for odt2txt issue (Closes: #492019) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -Nurwd mc-4.6.2~pre1/lib/mc.menu mc-4.6.2~pre1.patched/lib/mc.menu
 
2
--- mc-4.6.2~pre1/lib/mc.menu   2005-09-06 08:01:07.000000000 +0200
 
3
+++ mc-4.6.2~pre1.patched/lib/mc.menu   2008-01-25 10:06:19.000000000 +0100
 
4
@@ -15,7 +15,7 @@
 
5
 
 
6
 0       Edit a bug report and send it to root
 
7
        I=`mktemp ${MC_TMPDIR:-/tmp}/mail.XXXXXX` || exit 1
 
8
-       ${EDITOR-vi} $I
 
9
+       ${EDITOR-editor} $I
 
10
        test -r $I && mail root < $I
 
11
        rm -f $I
 
12
 
 
13
@@ -330,3 +330,7 @@
 
14
 o       Open next a free console
 
15
         open -s -- sh
 
16
 
 
17
+=+ f \.dsc$ & t r
 
18
+x       Extract the contents of a Debian source package
 
19
+        dpkg-source -x %f
 
20
+
 
21
diff -Nurwd mc-4.6.2~pre1/src/util.h mc-4.6.2~pre1.patched/src/util.h
 
22
--- mc-4.6.2~pre1/src/util.h    2006-02-03 18:04:17.000000000 +0100
 
23
+++ mc-4.6.2~pre1.patched/src/util.h    2008-01-25 10:06:19.000000000 +0100
 
24
@@ -222,7 +222,7 @@
 
25
 #define PATH_ENV_SEP ':'
 
26
 #define TMPDIR_DEFAULT "/tmp"
 
27
 #define SCRIPT_SUFFIX ""
 
28
-#define get_default_editor() "vi"
 
29
+#define get_default_editor() "editor"
 
30
 #define OS_SORT_CASE_SENSITIVE_DEFAULT 1
 
31
 #define STRCOMP strcmp
 
32
 #define STRNCOMP strncmp