Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
17 crawler(s) on-line.
 111 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 OlafS25:  23 mins ago
 Bruce72:  25 mins ago
 Rob:  56 mins ago
 MEGA_RJ_MICAL:  1 hr 12 mins ago
 t0lkien:  1 hr 17 mins ago
 amigakit:  1 hr 38 mins ago
 OneTimer1:  1 hr 51 mins ago
 Troels:  2 hrs 52 mins ago
 Gunnar:  3 hrs 8 mins ago
 zipper:  3 hrs 36 mins ago

software OS4   software OS4 : ShowFiles (sf) 0.960 released
   posted by marko on 28-Sep-2014 21:19:37 (2198 reads)
New version of ShowFiles (sf) now released for AmigaOS 4.

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.

Read more...




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.


Download: ShowFiles (sf) at OS4Depot


Features

- Abbreviated as SF or just sf, fast and easy to type in the shell.
- Dirs/drawers are displayed in blue color (pen 3).
- Hard/Softlinks are displayed underscored (underlined).
- Shows where any Hard/Softlinks points to.
- Possible comments are displayed in italic.
- Displays the "primitive" file type of files.
- Fetches and identifies executable headers. 68k, PPC (ELF), EXE, among others.
- Displays the Amiga file protection bits of files.
- Shows free disk space and sizes in KiB (1024), kB (1000) and bytes.
- Options SIZE and TIME, for sorting by size and time/date.
- Option REVERSE, for reversing the output list.
- Options (FILES, DIRS & LINKS) for displaying only files, dirs or links. Or intermix them.
- Option 68K, for only listing m680x0 (68k) executables (AmigaOS 3.x).
- Option PPC, for only listing PowerPC (PPC) executables (ELF headers).
- Option ALL, for showing all files and dirs in directories and subdirs.
- Option to "trail" files with an initial character ('/', '*' or (at)-char).
- Possibility to specify a path to display.
- Option BARE, for listing without heading/summary information.
- Shows OwnerUID, OwnerGID, UseCount and ObjectID (as reported by DOS).
- Supports the ? switch, for showing the Template.
- Supports multiple formats of options/switches (f.ex: TIME --time -t /T).
- Supports automatic updates through AmiUpdate.
- Written (in C) and developed on Amiga, for Amiga and Amigans.


Special notes for this release

- Implemented the ? switch for showing the Template.
- Implemented the BARE option, for using bare format (no heading/summary
information).
- All one-single-letter options such as a, -m, /P are now case
sensitive, where as non-single-letter options are not. Reason for this
is because available free letters are becomming scarce for more options.
- For the manual (info and details), see the .doc-file in the archive.
- For the latest cahanges/updates, look in the Changes-section in the manual...


Changes

