JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Inteset INT-422-3 Linux vs Windows

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - General Forum
View previous topic :: View next topic  
Author Message
HamburgerHelper1



Joined: 22 Feb 2014
Posts: 567

                    
PostPosted: Sun Dec 10, 2017 4:41 pm    Post subject: Inteset INT-422-3 Linux vs Windows Reply with quote

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
Back to top
View user's profile Send private message
davecs



Joined: 28 Mar 2005
Posts: 319
Location: UK

                    
PostPosted: Wed Dec 13, 2017 1:51 pm    Post subject: Reply with quote

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
_________________
URC7560/URC7562, URC8910, URC7980, URC6440/OARUSB04G and URC3661
Back to top
View user's profile Send private message Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Wed Dec 13, 2017 2:53 pm    Post subject: Reply with quote

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:

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

and search (case sensitively) in filesInDirectory...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
HamburgerHelper1



Joined: 22 Feb 2014
Posts: 567

                    
PostPosted: Wed Dec 13, 2017 5:26 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4508
Location: Cambridge, UK

                    
PostPosted: Wed Dec 13, 2017 5:45 pm    Post subject: Reply with quote

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.
_________________
Graham
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - General Forum All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control