LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-13-2008, 05:58 PM   #1
vit_r
LQ Newbie
 
Registered: Jun 2008
Posts: 14
Blog Entries: 1

Rep: Reputation: 0
Midnight Commander: UTF-8.patch for mc-2007-06-23-14 test r2008-09-12.


Good morning !

+ «Tab/B-e» can align Shift-highlighted multiline block

Like «Tab/BackSpace» moves a single line, - entire block is moved.

it is adopted
http://www.linuxfromscratch.org/patc..._fixes-1.patch
# [ ] mc-4.6.1-debian_fixes-1.patch 25-Feb-2007 18:22 329K
to
http://www.ibiblio.org/pub/Linux/uti...s/mc/snapshots
# [ ] mc-2007-06-23-14.tar.gz 23-Jun-2007 10:46 3.8M
# MD5 sum: 3d4e56a1152564331abe82e6570898ad mc-2007-06-23-14.tar.gz

when a few lines are Shift-highlighted, -
«Tab/BackSpace» touches all lines and moves them
'edit/edit.c: option_Shift_highlight_lines_tab_spacing' spaces by default = 4, but any other will do

when a single char(or more) is highlighted, - «Tab/B-e» touches all line
so: «Tab/B-e» can be used to highlight and move a single line also

«BackSpace» deletes at the begining of highlighted lines all (' ' or '\t') and moves block to the left

it affects only Shift-highlighted lines

F3 highlighting should be as it goes

when «Tab», «BackSpace», «Save» or «Save_As» are pressed highlight is still on

encountering a bug
check of unpatched mc-2007-06-23-14 can save time

link to the last:

- SlackBuild for Slackware 11-12.1 pkg (0.3 Mb):
http://www.helplinux.ru/local--files...-09-12_SBd.tgz

anything ... let me know, please

Vit Rosin «vit_r@list.ru»


2008-09-13


#
 
Old 09-14-2008, 05:07 AM   #2
harryhaller
Member
 
Registered: Sep 2004
Distribution: Slackware-14.2
Posts: 468

Rep: Reputation: Disabled
Does this now handle UTF8 correctly so it doesn't act weird with accents and other "foreign" letters?

The mc released with Slackware 12.1 was 2007-03-09-18 and, contrary to the advice, I run my system with vt.default_utf8=1 (I use rxvt-unicode aka urxvt).
 
Old 09-14-2008, 05:08 PM   #3
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by harryhaller View Post
Does this now handle UTF8 correctly so it doesn't act weird with accents and other "foreign" letters?

The mc released with Slackware 12.1 was 2007-03-09-18 and, contrary to the advice, I run my system with vt.default_utf8=1 (I use rxvt-unicode aka urxvt).
There is already fixed utf-8 compatible version of mc available somewhere along with slackbuild.

Package is called "mc-4.6.1_utf8-i486-1pin.tgz". I'm using it right now.
 
Old 09-14-2008, 05:37 PM   #4
harryhaller
Member
 
Registered: Sep 2004
Distribution: Slackware-14.2
Posts: 468

Rep: Reputation: Disabled
Thanks ErV.

It's linuxpackages, not slackbuild, btw.
 
Old 09-15-2008, 11:10 AM   #5
vehn
Member
 
Registered: Dec 2007
Posts: 54

Rep: Reputation: 17
In -current patched package and slackbuild (see changelog)
 
Old 09-15-2008, 08:06 PM   #6
harryhaller
Member
 
Registered: Sep 2004
Distribution: Slackware-14.2
Posts: 468

Rep: Reputation: Disabled
Thanks, vehn. I'm downloading it now.
 
  


Reply

Tags
mc, midnight commander



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Midnight Commander matombo Fedora 3 11-30-2005 12:41 PM
midnight commander prevoo DamnSmallLinux 6 09-19-2004 04:26 PM
midnight commander archlyric Linux - Software 2 02-28-2004 02:04 AM
midnight commander enigma1 Linux - Software 6 12-10-2003 02:47 PM
Where's mc (Midnight Commander) Shadow Of Death Linux - Software 7 01-09-2003 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration