Re: [bug #13734] viewer should save position mode per file

2005-07-23 Thread Roland Illig

/dev/rob0 wrote:
Thus I have dozens of files listed with position 1;0 in filepos. Why 
are those saved at all? Would it be possible to save file position 
unless the position happens to be 1;0? Even #utar and other such 
temporary files have their position saved.


I just fixed that.

Is there a limit to the number of lines in filepos, like, say, 
.bash_history has? And yes, I did look in the man page before asking. :)


Currently it is hard-coded to 1024. Do you want to have that configurable?

Roland
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: Current translation status

2005-07-23 Thread Roland Illig

Arpad Biro wrote:

ta.po
translated:0, fuzzy:0, untranslated:0, total:0

(BTW, the table also shows that ta.po is incorrect.)


That's because you just examined the first line, which is an error 
message in the case of ta.po. If you had taken the last line instead, it 
would have worked.


Or you just take my statistics.pl script from CVS HEAD. :)

Roland
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: getgrouplist(3) vs. getgroups(3)

2005-07-23 Thread Roland Illig

Pavel Tsekov wrote:


On Fri, 22 Jul 2005, Roland Illig wrote:



I updated the patch.



Seems nice. How about removing the configure bits related to
getgrouplist() too ?


Done in PRE.

Roland
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: Let's have a release!

2005-07-23 Thread Leonard den Ottolander
Hello Miguel,

On Thu, 2005-07-21 at 23:04, Pavel Roskin wrote:
 On Wed, 2005-07-20 at 12:11 -0400, Miguel de Icaza wrote:
  If Pavel does not beat me to it, I will do the release on the weekend.
 
 Please go ahead.

Yes, let's do it! Everyone seems to agree about the last minute fixes
and that we should proceed with having a release. No show stoppers left.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Midnight Commander 4.6.1 has been released.

2005-07-23 Thread Miguel de Icaza
Hello,

A new version of Midnight Commander, an easy to use console-based
file manager for Unix systems has been released, it is available from:

http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-4.6.1.tar.gz

md5sum: 18b20db6e40480a53bac2870c56fc3c4  mc-4.6.1.tar.gz

The changes since the last public release (4.6.0) are as follows:

- Core functionality.
- Fix double free in mc_maybe_editor_or_viewer().
- Do not blindly cleanup in exit_subshell().
- Fix blocking of panel cd-ing with white space command.
- Fix mini status after first Ctrl-O.
- Fix dynamic loading of Photon library for shift keys.
- Fix X11 connection handling.
- Improve support for tcsh.
- Use 8bit input as default.
- Better support for '@' in FTP usernames.
- Better large file support (int - off_t)
- Add gnome, rxvt and xterm-new terminals (keyword copy for mc.lib).
- Make the find dialog more responsive while scanning through large
  files.
- Add implementation to cons.handler for FreeBSD 4.x and 5.x.
- Screen saving is now supported on FreeBSD console.
- Hide temporary commands from history.
- Add --with-glib12 option to configure to force using glib 1.2.x.
- Add --disable-background option to disable background support.
- Background support now uses pipes instead of UNIX sockets.
- libX11 is loaded dynamically using gmodule if possible.
- User is warned if one mc is run from another.
- In red dialog boxes draw the hotkey characters with a color
  different than the one used to paint the dialog.


- Security.
- Fix CAN-2004-0226 (buffer overflows).
- Fix CAN-2004-0231 (unsafe temporary file and directory creation).
- Fix CAN-2004-0232 (format string vulnerablities).
- cons.saver does not need to be setuid-root on Linux.
- Hiding of FTP passwords.

- Portability.
- Added configuration files for Sun Solaris pkgmk(1).
- PC port has been removed.
- Support for SCO UNIX has been removed.
- Improve support for QNX Neutrino.

- Editor.
- Fix position save bug.
- Improve c.syntax.
- Improve makefile.syntax.
- Improve python.syntax.
- Improve eiffel.syntax.
- Improve syntax.syntax.
- Add syntax file for the x86 assembler.
- Add syntax file for the Vision(tm) Ray Tracer.
- Add syntax file for the CORBA IDL.
- Add syntax file for the LUA programming language.
- Fix bugs for mcedit compiled with ncurses.
- New status string format in mcedit.
- Support for large syntax files.
- Temporarily disable safe save and backups on remote VFS because it
  doesn't work.
