better default paths to ispell & xedit

This commit is contained in:
form 2002-05-22 06:48:55 +00:00
parent fa76ff0fbf
commit 5aadaf1989
4 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_mail_fmail_h,v 1.1 2002/05/22 06:48:55 form Exp $
--- src/mail/fmail.h.orig Wed May 22 13:37:52 2002
+++ src/mail/fmail.h Wed May 22 13:38:08 2002
@@ -367,7 +367,7 @@ extern int vsnprintf(char *, size_t, con
#endif
#ifndef _PATH_ISPELL
- #define _PATH_ISPELL "/usr/bin/ispell"
+ #define _PATH_ISPELL "/usr/local/bin/ispell"
#endif
#define NO_SORT 0x00

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_ui_help_txt,v 1.1 2002/05/22 06:48:55 form Exp $
--- src/ui/help.txt.orig Wed May 22 13:42:13 2002
+++ src/ui/help.txt Wed May 22 13:42:45 2002
@@ -2336,7 +2336,7 @@ Config Smart POP.^Config-SPOP
the ispell session itself.
- Path to ispell program
- The full path to the ispell program (defaults to /usr/bin/ispell).
+ The full path to the ispell program (defaults to /usr/local/bin/ispell).
- Ignore cited text
Cited text (text that is marked as included) isn't spell checked if

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-src_ui_msg_cpp,v 1.1 2002/05/22 06:48:55 form Exp $
--- src/ui/msg.cpp.orig Wed May 22 13:33:48 2002
+++ src/ui/msg.cpp Wed May 22 13:34:17 2002
@@ -4595,7 +4595,7 @@ void ext_edit_msg(int num) {
mf->me_flags |= MF_LOCKED;
fl_deactivate_object(mf->me_text);
- e = Config.getCString("extedit", "/usr/bin/X11/xedit");
+ e = Config.getCString("extedit", "/usr/X11R6/bin/xedit");
command[0] = '\0';
for(i = 0; i < strlen(e); i++) {
if((e[i] == '$') && (e[i + 1] == 'f') && i && (e[i - 1] == ' ')) {
@@ -4695,7 +4695,7 @@ void ext_fulledit_msg(int num) {
mf->me_flags |= MF_LOCKED;
msg->status |= MMODIFIED;
- e = Config.getCString("extedit", "/usr/bin/X11/xedit");
+ e = Config.getCString("extedit", "/usr/X11R6/bin/xedit");
command[0] = '\0';
for(i = 0; i < strlen(e); i++) {
if((e[i] == '$') && (e[i + 1] == 'f')) {

View File

@ -0,0 +1,30 @@
$OpenBSD: patch-src_ui_view_edit_cpp,v 1.1 2002/05/22 06:48:55 form Exp $
--- src/ui/view_edit.cpp.orig Wed May 22 13:35:39 2002
+++ src/ui/view_edit.cpp Wed May 22 13:35:59 2002
@@ -141,7 +141,7 @@ void view_conf(int set_default, FD_confi
set_default)));
fl_set_input(view_obj->View_EView,
Config.getCStringDefault("extview",
- "/usr/bin/X11/xedit",
+ "/usr/X11R6/bin/xedit",
set_default));
fl_set_input(view_obj->View_URL,
Config.getCStringDefault("urlview", "",
@@ -205,7 +205,7 @@ void edit_conf(int set_default, FD_confi
set_default));
fl_set_input(edit_obj->Edit_EEdit,
Config.getCStringDefault("extedit",
- "/usr/bin/X11/xedit",
+ "/usr/X11R6/bin/xedit",
set_default));
}
void handle_edit_input(FD_config_viewedit * form) {
@@ -269,7 +269,7 @@ int file_view(char *file, struct _proc_i
strcpy(viewfile, file);
if(!Config.getInt("intview", 0)) {
- e = Config.getCString("extview", "/usr/bin/X11/xedit");
+ e = Config.getCString("extview", "/usr/X11R6/bin/xedit");
command[0] = '\0';
added = 0;
for(i = 0; i < strlen(e); i++) {