Welcome, Guest. Please login or register.

Author Topic: The shell command ShowFiles (sf) updated to version 0.993 - AOS4  (Read 1034 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline amoskodareTopic starter

  • Sr. Member
  • ****
  • Join Date: Mar 2010
  • Posts: 288
    • Show only replies by amoskodare
    • http://m4rko.com/amiga
New version of ShowFiles (sf) released.


CHANGES

Version 0.993: (Jan 2018)
- Added white color (pen 2) as foreground on executable files.
- Optimized the output listing, roughly about 41% faster now! Tested with 50 items (42 files + 8 dirs). The whole command before had a mean of 0.3399 s and after the optimizion now a mean of 0.2014 s. However don't trust these values too much though, as the values fluctuates pretty much.
- Made some minor changes to the three scripts.

Version 0.992: (Jan 2018):
- Added commands SETANSICOLORSON and SETANSICOLORSOFF, set either one depending on if you use ANSI colors or System Pens as your Palette in the Text Colors tab in Console Preferences.
- Added command SETBLUEBG for setting the background to blue. You might also want to set to use ANSI colors with the command SETANSICOLORSON.

Version 0.991: (Dec 2017):
- Fixed issue in MOST view with uneven columns after Object ID now returns numbers with more digts.
- Some changes to TRAIL and TRACE. Now TRACE has -i as one letter option and puts the symbol before the name. While TRAIL has -j and puts the symbol after the name.

Version 0.990: (Dec 2016):
- New NOCOMMENTS option added, for omitting comments in output listings. (Kind of suggested by Guillaume (zzd10h).)
- New NAMES option added, for displaying only names in the output listing. (Suggested by Severin.) (PS: both -l and -L for LESS are already taken/reser-ved)
- New TRACE option added, allows files to be "traced" with an initial character. Dirs with an initial "/", executable with an "*", and links with an (at-char).
- TRAIL is now opposite to TRACE, allows files to be "trailed" with a final  character.
- Fixed issue, (sometimes) the pointed link would appear not visable.
- Bugfix: -E now works for DATEFIRST as expected.
- Added one letter option -R to REALDATES ("promoted" from command to option).
- Fixed issue, DATEFIRST -E added to documentation.
- One new-line added to the MOST output.
- Added alternative way of installation to readme, thanks Severin.


Link to download url:
 ShowFiles (sf) page

 
WHAT IS ShowFiles (sf)
 
DIR/LIST command - displays a sorted and text-formatted list.

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 option/switch formats  (Amiga like switches,
Unix/Linux style  and DOS/Windows style).  It also supports  wildcards/pattern-
matching and Amiga templates.


FEATURES

- Abbreviated as SF or just sf, fast and easy to type in the shell.
- Dirs/drawers displayed in blue color (pen 3).
- Executable files displayed in white color (pen 2).
- 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 TRACE files with an initial character ('/', '*' or (at)-char).
- Option to TRAIL files with a final character ('/', '*' or (at)-char).
- Possibility to specify a path to display.
- Supports wildcards/pattern-matching.
- Option BARE, for listing without heading/summary information.
- Shows OwnerUID, OwnerGID and ObjectID (as reported by DOS).
- Supports the ? switch, for showing the Amiga Template.
- Option DATEFIRST for having the date first in every line.
- Option REALDATES for dates in the international format YYYY-MM-DD.
- Option NOCOMMENTS for omitting comments in output listings.
- Option NAMES for displaying only names in the output listing.
- Supports multiple formats of options/switches (f.ex: TIME --time -t /t).
- Supports automatic updates through AmiUpdate.
- Supports Shell/Console with black background.
- Supports Shell/Console with blue background and white foreground with ANSI
  colors palette.
- Written (in C) and developed on Amiga, for Amiga and Amigans.


Link to download url:
 ShowFiles (sf) page
C128 + Action Replay, A500+ (KS1.3/KS2.0), A1200, A1200/040, Amiga Forever 2008+09+2016, Amiga Future subscriber, Nokia N900 (Maemo 5), 5 x86/x64 boxes
AmigaOS 4.1 FEu1 on Sam440ep-flex/800MHz/1GB RAM/Radeon 9250 :afro:
AOS4.1 FE Update 1 for Classic (on WinUAE PPC)
m4rko.com/AMIGA
 

Offline klx300r

  • Amiga 1000+AmigaOne X1000
  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 3245
  • Country: ca
  • Thanked: 20 times
  • Gender: Male
    • Show only replies by klx300r
    • http://mancave-ramblings.blogspot.ca/
Re: The shell command ShowFiles (sf) updated to version 0.993 - AOS4
« Reply #1 on: January 24, 2018, 07:08:06 PM »
thanks for the update Marko :hammer:
____________________________________________________________________
c64-dual sids, A1000, A1200-060@50, A4000-CSMKIII
Indivision AGA & Catweasel MK4+= Amazing
! My Master Miggies-Amiga 1000 & AmigaOne X1000 !
--- www.mancave-ramblings.blogspot.ca ---
  -AspireOS.com & Amikit- Amiga for your netbook-
***X1000- I BELIEVE *** :angel:
 

Offline amoskodareTopic starter

  • Sr. Member
  • ****
  • Join Date: Mar 2010
  • Posts: 288
    • Show only replies by amoskodare
    • http://m4rko.com/amiga
Re: The shell command ShowFiles (sf) updated to version 0.993 - AOS4
« Reply #2 on: January 25, 2018, 06:46:47 PM »
Thanks :)
C128 + Action Replay, A500+ (KS1.3/KS2.0), A1200, A1200/040, Amiga Forever 2008+09+2016, Amiga Future subscriber, Nokia N900 (Maemo 5), 5 x86/x64 boxes
AmigaOS 4.1 FEu1 on Sam440ep-flex/800MHz/1GB RAM/Radeon 9250 :afro:
AOS4.1 FE Update 1 for Classic (on WinUAE PPC)
m4rko.com/AMIGA