Skip to content

Commit

Permalink
more rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihai Draghicioiu committed Jul 7, 2014
1 parent 4b569fa commit cce3dbf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@
*.i*86
*.x86_64
*.hex
fathuman

# Floppy images
*.xdf
*.dim
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
all: humanfloppy
all: fathuman

humanfloppy: main.o fatfs/ff.o fatfs/option/cc932.o
fathuman: main.o fatfs/ff.o fatfs/option/cc932.o
gcc $^ -o $@

%.o: %.c
gcc -c $< -o $@

clean:
rm -f humanfloppy *.o fatfs/*.o fatfs/option/*.o
rm -f fathuman *.o fatfs/*.o fatfs/option/*.o
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ It uses the [elm-chan FatFS library](http://elm-chan.org/fsw/ff/00index_e.html)
Using in Midnight Commander (mc)
--------------------------------

Add the executable (or create a link) in /usr/lib/mc/extfs.d/humanfloppy.
Add the executable (or create a link) in /usr/lib/mc/extfs.d/.
Add the following line to /etc/mc/mc.ext or ~/.config/mc/mc.ext
regex/\.(xdf|dim|XDF|DIM)$
Open=%cd %p/xdf://
regex/\.(xdf|dim|XDF|DIM)$
Open=%cd %p/fathuman://

Restart mc and you should now be able to just tap enter on dim and xdf files to view their content.

Expand Down

0 comments on commit cce3dbf

Please sign in to comment.