ports/119447: [patch] ysm's charset conversion does not work
Eugene Grosbein
eugen at kuzbass.ru
Tue Jan 8 17:30:04 UTC 2008
The following reply was made to PR ports/119447; it has been noted by GNATS.
From: Eugene Grosbein <eugen at kuzbass.ru>
To: bug-followup at freebsd.org
Cc:
Subject: Re: ports/119447: [patch] ysm's charset conversion does not work
Date: Wed, 9 Jan 2008 00:21:24 +0700
Hi!
Another patch to make ysm more usable. It switches readline
to "vi-insert" editing mode instead of default and more common "emacs".
One could workaround this with the following section in ~/.inputrc:
$if ysm
set editing-mode emacs
set horizontal-scroll-mode off
$endif
But ysm does not inform readline about its name, hence the patch
for files/ directory. One may use ~/.ysm/inputrc file for readline settings
dedicated for ysm but centralized ~/.inputrc should be supported too,
--- src/YSM_Prompt.c.orig Tue Jan 8 23:37:16 2008
+++ src/YSM_Prompt.c Wed Jan 9 00:10:32 2008
@@ -564,6 +564,11 @@
YSM_ConsoleRestore();
/* Set default readline values */
+
+ rl_readline_name = "ysm";
+ using_history();
+ unstifle_history();
+
rl_variable_bind("editing-mode", "emacs");
rl_bind_key('\t', YSM_ConsoleTabHook); /* Tab hook for emacs */
/* ysm hot keys */
More information about the freebsd-ports-bugs
mailing list