Iñigo Serna avatar Iñigo Serna committed e254276

Updated for v2.3.

* setup.py: updated to v2.3
* lfm/lfm.py:
* lfm/pyview.py:
* NEWS:
* README:
* README.pyview:
* lfm.1:
* pyview.1:

Comments (0)

Files changed (9)

+Sat May 21 12:13:23 2011  Iñigo Serna  <inigoserna@gmail.com>
+
+    * setup.py: updated to v2.3
+    * lfm/lfm.py:
+    * lfm/pyview.py:
+	* NEWS:
+	* README:
+	* README.pyview:
+    * lfm.1:
+    * pyview.1:
+
 Fri May 20 23:29:56 2011  Iñigo Serna  <inigoserna@gmail.com>
 
 	* lfm/messages.py (SelectItem.manage_keys): new key shortcuts: Ctrl-L, 0..9
-Version 2.3 ("XXX") - 2011/XX/XX:
+Version 2.3 ("Wow, less than a year!") - 2011/05/21:
+
+  + About the code
+    - lfm needs python version 2.5 or upper now
 
   + New features
+    - PowerCLI, an advanced command line interface with completion, persistent
+      history, variable substitution and many other useful features.
+      As this is a very powerful tool, read the documentation for examples
+    - history
+      . use different types of history lists: path, file, glob, grep, exec, cli
+        for the different forms and actions
+      . persistent history between sessions => ~/.lfm_history
+        . controlled by a flag in configuration
+    - find/grep
+      . configuration options for ignorecase and regex
+      . sort results
+      . show results as FILE:lineno
+      . much faster
+    - show diff between xxx.orig and xxx files
+    - tar files compress/uncompress
+    - messages.EntryLine has been rewritten, with many new key shorcuts. This is
+      the core behind most of the forms lfm shows when asking for anything.
+      Consult the documentation
+
+  + Minor changes
+    - reorganize "un/compress file" and "compress directory xxx" in file_menu
+    - config: sort entries when saving
+    - improve load/save handling of new options not present in ~/.lfmrc
+    - added new extensions
+    - messages.error rewritten to offer better messages
+    - added some new key shortcuts messages.SelectItem
+
+  + Documentation
+    - added a note about python v2.5+ is needed from now on
+    - 'lfm' shell function: change "$*" to "$@" to properly handle paths
+      containg spaces
+    - FAQ: added information about fuse to mount ssh, ftp, smb and webdav
+    - reorganized and fixed key bindings section
+    - documented .lfmrc contents
+    - added link to public BitBucket repository
+
+  + lots of bugs fixed:
+    - pyview:
+      . last char is not shown if file size is small
+      . last line and wrap: cursor_down or page_next
+      . when number of lines == window height
+    - ncurses v5.8 doesn't accept 0 as width or height
+    - UI crashes:
+      . time string could contain non-ascii characters (reported by Martin Steigerwald)
+      . when filenane length is large in full pane mode
+      . MenuWin, SelectItem: ellipsize entries if bigger than screen width
+    - find or find&grep:
+      . pass "-type f" to find  as ".#filename" are temporary emacs files/links
+        that break search
+      . show wrong matches if results contain directories or files with spaces
+      . file->goto_file: move to correct page
+    - copy/move "/file" to "/anydir/anyplace" fails, trying to copy/move to "/"
+    - executing non-ascii programname or args
+    - convoluted issue with link to directory in corner cases (reported by Xin Wang)
+    - rename/backup ".." crashes
+    - we should not compress ".."
+    - create_link, edit_link: don't show error if canceled
+    - only store one copy of the same entry in history
+    - tree: "disable" colors of active panel, "enable" at end
+    - Config.save: work with unicode, only convert to encoding when saving
 
 
 Version 2.2 ("Approaching perfection") - 2010/05/22:
 
           There is NO WARRANTY.
 
-:Last update: Fri May 20 23:06:48 2011
+:Last update: Sat May 21 11:46:07 2011
 
 .. contents:: Table of Contents
 
 
 Introduction
 ============
-**Last File Manager** is a powerful file manager for the UNIX
-console. Based on curses, it's written in Python.
+**Last File Manager** is a powerful file manager for the UNIX console.
+It has a curses interface and it's written in Python.
 
 
 Some of the features you can find in *lfm*:
 
     vim %F %
 
+  Note you must end the line with a % if the command will use the terminal.
+
 * convert file (or all selected) to lowercase and change .bak extension to .orig.
   F.e., "FiLeFOO.bak" => "filefoo.orig"::
 
 And also to all the people who have contributed with ideas, reporting
 bugs and code over these years: Antoni Aloy, Sebastien Bacher, Grigory
 Bakunov, Luigi M. Bianchi, Hunter Blanks, Witold Bołt, Fabian Braennstroem,
-Jason Buberel, Ondrej Certik, Kevin Coyner, Tim Daneliuk, Mike Dean, Arnå DG,
-Christian Eichert, Steve Emms, Murat Erten, Luca Falavigna, Stephen R. Figgins,
-f1ufx, Francisco Gama, Vlad Glagolev, Ana Beatriz Guerrero Lopez, Kelly Hopkins,
-Tjabo Kloppenburg, Zoran Kolic, Max Kutny, Martin Lüethi, James Mills, Bartosz Oler,
-Piotr Ozarowski, Mikhail A. Pokidko, Jerome Prudent, Mikhail Ramendik, Rod,
-Daniel T. Schmitt, Chengqi Song, Robin Siebler, Andrey Skvortsov, Espartaco Smith,
-Jörg Sonnenberger, Joshua Tasker, Tim Terlegård, Edd Thompson, Walter van den Broek,
+Jason Buberel, Ondrej Certik, Kevin Coyner, Tim Daneliuk, Mike Dean,
+Arnå DG, Christian Eichert, Steve Emms, Murat Erten, Daniel Echeverry,
+Luca Falavigna, Stephen R. Figgins, f1ufx, Francisco Gama, Vlad Glagolev,
+Ana Beatriz Guerrero Lopez, Kelly Hopkins, Tjabo Kloppenburg, Zoran Kolic,
+Max Kutny, Martin Lüethi, James Mills, Bartosz Oler, Piotr Ozarowski,
+Mikhail A. Pokidko, Jerome Prudent, Mikhail Ramendik, Rod, Daniel T. Schmitt,
+Chengqi Song, Robin Siebler, Andrey Skvortsov, Espartaco Smith,
+Jörg Sonnenberger, Martin Steigerwald, Joshua Tasker, Tim Terlegård,
+Edd Thompson, Walter van den Broek, Jesper Vestergaard, Xin Wang,
 Alejandro Weil, Yellowprotoss, Hai Zaar and many others...
 
 You have made posible to run *lfm* in all those platforms!
 
 :Author: I�igo Serna, inigoserna AT gmail DOT com
 
-:Version: 2.3, May XXth. 2011
+:Version: 2.3, May 21th. 2011
 
 :Home page: https://inigo.katxi.org/devel/lfm/  or  http://www.terra.es/personal7/inigoserna/lfm/
 
 
           There is NO WARRANTY.
 
-:Last update: Sun May  8 01:28:07 2011
+:Last update: Sat May 21 11:47:16 2011
 
 .. contents:: Table of Contents
 
 ============================================================================
-Last update:	Time-stamp: <2011-05-20 23:35:48 inigo>
+Last update:	Time-stamp: <2011-05-21 11:44:54 inigo>
 ============================================================================
 
 
         http://stackoverflow.com/questions/2476953/python-utf-8-howto-align-printout
   + documentation:
     - be sure version and release date is correct in all files
-    - update NEWS, clean TODO
 
 Medium Priority:
   + enhancements:
 
 
 ============================================================================
-
-DONE:
-- reorganize "un/compress file" and "compress directory xxx" in file_menu
-- update code to use python v2.4+ or v2.5+:
-   . sorted()
-   . ternary operator
-   . any()
-   . key in sort, sorted
-- file_menu: new action, diff between xxx.orig and xxx
-- rewrite EntryLine.manage_keys:
-  . new keys to move, delete and insert
-  . added insert bookmark at pos, key shortcuts Ctrl-D, Ctrl-\
-  . added insert previous path at pos, key shortcut Ctrl-Y
-  . change insert path at pos, now Ctrl-S
-  . clean code
-- rewrite messages.error
-  . make size fixed, bigger
-  . add file to body, not in header
-  . support msgs like 'line1\nline2\lines3...'
-- find/grep
-  . preference options for ignorecase and regex
-  . sort results
-  . show results as FILE:lineno
-  . faster
-- config: sort entries when saving
-- PowerCLI
-- implemented tar un/compress
-- added new extensions: pyw, vala, glade, ui, docx, xlsx, pptx
-- change PowerCLI key shortcut, now Ctrl-X
-- history
-  . use different types of history (path, file, glob, grep, exec, cli)
-    for the different forms and actions:
-    . path: goto_dir, create_link2, edit_link, copy, move
-    . file: goto_file, touch, create_link1, rename, mkdir
-    . glob: find, select_group, deselect_group
-    . grep
-    . exec: do_something_on_file, execute_file
-    . cli
-  . save persistent between sessions => ~/.lfm_history
-    . config flag to enable/disable
-- PowerCLI: insert stored (from config) or history command => Ctrl-G
-- preferences: improve load/save handling of new options not present in ~/.lfmrc
-- global menu: new option: delete history
-- SelectItem: new key shortcuts
-
-- FIXED BUGS:
-  . pyview:
-    . last char is not shown if file size is small
-    . last line and wrap: cursor_down or page_next
-    . when number of lines == window height
-  . copy/move "/file" to "/anydir/anyplace" fails, trying to copy/move to "/"
-  . 'lfm' shell function: change "$*" to "$@" to properly handle pathscontaing spaces
-  . ncurses 5.8 doesn't accept 0 as width or height
-  . time string could contain non-ascii characters (reported by Martin Steigerwald)
-  . executing non-ascii programname or args
-  . convoluted issue with link to directory in corner cases (reported by Xin Wang)
-  . rename/backup ".." crashes
-  . we should not compress ".."
-  . findgrep: pass "-type f" to find  as ".#filename" are temporary emacs files/links
-    that break search
-  . find: show wrong matches if results contain directories or files with spaces
-  . create_link, edit_link: don't show error if canceled
-  . only store one copy of the same entry in history
-  . find file->goto_file: move to correct page
-  . tree: "disable" colors of active panel, "enable" at end
-  . MenuWin, SelectItem: ellipsize entries if bigger than screen width
-  . Config.save: work with unicode, only convert to encoding when saving
-  . crash when filenane length is large
-
-- DOCS:
-  . README FAQ: added information about fuse ssh, ftp and webdav
-  . mention python v2.5+
-  . reorganized and fixed key bindings section
-  . added link to public BitBucket repository
-  . documented .lfmrc contents
-
-
-THANKS:
-- yellowprotoss: feedback, ideas and copy/mkdir bugs report
-- Daniel Echeverry: debian mantainer
-- Martin Steigerwald: bug report
-- Xin Wang: bug report, wide char patch
-- Jesper Vestergaard: asked about background file operations
 .\" First parameter, NAME, should be all caps
 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
 .\" other parameters are allowed: see man(7), man(1)
-.TH lfm "1" "December 21, 2008"
+.TH lfm "1" "May 21, 2011"
 .\" Please adjust this date whenever revising the manpage.
 .\"
 .\" Some roff macros, for reference:
 
 .SH DESCRIPTION
 .B Last File Manager
-is a powerful file manager for the UNIX console. It has been developed
-with the ol' good `Midnight Commander` as model.
-
+is a powerful file manager for the UNIX console.
+It has a curses interface and it's written in Python.
 .SH OPTIONS
 .TP
 .B "\-1"
 
 .SH AUTHOR
 .B lfm
-was written by I�igo Serna  <inigoserna@telefonica.net>
+was written by I�igo Serna  <inigoserna@gmail.com>
 .PP
 This manual page was written by Sebastien Bacher for the Debian GNU/Linux system
 (but may be used by others).
 # -*- coding: utf-8 -*-
 
 # Copyright (C) 2001-11  Iñigo Serna
-# Time-stamp: <2011-05-20 22:33:45 inigo>
+# Time-stamp: <2011-05-21 11:58:14 inigo>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 
 u"""lfm v2.3 - (C) 2001-11, by Iñigo Serna <inigoserna@gmail.com>
 
-'Last File Manager' is a file manager for UNIX console which born with
-midnight commander as model. Released under GNU Public License, read
+'Last File Manager' is a file manager for UNIX console.
+It has a curses interface and it's written in Python.
+Released under GNU Public License, read
 COPYING file for more details.
 
 Usage:\tlfm <options> [path1 [path2]]
 .\" First parameter, NAME, should be all caps
 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
 .\" other parameters are allowed: see man(7), man(1)
-.TH pyview "1" "December 21, 2008"
+.TH pyview "1" "May 21, 2011"
 .\" Please adjust this date whenever revising the manpage.
 .\"
 .\" Some roff macros, for reference:
 # -*- coding: utf-8 -*-
 
 
-"""Last File Manager is a powerful file manager for the UNIX console
-It has been developed with the ol' good Midnight Commander as model."""
+"""Last File Manager is a powerful file manager for the UNIX console.
+Based in a curses interface, it's written in Python."""
 
 
 from distutils.core import setup
       long_description = '\n'.join(doclines[2:]),
       author = u'Inigo Serna',
       author_email = 'inigoserna@gmail.com',
-      url = 'http://www.terra.es/personal7/inigoserna/lfm',
+      url = 'https://inigo.katxi.org/devel/lfm',
       platforms = 'POSIX',
       classifiers = filter(None, classifiers.split("\n")),
       py_modules = ['lfm/__init__', 'lfm/lfm', 'lfm/messages', 'lfm/files',
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.