DF-SHOW – A Terminal File Manager Based On An Old DOS Application

0 34

If you have worked on good-old MS-DOS, you might have used or heard about DF-EDIT. The DF-EDIT, stands for Directory File Editor, is an obscure DOS file manager, originally written by Larry Kroeker for MS-DOS and PC-DOS systems. It is used to display the contents of a given directory or file in MS-DOS and PC-DOS systems. Today, I stumbled upon a similar utility named DF-SHOW (Directory File Show), a terminal file manager for Unix-like operating systems. It is an Unix rewrite of obscure DF-EDIT file manager and is based on DF-EDIT 2.3d release from 1986. DF-SHOW is completely free, open source and released under GPLv3.

DF-SHOW can be able to,

  • List contents of a directory,
  • View files,
  • Edit files using your default file editor,
  • Copy files to/from different locations,
  • Rename files,
  • Delete files,
  • Create new directories from within the DF-SHOW interface,
  • Update file permissions, owners and groups,
  • Search files matching a search term,
  • Launch executable files.

DF-SHOW Usage

DF-SHOW consists of two programs, namely “show” and “sf”.

Show command

The “show” program (similar to the ls command) is used to display the contents of a directory, create new directories, rename, delete files/folders, update permissions, search files and so on.

To view the list of contents in a directory, use the following command:

$ show 

Example:

$ show dfshow

Here, dfshow is a directory. If you invoke the “show” command without specifying a directory path, it will display the contents of current directory.

Here is how DF-SHOW default interface looks like.

dfshow 1

List contents of a directory

As you can see, DF-SHOW interface is self-explanatory.

On the top bar, you see the list of available options such as Copy, Delete, Edit, Modify etc.

Complete list of available options are given below:

  • Copy,
  • Delete,
  • Edit,
  • Hidden,
  • Modify,
  • Quit,
  • Rename,
  • Show,
  • hUnt,
  • eXec,
  • Run command,
  • Edit file,
  • Help,
  • Make dir,
  • Quit,
  • Show dir

In each option, one letter has been capitalized and marked as bold. Just press the capitalized letter to perform the respective operation. For example, to rename a file, just press R and type the new name and hit ENTER to rename the selected item.

dfshow 2

Rename files

To display all options or cancel an operation, just press ESC key.

Also, you will see a bunch of function keys at the bottom of DF-SHOW interface to navigate through the contents of a directory.

  • UP/DOWN arrows or F1/F2 – Move up and down (one line at time),
  • PgUp/Pg/Dn – Move one page at a time,
  • F3/F4 – Instantly go to Top and bottom of the list,
  • F5 – Refresh,
  • F6 – Mark/Unmark files (Files marked will be indicated with an * in front of them),
  • F7/F8 – Mark/Unmark all files at once,
  • F9 – Sort the list by – Date & time, Name, Size.,

Press h to learn more details about show command and its options.

To exit DF-SHOW, simply press q.

SF Command

The “sf” (show files) is used to display the contents of a file.

$ sf 
dfshow 3

Display file contents

Press h to learn more “sf” command and its options. To quit, press q.

Want to give it a try? Great! Go ahead and install DF-SHOW on your Linux system as described below.

Installing DF-SHOW

DF-SHOW is available in AUR, so you can install it on any Arch-based system using AUR programs such as Yay.

$ yay -S dfshow

On Ubuntu and its derivatives:

$ sudo add-apt-repository ppa:ian-hawdon/dfshow
$ sudo apt-get update
$ sudo apt-get install dfshow

On other Linux distributions, you can compile and build it from the source as shown below.

$ git clone https://github.com/roberthawdon/dfshow
$ cd dfshow
$ ./bootstrap
$ ./configure
$ make
$ sudo make install

The author of DF-SHOW project has only rewritten some of the applications of DF-EDIT utility. Since the source code is freely available on GitHub, you can add more features, improve the code and submit or fix the bugs (if there are any). It is still in alpha stage, but fully functional.

Have you tried it already? If so, how’d go? Tell us your experience in the comments section below.

And, that’s all for now. Hope this was useful.More good stuffs to come.

Stay tuned!

Resource:

Source : Visit

You might also like More from author

Leave A Reply

Your email address will not be published.