Package: wyrd
Version: 1.4.1-2
Severity: minor
Tags: patch
The current default wyrdrc uses $EDITOR as its main source for
information about the desired editor. Many people set editor to a
line-oriented editor like 'ed' and $VISUAL to their prefered fullscreen
editor.
The included patch uses $VISUAL (if set and non-empty) and uses $EDITOR
as a fallback solution.
Regards, Frank
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.19-rc3suspend2
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages wyrd depends on:
ii less 394-4 Pager program similar to more
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libncurses5 5.5-5 Shared libraries for terminal hand
ii remind 03.00.24-4 a sophisticated reminder service
wyrd recommends no packages.
-- no debconf information
--- wyrdrc.orig 2006-11-27 11:42:27.000000000 +0100
+++ wyrdrc 2006-11-27 11:42:35.000000000 +0100
@@ -5,11 +5,11 @@
# the default reminder file to display
set reminders_file="~/.reminders"
# command for editing an old appointment, given a line number %line% and
filename %file%
-set edit_old_command="$EDITOR +%line% %file%"
+set edit_old_command="${VISUAL:-$EDITOR} +%line% %file%"
# command for editing a new appointment, given a filename %file%
-set edit_new_command="$EDITOR +999999 %file%"
+set edit_new_command="${VISUAL:-$EDITOR} +999999 %file%"
# command for free editing of the reminders file, given a filename %file%
-set edit_any_command="$EDITOR %file%"
+set edit_any_command="${VISUAL:-$EDITOR} %file%"
# templates for creating new appointments