Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
105 user(s) are online (63 user(s) are browsing Forums)

Members: 0
Guests: 105

more...

Headlines

 
  Register To Post  

(1) 2 »
ShowFiles (sf) DIR command thread
Quite a regular
Quite a regular


See User information
ShowFiles (sf) - 0.981

DIR/LIST command - displays a sorted and text-formatted list.

Download here: ShowFiles (sf)


What is ShowFiles (sf):

ShowFiles (sf) is yet another DIR command (written in C). It displays a sorted
and text-formatted list of files, drawers (dirs) and soft/hard-links on disk or
other storage medium. It will also display their additional information such as
size, date, possible comment, executable header type (68k or PPC program),
protection-bits, etc, etc.

It supports a number of different options/switches, after installation in the
Shell, please type "sf HELP" (or "sf --help") for listing all options/switches.
Or look in the .doc-file in the archive.


Changes:

Version 0.981: (Feb 2016)
- Fixed "sometimes missing footer" (appeared in the wrong color). Thanks Guillaume (zzd10h) for reporting.
- Fixed wrong colors in comments when black Shell. Thanks Guillaume (zzd10h) for reporting. (PS: Option for omitting comments already on TODO-list.)
- Fixed issue, "A block of text appeared in the wrong place in the readme".
- Fixed a few missing commands in the Template output in help and in manual.

Version 0.980: (Feb 2016)
- Added MOST aka -M option, same as CLARIFY and -c, but easier to remember.
- Added SETBLACKBG command for setting the background color to black (pen 1), when using a Shell with black background.
- Added SETNORMALBG command for setting the background color to normal (grey, pen 0), when using a Shell with normal/grey background.
- Added PRINTENV command for printing out the ShowFiles (sf) environment/ configuration variables.
- The option REALDATE is now deprecated, please use REALDATES instead.
- Included all error codes and their meaning to the manual.
- A number of typos fixed in readme.

Version 0.972: (Sep 2015)
- Compiled with latest SDK version 53.29.
- Fixed case sensitive issue with pattern matching. (thanks Guillaume (zzd10h) for reporting)
- Fixed a rare condition where header whould not render correctly.
- UseCount removed from output, DOS structure no longer support it.


Download here: ShowFiles (sf)


Edited by Marko on 2015/7/17 16:35:28
Edited by Marko on 2015/8/29 23:36:38
Edited by Marko on 2015/9/6 9:20:45
Edited by Marko on 2016/2/9 17:47:38
Edited by Marko on 2016/2/21 3:39:55
Edited by Marko on 2016/3/4 21:58:43
AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Home away from home
Home away from home


See User information
thanks Marko!

_______________________________
c64-dual sids, A1000, A1200-060@50, A4000-CSMKIII
Catweasel MK4+= Amazing
! My Master Miggies-Amiga1000 & AmigaONE X1000 !
mancave-ramblings

Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Quite a regular
Quite a regular


See User information
Thanks 328gts

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Just can't stay away
Just can't stay away


See User information
@Marko
Hi,
I have 2 questions about ShowFiles

1) I often use your SF to quickly list files and their attributes but I wonder if it's case sensitive or if it's me that have missed something.

For example, I want to list files begining by "L".
"sf L*" or "sf L#?" work
"sf l*" or "sf l#?" doesn't work

"dir L*" or "dir l*" both work

Is it normal ?

14/0.RAM Disk:T> sf
Displaying files in T
Aujourd'hui 22h00 File 1 KiB blanker.log
Aujourd'hui 23h01 File 1 KiB ContextMenus Clipboard1
Aujourd'hui 23h03 File 154 KiB LittleBrother_10_0.jpg
Aujourd'hui 23h00 File 14 KiB LittleBrother_10_1.jpg
Aujourd'hui 23h04 File 90 KiB LittleBrother_10_2.jpg
Aujourd'hui 23h04 File 168 KiB LittleBrother_10_3.jpg
Aujourd'hui 22h50 File 12 KiB LittleBrother_10_4.jpg
Aujourd'hui 23h00 File 1 KiB notifications.log
Aujourd'hui 22h00 File 27 KiB usb.log
9 items - 9 files and 0 dirs - 465 KiB listed - (0.000428 seconds)

14/0.RAM Disk:T> sf L*
Displaying files in T
Aujourd'hui 23h03 File 154 KiB LittleBrother_10_0.jpg
Aujourd'hui 23h00 File 14 KiB LittleBrother_10_1.jpg
Aujourd'hui 23h04 File 90 KiB LittleBrother_10_2.jpg
Aujourd'hui 23h04 File 168 KiB LittleBrother_10_3.jpg
Aujourd'hui 22h50 File 12 KiB LittleBrother_10_4.jpg

14/0.RAM Disk:T> sf l*
Displaying files in T

