Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates-src > by-pkgid > deb25ae7d0a5e0e3ba70e3a9523f1a54 > files > 1

joe-4.6-1.mga6.src.rpm

--- joe-4.3/rc/joerc.in.TERM	2016-07-18 18:11:09.000000000 +0300
+++ joe-4.3/rc/joerc.in	2017-01-14 23:09:23.500208638 +0200
@@ -88,41 +88,41 @@
  -exask		^KX always confirms file name
 
  -beep		Beep on errors and when cursor goes past extremes
 
  -nosta		Disable top-most status line
 
 -keepup	%k and %c status line escape sequences updated frequently
 
  -pg nnn	No. lines to keep for PgUp/PgDn
 
  -undo_keep nnn	Number of undo records to keep.  0 for infinite.
 
  -csmode	^KF after a pervious search does a ^L instead
 
  -backpath path
 		Directory to store backup files (one space between
 		'backpath' and the 'path', no trailing spaces or comments
 		after the path).
 
  -floatmouse	Clicking past end of line moves the cursor past the end
- 
+
  -rtbutton	Use the right mouse button for action, instead of the left
 
  -nonotice	Disable copyright notice
 
  -noexmsg	Disable exiting message ("File not changed so no update needed")
 
 -noxon		Attempt to turn off ^S/^Q processing
 
  -orphan	Put extra files given on command line in orphaned buffers
 		instead of in windows
 
  -dopadding	Output pad characters (for when there is no tty handshaking)
 
  -lines nnn	Set no. screen lines
 
  -baud nnn	Set baud rate for terminal optimizations
 
  -columns nnn	Set no. screen columns
 
  -helpon	Start with help on
@@ -244,41 +244,41 @@
   %a  Ascii value of character under cursor
   %A  Ascii value of character under cursor in hex
   %w  Width of character under cursor
   %p  Percent of file cursor is at
   %l  No. lines in file
   %k  Entered prefix keys
   %S  '*SHELL*' if there is a shell running in window
   %M  Macro recording message
   %y  Syntax
   %e  Encoding of file
   %b  Encoding of terminal
   %x  Context (first non-indented line going backwards)
   %dd day
   %dm month
   %dY year
   %Ename%  value of environment variable
   %Zname%  value of option (ON or OFF for boolean options)
            (hit TAB at mode command prompt for full list)
 
  These formatting escape sequences may also be given:
- 
+
   \i  Inverse
   \u  Underline
   \b  Bold
   \d  Dim
   \f  Blink
   \l  Italic
 
 -lmsg \i%k%T%W%I%X %n %m%y%R %M %x
 -rmsg  %S Row %4r Col %3c 
 -smsg ** Line %r Col %c Offset %o(0x%O) %e %a(0x%A) Width %w ** 
 -zmsg ** Line %r Col %c Offset %o(0x%O) ** 
 -xmsg \i Joe's Own Editor %v (%b) ** Type \bCtrl-K Q\b to exit or \bCtrl-K H\b for help **\i
 
  Key sequence hints which are displayed in various prompts.
 -aborthint ^C
 -helphint ^K H
 
  SECOND SECTION: File name dependant local option settings:
 
  Name a file type definition section with:
@@ -818,92 +818,96 @@
 querysave,query,killjoe	^K ^Q
 querysave,query,killjoe	^K q
 arg		^K \		Repeat next command
 explode		^K I		Show all windows or show only one window
 explode		^K ^I
 explode		^K i
 help		^K H		Help menu
 help		^K ^H
 help		^K h
 hnext		^[ .		Next help window
 hprev		^[ ,		Previous help window
 math		^[ m		Calculator
 math		^[ M		Calculator
  math		^[ ^M		Calculator
 msg		^[ h		Display a message
 msg		^[ H		Display a message
 msg		^[ ^H		Display a message
 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 ~
  pgdn      ^# S
 pgup		.kP		Screen up
 pgup		^U
 pgup		^[ [ 5 ~
  pgup      ^# T
 play		^K 0 TO 9	Execute macro
 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
  recenter	^R		Recenter and refresh screen
 rtn		^M		Return
 shell		^K Z		Shell escape
 shell		^K ^Z
 shell		^K z
 stop		^K ]		Stop recording
  Mouse handling
 defmdown	MDOWN		Move the cursor to the mouse location
 defmup		MUP
 defmdrag	MDRAG		Select a region of characters
 defm2down	M2DOWN		Select the word at the mouse location
 defm2up		M2UP
 defm2drag	M2DRAG		Select a region of words
 defm3down	M3DOWN		Select the line at the mouse location
 defm3up		M3UP
 defm3drag	M3DRAG		Select a region of lines
 defmiddleup	MIDDLEUP
 defmiddledown	MIDDLEDOWN	Insert text
 
 xtmouse		^[ [ M		Introduces an xterm mouse event
 extmouse	^[ [ <		Introduces an extended xterm mouse event
 
  Sample if/then/else macro
  if,"char==65",then,"it's an A",else,"it's not an a",endif	^[ q
 
 :main			Text editing window
 :inherit windows
 
  Spell-check macros
 
  Ispell
 :def ispellfile filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;cat ispell.tmp;/bin/rm ispell.tmp",rtn,retype
 :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
 aspellword	^[ n
 
  Compile
 
 :def compile mwind!,mfit!,querysave,query,scratch,"* Build Log *",rtn,bof,markb,eof," ",markk,blkdel,build
 
  Grep
 
 :def grep_find mwind!,mfit!,scratch,"* Grep Log *",rtn,bof,markb,eof," ",markk,blkdel,grep
 
  Man page
 
 :def man scratch,"* Man Page *",rtn,bof,markb,eof," ",markk,blkdel," ",ltarw,run,"man -P cat -S 2:3 "
 
  Shell windows
  We load the already existing Startup Log first so that Shell does not inherit the current directory.
 
@@ -1157,43 +1161,47 @@
 line		^K L		Goto line no.
 line		^K ^L
 line		^K l
 ltarw		.kl		Go left
 ltarw		^B
 ltarw		^[ O D
 ltarw		^[ [ D
  ltarw          ^# D
 macros		^[ d		Dump keyboard macros
 macros		^[ ^D
 markb		^K B		Set beginning of marked block
 markb		^K ^B
 markb		^K b
 markk		^K K		Set end of marked block
 markk		^K ^K
 markk		^K k
  mode		^T		Options menu
 menu,"root",rtn	^T
 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
 reload		^K `		Revert file
 redo		^^		Redo changes
 rindent		^K .		Indent to right
 rtarw		.kr		Go right
 rtarw		^F
 rtarw		^[ O C
 rtarw		^[ [ C
  rtarw          ^# C
 run		^K !		Run a shell command
 save		^K D		Save file
 save		^K S
 save		^K ^D
 save		^K ^S
 save		^K d
 save		^K s
 setmark		^[ ^[		Set bookmark
 shrinkw		^K T		Shrink window
 shrinkw		^K ^T
 shrinkw		^K t
 splitw		^K O		Split window