Page 1 of 1

Inteset INT-422-3 Linux vs Windows

Posted: Sun Dec 10, 2017 3:41 pm
by HamburgerHelper1
I have a new Inteset INT-422-3
Setup was fine with RMIR in windows
but with Linux the remote's image would not show up just generic circles for buttons
After checking a few things I came upon the INT-422-2.map that the INT-422-3
uses, the line #$GIF:INT-422-2.JPG needs to be #$GIF:INT-422-2.jpg
The extension ".jpg" needed to be in small letters not capital for Linux to work right
because the actual jpg is in small letters. I guess Linux is pickier

Hope this helps out anyone else using Linux

Posted: Wed Dec 13, 2017 12:51 pm
by davecs
I've not had that problem in Linux, maybe the remotes I've had have the correct extension in their image files. But for the benefit of Windows users, all file names and extensions are case-sensitive in Linux. So these extensions are all different.

jpg JPG Jpg JPg jpG jPG

Posted: Wed Dec 13, 2017 1:53 pm
by Barf
I would phrase it like this:

In this community, we create "portable" software, i.e. software that runs on different systems. No assumption must be made on the case sensitivity of the user's system: the software should run correctly on both case sensitive as well as case insensitive file systems.

For the ones developing on case insensitive file systems (i.e. Windows), file names have to coincide in the code and on the disc, including case. The ones developing on case sensitive file systems (Linux, often MacOSX) must take care not put files differing only on case in the same directory (for example README, Readme and readme).

Violations should be considered as bugs.

BTW, relying on "the file system is case insensitive" is fragile and can easily wrong. Just (using Java as example)

Code: Select all

File directory = new File(....); // an existing direcory
File[] filesInDirectory = directory.listFiles(); //  produce array of (abstract) file names
and search (case sensitively) in filesInDirectory...

Posted: Wed Dec 13, 2017 4:26 pm
by HamburgerHelper1
I even forget myself how case-sensitive Linux is, that is until I try and write a script
then I remember why my commands are not working
RMIR is an excellent program no matter Linux or windows

Posted: Wed Dec 13, 2017 4:45 pm
by mathdon
I have made this correction to the INT-422-2.map ready for the next release of RMIR, which probably will not be till after New Year.