Version 0.960: (Sep 2014)
- Added ? switch for showing the Template.
- Added BARE option, for using bare format (no heading/summary information).
- Safety improved, added more checks concerning memory (just to be sure).
(Sentinels placed around memory allocations, about 20 in total.)
- Corrected information in the HELP option.
- Typos fixed in the Options-section and in the Readme file.
- Added Format-info and Template-info to documentation.
- Added small hidden message to binary (only #JustForFun, ~60 chars).
- Added Milestones-section to documentation.

Version 0.950: (Jun 2014)
- Added REALDATE command, shows Date in international format (yyyy-mm-dd),
suggested by JosDuchIt.
- Added DATEFIRST command, Date (and Time) column is as first column, sort
of suggested by JosDuchIt.
- Bugfix/change: The few first protectionbits are seen now again in MORE
view. This was little "too much of a feature" that looked broken.
- Bugfix/change: The three first columns in the DEFAULT view removed, yes
those should not be seen, please use option MORE instead to see those
as well.
- Added Extversion (EXTVER) tag/cookie.
- Minor fixes in readme, among other small fixes.

Version 0.943: (Feb 2014)
- Bugfixed option ALL. This exact compile was *VERIFIED* thanks to
Guillaume Boesel (zzd10h) on his A1-X1000 and Joel Edberg (Joeled) on his
Sam460ex, and also tested on author's Sam440ep-flex. The bug was due to a
compiler optimization switch.


Download: ShowFiles (sf) at OS4Depot
    

STORYID: 0
Related Links
· More about software OS4
· News by marko


Printer Friendly Page  Send this Story to a Friend

PosterThread
klx300r 
Re: ShowFiles (sf) 0.960 released
Posted on 29-Sep-2014 15:12:49
#1 ]
Elite Member
Joined: 4-Mar-2008
Posts: 3833
From: Toronto, Canada

thanks Marko


_________________
____________________________
c64-2sids, A1000, A1200T-060@50(finally working!),A4000-CSMKIII
! My Master Miggies- Amiga 1000 & AmigaOne X1000 !
mancave-ramblings
X1000 I BELIEVE

 Status: Offline
Profile     Report this post  
marko 
Re: ShowFiles (sf) 0.960 released
Posted on 29-Sep-2014 16:55:37
#2 ]
Super Member
Joined: 17-Dec-2007
Posts: 1816
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU

@klx300r

Thanks again (x3) hehe


_________________
AmigaOS 4.1 FEu2 on Sam440ep-flex 800MHz 1GB RAM
C128, A500+, A1200, A1200/40, AmigaForever 2008+09+16, 5 x86/x64 boxes
Still waiting (or dreaming) for the Amiga revolution...
m4rko.com/AMIGA

 Status: Offline
Profile     Report this post  
Niolator 
Re: ShowFiles (sf) 0.960 released
Posted on 29-Sep-2014 18:24:47
#3 ]
Super Member
Joined: 3-May-2003
Posts: 1420
From: Unknown

This will come in handy. I will test it tonight.

 Status: Offline
Profile     Report this post  
marko 
Re: ShowFiles (sf) 0.960 released
Posted on 29-Sep-2014 21:00:09
#4 ]
Super Member
Joined: 17-Dec-2007
Posts: 1816
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU

@Niolator

:


_________________
AmigaOS 4.1 FEu2 on Sam440ep-flex 800MHz 1GB RAM
C128, A500+, A1200, A1200/40, AmigaForever 2008+09+16, 5 x86/x64 boxes
Still waiting (or dreaming) for the Amiga revolution...
m4rko.com/AMIGA

 Status: Offline
Profile     Report this post  
tonyw 
Re: ShowFiles (sf) 0.960 released
Posted on 29-Sep-2014 22:47:55
#5 ]
Elite Member
Joined: 8-Mar-2003
Posts: 3240
From: Sydney (of course)

Quote:
Dirs/drawers are displayed in blue color (pen 3)


I hope that your Pens are not hard coded. You will regret it later if they are.


_________________
cheers
tony

Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php

 Status: Offline
Profile     Report this post  
marko 
Re: ShowFiles (sf) 0.960 released
Posted on 30-Sep-2014 3:01:09
#6 ]
Super Member
Joined: 17-Dec-2007
Posts: 1816
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU

@tonyw

Yes, the pens are actually hard coded. Do you suggest I would do it differently? Why, what/how?


_________________
AmigaOS 4.1 FEu2 on Sam440ep-flex 800MHz 1GB RAM
C128, A500+, A1200, A1200/40, AmigaForever 2008+09+16, 5 x86/x64 boxes
Still waiting (or dreaming) for the Amiga revolution...
m4rko.com/AMIGA

 Status: Offline
Profile     Report this post  
tonyw 
Re: ShowFiles (sf) 0.960 released
Posted on 30-Sep-2014 12:40:26
#7 ]
Elite Member
Joined: 8-Mar-2003
Posts: 3240
From: Sydney (of course)

When the new console is released, you will be able to choose colours from any of the system Pens, ANSI palette or your own palette. The user can choose his own palette (in Prefs) and his colours from a Prefs file. So if the user has chosen to use his own colour palette, changing Pens might not do what the programmer wants.

Until you get your hands on the SDK includes, I would suggest that you plan ahead and keep all the code that changes pens/chooses colours/etc into one source file that you can upgrade easily later.


_________________
cheers
tony

Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php

 Status: Offline
Profile     Report this post  
Severin 
Re: ShowFiles (sf) 0.960 released
Posted on 30-Sep-2014 14:56:21
#8 ]
Elite Member
Joined: 18-Aug-2003
Posts: 2740
From: Gloucestershire UK

I agree, I have mine set to retro WB1.3 colours of white text on blue background and get unreadable yellow on white file comments.

I suggest you have a look at NewList, THE BEST dir replacement I ever found. be careful though it will crash on OS4 as it uses tricks to speeed up rendering that no longer work and either grash or display rubbish. It was released in 1993 when things like that were needed.

Grab it Here and try:

nl -qvT0 libs:

Which gives an ultra compact list of all drawers assigned to libs:, multiple assign support is a must for any DIR replacement.

Don't try and use it with the ram disk though. Does anyone know if the author Phil Dietz is still around? NewList would be brilliant on OS4 if it was stable.


_________________
OS4 Rocks
X1000 beta tester, Sam440 Flex (733)

Visit the Official OS4 Support Site for more help.

It may be that your sole purpose is to serve as a warning to others.

 Status: Offline
Profile     Report this post  
marko 
Re: ShowFiles (sf) 0.960 released
Posted on 1-Oct-2014 0:58:00
#9 ]
Super Member
Joined: 17-Dec-2007
Posts: 1816
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU

@tonyw

Oh I see.. The long awaited console ;) Hope we get our hands on it soon...

