Sophie

Sophie

distrib > Mandriva > mes5 > i586 > by-pkgid > 44102e831384eccf0c78e915f1471528 > files > 2

joe-3.5-8mdv2009.0.src.rpm

--- joe-3.5/rc/joerc.in.term	2006-06-21 15:15:50.000000000 +0200
+++ joe-3.5/rc/joerc.in	2006-08-08 09:36:28.000000000 +0200
@@ -565,6 +565,8 @@
 nextw		^K N		Goto next window
 nextw		^K ^N
 nextw		^K n
+nextw		^[ [ 1 ; 3 C	alt right in (newer) xterm
+nextw		^[ [ 3 C	alt right in gnome-terminal
 pgdn		.kN		Screen down
 pgdn		^V
 pgdn		^[ [ 6 ~
@@ -577,6 +579,8 @@
 prevw		^K P		Goto previous window
 prevw		^K ^P
 prevw		^K p
+prevw		^[ [ 1 ; 3 D	alt left in (newer) xterm
+prevw		^[ [ 3 D	alt left in gnome-terminal
 query		^K ?		Macro query insert
 record		^K [		Record a macro
 retype		^R		Refresh screen
@@ -610,8 +614,8 @@
 :def ispellword psh,nextword,markk,prevword,markb,filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;tr -d <ispell.tmp '\\012';/bin/rm ispell.tmp",rtn,retype,nextword
 
  Aspell
-:def aspellfile filt,"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell --lang=",language,".",charset," -x -c $SPLTMP </dev/tty >/dev/tty;cat $SPLTMP;/bin/rm $SPLTMP",rtn,retype
-:def aspellword psh,nextword,markk,prevword,markb,filt,"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell --lang=",language,".",charset," -x -c $SPLTMP </dev/tty >/dev/tty;tr -d <$SPLTMP '\\012';/bin/rm $SPLTMP",rtn,retype,nextword
+:def aspellfile filt,"SPLTMP=`mktemp -t joespell.XXXXXXXXXX`;cat >$SPLTMP;aspell --lang=",language,".",charset," -x -c $SPLTMP </dev/tty >/dev/tty;cat $SPLTMP;/bin/rm $SPLTMP",rtn,retype
+:def aspellword psh,nextword,markk,prevword,markb,filt,"SPLTMP=`mktemp -t joespell.XXXXXXXXXX`;cat >$SPLTMP;aspell --lang=",language,".",charset," -x -c $SPLTMP </dev/tty >/dev/tty;tr -d <$SPLTMP '\\012';/bin/rm $SPLTMP",rtn,retype,nextword
 
 
 aspellfile	^[ l
@@ -861,9 +865,13 @@
 mode		^T		Options menu
 nextpos		^K =		Goto next position in position history
 nextword	^X		Goto next word
+nextword	^[ [ 1 ; 5 C	ctrl right in (newer) xterm
+nextword	^[ [ 5 C	ctrl right in gnome-terminal
 open		^]		Split line
 prevpos		^K -		Previous position in history
 prevword	^Z		Previous word
+prevword	^[ [ 1 ; 5 D	ctrl left in (newer) xterm
+prevword	^[ [ 5 D	ctrl left in gnome-terminal
 redo		^^		Redo changes
 rindent		^K .		Indent to right
 rtarw		.kr		Go right