14/0.RAM Disk:T> sf l#?
Displaying files in T


2) other question... I use a black background shell by using

echo "*e[>1m*e[32;41m*e[0;0H*e[J"
prompt "*n*e[>1m*e[33;41m*e[1m%N/%R.*e[30;41m%S>*e[0m*e[32;41m "

in my shell-startup.
sf output is displayed in reverse color, "dir" don't.
Could you do something for that or do I have to revert to a standard shell background ?


Resized Image




Thank you by advance ;)
Guillaume

Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Quite a regular
Quite a regular


See User information
@zzd10h

Hi Guillaume!

1) No it's not normal, the pattern matching shouldn't be case sensitive.
I will look into this in the next update, thanks a lot for reporting this.


2) Since SF uses colors in its output and it is hardcoded (at the time being) so unfortunately it is how it is right now. But I will take look and see if I can make something simple about it in the "short-term".

In the long-term though, in a couple of updates onwards (after fixing some more bugs and so, also waiting for the new SDK). I'm planning on introducing an optional config/prefs file of some sort, so users can set their own color codes on the output as they wish...


Quote:
I often use your SF to quickly list files and their attributes

I'm glad you find it useful, thanks

Quote:
Thank you by advance ;)

Thank You!

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Just can't stay away
Just can't stay away


See User information
@Marko

Thank you for your reply and courage for the upcoming updates !

Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Quite a regular
Quite a regular


See User information
@zzd10h


AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Quite a regular
Quite a regular


See User information
@zzd10h

The case sensitive issue with pattern matching should (hopefully) be fixed now in version 0.972 found now on OS4Depot.

The color thingy takes little longer to fix though.

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Just can't stay away
Just can't stay away


See User information
@Marko

Thank you for the pattern matching case sensitive fix, it works well now !

Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Quite a regular
Quite a regular


See User information
@zzd10h

My pleasure!! Thank you for you feedback Guillaume

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Just can't stay away
Just can't stay away


See User information
@Marko

Installed the latest 0.980 version.

Thank you for the SETBLACKBG option, it works well.

Small donation sent for your work...


Just 2 points :

1) in previous version, there were a footer counting the files and size of the whole list. Is it an option to restore it ?

2) SETBLACKBG works great except for file comments.
Is it an option to remove the comments OR to set comments background like list background ?

Thank you


Resized Image


Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Just can't stay away
Just can't stay away


See User information
@zzd10h

Quote:
2) other question... I use a black background shell by using

echo "*e[>1m*e[32;41m*e[0;0H*e[J"
prompt "*n*e[>1m*e[33;41m*e[1m%N/%R.*e[30;41m%S>*e[0m*e[32;41m "


Why do it that way? Use console prefs to set the default colours.

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Just can't stay away
Just can't stay away


See User information
@Severin

Because Prefs/Console didn't existed under 4.1.6 and that I simply recopied my Shell-Startup settings on FE. And because it works...

Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Quite a regular
Quite a regular


See User information
--removed--

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Quite a regular
Quite a regular


See User information
@zzd10h

Thank you veeery much zzd10h!!

Thanks also for the reports, I will look at those remaining issues during the comming-days/this-weekend...


AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Quite a regular
Quite a regular


See User information
@zzd10h

Quote:
Is it an option to remove the comments

Hi again, BTW, option for omitting comments is already on the TODO-list, but I will do that option in the next "major" update (after this/these bugfix-update(s)).

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Just can't stay away
Just can't stay away


See User information
@Marko

"1) in previous version, there were a footer counting the files and size of the whole list. Is it an option to restore it ?

2) SETBLACKBG works great except for file comments.
to set comments background like list background ?"

Thank you, it works now with 0.981 !

Go to top
Re: ShowFiles (sf) 0.970 released on OS4Depot.net
Quite a regular
Quite a regular


See User information
@zzd10h

Thanks, good that it works now

Merci!!

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: ShowFiles (sf) 0.981 released on OS4Depot.net
Quite a regular
Quite a regular


See User information
@thread

Have somebody or could someone try this latest version 0.981 on an OS version earlier than OS4.1 FE?

Not sure if this works now on say OS4.1 Update 6, or on Update 1..

Or how about in 4.0 if someone still has it installed, instant crash or??

Thanks!

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: ShowFiles (sf) 0.981 released on OS4Depot.net
Quite a regular
Quite a regular


See User information
ShowFiles (sf) DIR command updated to 0.982.

Changes in 0.982:
- Fixed missing command (BARE) in the Template output and manual, it was in HELP and readme though.
- Fixed so the Template is alphabetically sorted.
- Fixed more contrast to the arrow (->) in links, color changed to black.
- Fixed missing REALDATES and DATEFIRST in features in readme.

Download here: ShowFiles (sf) on OS4depot


Resized Image



Please report any bugs or issues, thank you!

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project