- Enable user menu in mcedit.
- Add syntax file for the ASP.NET technology.
- Add syntax file for the Eiffel programming language.
- Add syntax file for the Ruby programming language.
- Add syntax file for the C# programming language.
- Upgrade php.syntax file.
- Improve sql.syntax file.
- Improve perl.syntax.
- Improve diff.syntax.
- Improve makefile.syntax.
- Add define keyword for syntax files.

- Viewer.
- Add .7z archives extensions to mc.ext.in.
- Add OpenOffice.org 2 extensions to mc.ext.in.
- Recognize both .udeb and .deb as Debian packages.


- VFS.
- Extensive samba cleanup.
- Fix possible crash on broken cpio archives.
- Quote fixes in urar.in.
- Full audit of quoting of parameters in vfs scripts (CAN-2004-0494).
- Fixed CAN-2003-1023 (stack overflow in vfs_s_resolve_symlink).
- Various fixes in tar.c.
- VFS supports iso9660 images.
- extfs/rpm: Don't show the package's contents directly in the root
  directory, but only as an archive called contents.cpio.

- Screen libraries.
Backport S-Lang fixes from HEAD.
- Add many boundary check into internal slang library.
- Internal slang upgrade to 1.4.9.
- Increased maximum screen size to 512 x 512.
- Add support for qansi-m terminals.


 

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


viewer bug in HEAD

2005-07-23 Thread Arpad Biro
Hi,

Found this bug in current HEAD (not present in 4.6.1):

  1. create or take a DOS-type text file and make sure it has a blank
 line at the end (i.e., the file should end with hex 0D0A0D0A)
  2. press F3 (viewer) on this file
  3. press End
  4. press the Up Arrow key a few times

In step 4, the viewer should scroll up, but for me it doesn't.
Only Home scrolls up after step 3.


Arpad Biro


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


[patch #4211] mcedit home key -- like old ms-dos edit

2005-07-23 Thread Gergely Szász

URL:
  http://savannah.gnu.org/patch/?func=detailitemitem_id=4211

 Summary: mcedit home key -- like old ms-dos edit
 Project: GNU Midnight Commander
Submitted by: szaszg
Submitted on: Sat 07/23/2005 at 20:03
Category: None
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open

___

Details:

This patch change the Home key behavior a little bit.
If we on a line, wich begin with some white space, than the first press of
home key go to column 0, the second press to first non white space char.

I think this is a comfortable way to reach the first word on a line, than just
press right, right, right, ...






___

File Attachments:


---
Date: Sat 07/23/2005 at 20:03  Name: mc.edit_homekey.1.patch  Size: 1.12KB  
By: szaszg
old ms-dos edit like home key behavior
http://savannah.gnu.org/patch/download.php?item_id=4211item_file_id=4889

___

Reply to this item at:

  http://savannah.gnu.org/patch/?func=detailitemitem_id=4211

___
  Message sent via/by Savannah
  http://savannah.gnu.org/

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [bug #13734] viewer should save position mode per file

2005-07-23 Thread /dev/rob0

Oswald Buddenhagen wrote:

thanks. however, i'd suggest enabling it by default. otherwise 95% of the
users will never get to know this feature. nobody reads the mc man page unless


I'm not so sure. That's something I've been wondering about saving 
position in the editor ... do those entries ever time out? 10 years 
hence, how many deleted and temporary filenames will I have in my list? 
Maybe there should be a hotkey to disable this on the fly for any given 
file while it's open in the editor?


Sometimes I use it and it's great, but most of the time I'm in the habit 
of moving to the first line and first character before leaving any file.


Thus I have dozens of files listed with position 1;0 in filepos. Why 
are those saved at all? Would it be possible to save file position 
unless the position happens to be 1;0? Even #utar and other such 
temporary files have their position saved.


Is there a limit to the number of lines in filepos, like, say, 
.bash_history has? And yes, I did look in the man page before asking. :)

--
mail to this address is discarded unless /dev/rob0
or not-spam is in Subject: header
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [patch #4211] mcedit home key -- like old ms-dos edit

2005-07-23 Thread Krzysztof Duleba

Gergely Szász wrote:


This patch change the Home key behavior a little bit.
If we on a line, wich begin with some white space, than the first press of
home key go to column 0, the second press to first non white space char.

I think this is a comfortable way to reach the first word on a line, than just
press right, right, right, ...


ctrl+right arrow will do the same job, but I like the idea.

Krzysztof Duleba

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel