[Bug 537646] New: make 'less' able to 'open' folders. patch included
http://bugzilla.novell.com/show_bug.cgi?id=537646 Summary: make 'less' able to 'open' folders. patch included Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: d.pashov@gmail.com QAContact: qa@suse.de Found By: --- Created an attachment (id=317358) --> (http://bugzilla.novell.com/attachment.cgi?id=317358) lessopen.sh with additional case to handle a directory. User-Agent: Opera/9.80 (X11; Linux x86_64; U; en-GB) Presto/2.2.15 Version/10.00 For long I thought it would be useful if "less" was able to open/list folders the same way it preprocesses many binary files like rpm, pdf ... I knew it was possible because fedora and mandriva had this functionality. I extended the lessopen.sh file (part of the "less" package) with 3 simple lines. The new lessopen.sh is attached. Reproducible: Always Steps to Reproduce: 1.less /some/folder 2. 3. Actual Results: /some/folder is a directory Expected Results: A list of the content of the folder. Preferably in the long format (ls -l). The addition is too simple to introduce any bug. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=537646 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |puzel@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=537646 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=537646 User puzel@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=537646#c1 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Petr Uzel <puzel@novell.com> 2009-10-01 08:20:56 MDT --- Dimitar, thanks for the patch - I will push it to Factory. You could also consider trying lesspipe [1] - it supports more filetypes than the preprocessor currently available in openSUSE, it has support for syntax highlighting etc. I plan to integrate lesspipe into 11.3. [1] http://sourceforge.net/projects/lesspipe/ -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=537646 User d.pashov@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=537646#c2 --- Comment #2 from Dimitar Pashov <d.pashov@gmail.com> 2009-10-02 09:45:37 MDT --- Petr, thanks for the suggestion - I know lesspipe and find it very convenient but I thought there must be a reason it is not the default. I also found the opensuse specific script was much shorter and easier to understand for me so that's why I made the proposition. Thanks for the understanding! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=537646 http://bugzilla.novell.com/show_bug.cgi?id=537646#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (537646) was mentioned in https://build.opensuse.org/request/show/21491 Factory / less -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com