Package: mondo
Version: 2.20-1.1
Severity: normal

Andree,

At least with Grub (I no longer run lilo and I did not try that) one
is forced to use 'vi' as the fstab and grub editor, it is harcoded in
mondo-rstr-tools.c #1630.
Instead 'find_my_editor()' should be used, so that when a user uses
'vi' (has it installed) he/she gets that and when a user does not (my
case) one gets nano.

It would seem unnecessary to have to learn 'vi' just because one uses
mondo as a backup tool.

Regards,

Hugo Vanwoerkom


-- Package-specific info:
Patch attached..


=========================================================
Fileystem information not included as per user request.

-- System Information:
Debian Release: 4.0
 APT prefers unstable
 APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages mondo depends on:
ii  afio                        2.5-4        archive file manipulation program
ii  buffer                      1.19-8       Buffering/reblocking program for t
ii  cdrecord                    9:1.1.2-1    Dummy transition package for wodim
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libfribidi0                 0.10.7-4     Free Implementation of the Unicode
ii  libnewt0.52                 0.52.2-10    Not Erik's Windowing Toolkit - tex
ii  lzop                        1.01-4       fast compression program
ii  mindi                       2.20-2       creates boot/root disks based on y

Versions of packages mondo recommends:
ii  dvd+rw-tools                  7.0-7      DVD+-RW/R tools

Versions of packages mindi depends on:
ii  binutils                  2.17-3         The GNU assembler, linker and bina
ii  bzip2                     1.0.3-6        high-quality block-sorting file co
ii  dosfstools                2.11-2.1       Utilities to create and check MS-D
ii  file                      4.19-1         Determines file type using "magic"
ii  gawk                      1:3.1.5.dfsg-4 GNU awk, a pattern scanning and pr
ii  file                      4.19-1         Determines file type using "magic"
ii  gawk                      1:3.1.5.dfsg-4 GNU awk, a pattern scanning and pr
ii  mindi-busybox             1.2.1-2        Collection of shell utilities in a
ii  mkisofs                   9:1.1.2-1      Dummy transition package for genis
ii  module-init-tools         3.3-pre4-1     tools for managing Linux kernel mo
ii  ms-sys                    2.1.0-1        Write a Microsoft compatible boot
ii  nano                      2.0.2-1        free Pico clone with some new feat
ii  parted                    1.7.1-5        The GNU Parted disk partition resi
ii  syslinux                  3.31-1         Bootloader for Linux/i386 using MS
diff -Naur mondo-build-copy/mondo-2.20/mondo/mondorestore/mondo-rstr-tools.c mondo-build-copy2/mondo-2.20/mondo/mondorestore/mondo-rstr-tools.c
--- mondo-build-copy/mondo-2.20/mondo/mondorestore/mondo-rstr-tools.c	2007-03-22 10:10:32.000000000 -0600
+++ mondo-build-copy2/mondo-2.20/mondo/mondorestore/mondo-rstr-tools.c	2007-03-24 05:10:07.000000000 -0600
@@ -1627,7 +1627,7 @@
 	malloc_string(rootdrive);
 	malloc_string(conffile);
 	assert_string_is_neither_NULL_nor_zerolength(bd);
-	strcpy(editor, "vi");		// find_my_editor() );
+	strcpy(editor, find_my_editor() );
 	strcpy(boot_device, bd);
 
 	if (!run_program_and_log_output("which grub-MR", FALSE)) {

Reply via email to