Quote:
you will be able to choose colours from any of the system Pens, ANSI palette or your own palette.

Yay, that sounds great! :P

Quote:
I would suggest that you plan ahead and keep all the code that changes pens/chooses colours/etc into one source file that you can upgrade easily later.

All codes are at a singel spot along with the printf:s in an own file now. But thanks for the heads up

Last edited by marko on 01-Oct-2014 at 01:10 AM.


_________________
AmigaOS 4.1 FEu2 on Sam440ep-flex 800MHz 1GB RAM
C128, A500+, A1200, A1200/40, AmigaForever 2008+09+16, 5 x86/x64 boxes
Still waiting (or dreaming) for the Amiga revolution...
m4rko.com/AMIGA

 Status: Offline
Profile     Report this post  
marko 
Re: ShowFiles (sf) 0.960 released
Posted on 1-Oct-2014 1:00:04
#10 ]
Super Member
Joined: 17-Dec-2007
Posts: 1816
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU

@Severin

Thanks for the tip

I'll investigate this NewList command closer...


_________________
AmigaOS 4.1 FEu2 on Sam440ep-flex 800MHz 1GB RAM
C128, A500+, A1200, A1200/40, AmigaForever 2008+09+16, 5 x86/x64 boxes
Still waiting (or dreaming) for the Amiga revolution...
m4rko.com/AMIGA

 Status: Offline
Profile     Report this post  
marko 
Re: ShowFiles (sf) 0.960 released
Posted on 1-Oct-2014 1:09:18
#11 ]
Super Member
Joined: 17-Dec-2007
Posts: 1816
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU

@tonyw & Severin

Quote:
tonyw wrote:

The user can choose his own palette (in Prefs) and his colours from a Prefs file


Quote:
Severin wrote:

I agree, I have mine set to retro WB1.3 colours of white text on blue background and get unreadable yellow on white file comments.


Ok, I take this as a sign that it's soon time to implement user-configurable colors (with a small config file) for the output in sf...

Thanks guys, feature added to TODO-list! (maybe next update, the list is loooong though...)

Last edited by marko on 01-Oct-2014 at 01:17 AM.


_________________
AmigaOS 4.1 FEu2 on Sam440ep-flex 800MHz 1GB RAM
C128, A500+, A1200, A1200/40, AmigaForever 2008+09+16, 5 x86/x64 boxes
Still waiting (or dreaming) for the Amiga revolution...
m4rko.com/AMIGA

 Status: Offline
Profile     Report this post  
Yescop 
Re: ShowFiles (sf) 0.960 released
Posted on 1-Oct-2014 12:05:44
#12 ]
Regular Member
Joined: 29-Mar-2005
Posts: 119
From: France

Severin,

I am sorry, you are wrong. I am using NewList for ages, first on A500, A4000 and then on os4 since the beginning without a crash.
The used version is :
Newlist8.2 (27-Sep-93)

I love this program and is very, very useful to do some scripts in real time (Option -E).
The only default is old, it does not recognise long size files.


_________________
Amiga is alive and so am I !!

Conf:
Sam Flex 800 and OS4.1 FE

 Status: Offline
Profile     Report this post  
Severin 
Re: ShowFiles (sf) 0.960 released
Posted on 1-Oct-2014 14:46:37
#13 ]
Elite Member
Joined: 18-Aug-2003
Posts: 2740
From: Gloucestershire UK

But what version of OS4? I suspect NL uses 'undocumented features' of the 3.1 console device that are not there in the new (yet to be released) OS4 console device. Maybe you're using kingcon?


_________________
OS4 Rocks
X1000 beta tester, Sam440 Flex (733)

Visit the Official OS4 Support Site for more help.

It may be that your sole purpose is to serve as a warning to others.

 Status: Offline
Profile     Report this post  
Yescop 
Re: ShowFiles (sf) 0.960 released
Posted on 1-Oct-2014 23:07:25
#14 ]
Regular Member
Joined: 29-Mar-2005
Posts: 119
From: France

Well I am using the last official version of os4.
Yes, you are right, I am using Kingcon for ages too.
The OS4 shell is a pity, we can't use on a regular basis.


_________________
Amiga is alive and so am I !!

Conf:
Sam Flex 800 and OS4.1 FE

 Status: Offline
Profile     Report this post  
[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle