Bug 1206193 - joe-3.8 with old joe config breaks middle mouse button (X PRIMARY clipboard) paste
Summary: joe-3.8 with old joe config breaks middle mouse button (X PRIMARY clipboard) ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: joe
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikola Forró
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-26 14:15 UTC by Yanko Kaneti
Modified: 2015-11-01 02:49 UTC (History)
2 users (show)

Fixed In Version: joe-4.0-2.fc23
Clone Of:
Environment:
Last Closed: 2015-11-01 02:49:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Yanko Kaneti 2015-03-26 14:15:17 UTC
Description of problem:
Start joe in a any x terminal
Type something.
Select said something with the mouse.
Middle click to paste and see 0~something1~

Version-Release number of selected component (if applicable):
joe-3.8-1.fc23.x86_64

Comment 1 Jan Chaloupka 2015-05-18 11:05:54 UTC
Hi Yanko,

I can not reproduce this issue. Can you be more specific? How do you start joe?
$ joe
?

I did:
$ joe
then types some lines, selected a string, went on the next line and pushed middle button. No 0~ or 1~ characters.

Comment 2 Yanko Kaneti 2015-05-18 11:17:15 UTC
(In reply to Jan Chaloupka from comment #1)
> I can not reproduce this issue. Can you be more specific? How do you start
> joe?
> $ joe

Exactly right. I don't think I can be any more specific than that.
 
> I did:
> $ joe
> then types some lines, selected a string, went on the next line and pushed
> middle button. No 0~ or 1~ characters.

Well, I can't tell you what difference might have this effect but its still broken here...

Comment 3 Jan Chaloupka 2015-05-18 11:20:59 UTC
What Fedora are you running on?

Comment 4 Yanko Kaneti 2015-05-18 11:25:11 UTC
Ok, I figured its the old joerc config. I always have it modified for nobackups so its not replaced on upgrades. And apparently 3.8 deals with it subotmally.

Here is a diff between my old config (3.8 broken) and the stock joerc from the rpm (3.8 working)
# diff -ur joerc.test joerc
--- joerc.test	2009-03-10 05:09:48.000000000 +0200
+++ joerc	2015-03-23 15:44:57.000000000 +0200
@@ -18,7 +18,7 @@
  Put each color override you want in the first column.
 
  Valid colors:
-   bold inverse blink dim underline
+   bold inverse blink dim underline italic
    white cyan magenta blue yellow green red black
    bg_white bg_cyan bg_magenta bg_blue bg_yellow bg_green bg_red bg_black
 
@@ -68,7 +68,9 @@
 
  -nocurdir	Do not prompt with current directory
 
--nobackups	If you don't want backup files to be created
+ -nobackups	If you don't want backup files to be created
+
+ -nodeadjoe	If you don't want DEADJOE files to be created
 
  -break_hardlinks
 		Delete file before writing, to break hard links
@@ -106,6 +108,8 @@
 
  -nonotice	Disable copyright notice
 
+ -noexmsg	Disable exiting message ("File not changed so no updated needed")
+
  -noxon		Attempt to turn off ^S/^Q processing
 
  -orphan	Put extra files given on command line in orphaned buffers
@@ -126,6 +130,9 @@
 -notite         Don't send terminal initialization and termination strings:
                 prevents restoration of screen on exit.
 
+ -nolinefeeds	Prevent sending linefeeds to preserve screen history in terminal
+                emulator's scroll-back buffer.
+
  -usetabs       Use tabs to help optimize screen update.
 
 -assume_color	Assume terminal has ANSI color support even if termcap/terminfo entry
@@ -238,6 +245,7 @@
   \b  Bold
   \d  Dim
   \f  Blink
+  \l  Italic
 
 -lmsg \i%k%T%W%I%X %n %m%y%R %M %x
 -rmsg  %S Row %r Col %c %t  Ctrl-K H for help
@@ -344,6 +352,8 @@
 
 	These define the language syntax for ^G (goto matching delimiter):
 
+	-highlighter_context	Use the highlighter context for ^G
+
 	-single_quoted		Text between '  ' should be ignored (this is
 				not good for regular text since ' is
 				normally used alone as an apostrophe)
@@ -367,7 +377,7 @@
 
  Default local options
 -highlight
--istep 2
+-istep 4
 
  Perforce macro: use this macro (put in first column) to have joe "p4 edit"
  a file you're about to change.
@@ -395,17 +405,18 @@
 
 :defmenu root
 mode,"overwrite",rtn	T Overtype %Zoverwrite%
-mode,"hex",rtn	% % Hex edit mode
+mode,"hex",rtn	' Hex edit mode
 mode,"autoindent",rtn	I Autoindent %Zautoindent%
 mode,"wordwrap",rtn	W Word wrap %Zwordwrap%
 mode,"tab",rtn	D Tab width %Ztab%
 mode,"lmargin",rtn	L Left margin %Zlmargin%
 mode,"rmargin",rtn	R Right margin %Zrmargin%
-mode,"square",rtn	X Rectangle mode %Zsquare%
+mode,"square",rtn	X Column mode %Zsquare%
 mode,"indentc",rtn	% % Indent char %Zindentc%
 mode,"istep",rtn	% % Indent step %Zistep%
+menu,"indent",rtn	= Indent select
 mode,"highlight",rtn	H Highlighting %Zhighlight%
-mode,"crlf",rtn	Z CR-LF (MS-DOS) %Zcrlf%
+mode,"crlf",rtn	Z CR-LF/MS-DOS %Zcrlf%
 mode,"linums",rtn	N Line numbers %Zlinums%
 mode,"beep",rtn	B Beep %Zbeep%
 mode,"rdonly",rtn	O Read only %Zrdonly%
@@ -427,6 +438,16 @@
 menu,"marking",rtn	% % marking options
 menu,"tab",rtn	% % tab/indent options
 
+:defmenu indent
+mode,"istep",rtn,"1",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 1, Indent character = 32",rtn	1 Space
+mode,"istep",rtn,"2",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 2, Indent character = 32",rtn	2 Spaces
+mode,"istep",rtn,"3",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 3, Indent character = 32",rtn	3 Spaces
+mode,"istep",rtn,"4",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 4, Indent character = 32",rtn	4 Spaces
+mode,"istep",rtn,"5",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 5, Indent character = 32",rtn	5 Spaces
+mode,"istep",rtn,"8",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 8, Indent character = 32",rtn	8 Spaces
+mode,"istep",rtn,"10",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 10, Indent character = 32",rtn	0 Ten
+mode,"istep",rtn,"1",rtn,mode,"indentc",rtn,"9",rtn,msg,"Indent step = 1, Indent character = 9",rtn	T Tab
+
 :defmenu menu
 mode,"menu_explorer",rtn	% % Menu explorer %Zmenu_explorer%
 mode,"menu_above",rtn	% % Menu position %Zmenu_above%
@@ -434,6 +455,7 @@
 mode,"transpose",rtn	% % Transpose menus %Ztranspose%
 
 :defmenu ^G
+mode,"highlighter_context",rtn	% % ^G uses highlighter context %Zhighlighter_context%
 mode,"single_quoted",rtn	% % ^G ignores '...' %Zsingle_quoted%
 mode,"no_double_quoted",rtn	% % ^G no ignore "..." %Zno_double_quoted%
 mode,"c_comment",rtn	% % ^G ignores /*...*/ %Zc_comment%
@@ -441,7 +463,7 @@
 mode,"pound_comment",rtn	% % ^G ignores #... %Zpound_comment%
 mode,"vhdl_comment",rtn	% % ^G ignores --... %Zvhdl_comment%
 mode,"semi_comment",rtn	% % ^G ignores ;... %Zsemi_comment%
-mode,"tex_comment",rtn % % ^G ignores %... %Ztex_comment%
+mode,"tex_comment",rtn % % ^G ignores %%... %Ztex_comment%
 mode,"text_delimiters",rtn % % Text delimiters %Ztext_delimiters%
 
 :defmenu search
@@ -467,6 +489,7 @@
 :defmenu global
 mode,"nolocks",rtn	% % Disable locks %Znolocks%
 mode,"nobackups",rtn	% % Disable backups %Znobackups%
+mode,"nodeadjoe",rtn	% % Disable DEADJOE %Znodeadjoe%
 mode,"nomodcheck",rtn	% % Disable mtime check %Znomodcheck%
 mode,"nocurdir",rtn	% % Disable current dir %Znocurdir%
 mode,"exask",rtn	% % Exit ask %Zexask%
@@ -503,6 +526,7 @@
  Use \b to turn on/off bold
  Use \d to turn on/off dim
  Use \f to turn on/off flash
+ Use \l to turn on/off italic
 
  Use \| to insert a spring: all springs in a given line are set to the same
  width such that the entire line exactly fits in the width of the screen (if
@@ -754,8 +778,10 @@
 defm3drag	M3DRAG		Select a region of lines
 
 xtmouse		^[ [ M		Introduces an xterm mouse event
+extmouse	^[ [ <		Introduces an extended xterm mouse event
 
-if,"char==65",then,"it's an A",else,"it's not an a",endif	^[ q
+ 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
@@ -790,7 +816,8 @@
  sequences or which are frequently wrong.  Note that if the termcap entry is
  correct, it will override these later on.
 
-paste			^[ ] 5 2 ;		Bracketed paste
+paste			^[ ] 5 2 ;		Base64 paste (obsolete)
+brpaste			^[ [ 2 0 0 ~		Bracketed paste
 
 insc			^[ [ 2 ~
 insc			^[ [ L			SCO

Comment 5 Yanko Kaneti 2015-05-18 11:31:26 UTC
If 3.8 with a pre-3.8 config leads to this bug then it probably should print a warning to that effect or somehow workaround it in the code.

Comment 6 Fedora Admin XMLRPC Client 2015-07-13 10:02:44 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 7 Jan Kurik 2015-07-15 14:20:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 9 Fedora Update System 2015-09-11 09:18:05 UTC
joe-4.0-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15591

Comment 10 Fedora Update System 2015-09-12 21:25:40 UTC
joe-4.0-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update joe'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15591

Comment 11 Fedora Update System 2015-11-01 02:49:18 UTC
joe-4.0-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.