-
registry for Linux/GNU
Wouldn't it be great it there was a tool, like regedt.exe for Windows, that would allow one to change parameter settings in a large variety of files, rather than having to change them individually with text editors? Is there such a utility? Does MS have a patent on the concept?
Cheers,
Philipp
-
Senior Member
registered user
Re: registry for Linux/GNU
Originally Posted by
Samsara
Wouldn't it be great it there was a tool, like regedt.exe for Windows, that would allow one to change parameter settings in a large variety of files, rather than having to change them individually with text editors? Is there such a utility? Does MS have a patent on the concept?
Cheers,
Philipp
If you can tell me one advatage of having a binary registry in favor of text-files then I'll seriously consider rethinking this issue.
Else I really don't understand why you would want that ?
How is it easier for someone to use regedit then some text-editor ?!
And yes, all files are in /etc so for what do you need a regedit ?!
cu
Fabian
-
Senior Member
registered user
Samsara,
Being EXTREMELY well versed in all things windows (except netowrking) I was also a bit surpirsed at the way "registry" settings are handled in linux. The way each program has it's own text files that are editable and usualy well commented. I found the switch to be quite daunting, because everything is windows is hands off, and keep out.
But believe me, even though I am still VERY green when it comes to linux, I have found that I LOVE having those text files instead of the binary registry. It allows you so much more controll. Plus, when a program is well commented as most of them are, it is realy a LOT easier. Having tht kind of commenting ina single global settings file like the windows registry would be a nightmare because eash program would need to make relatively huge changes to the file. Where in windows, the variables and values are set with no real explanation as to what most of it does.
Also, if you make the wrong change and windows won't boot, you are SOL. In linux, you can almost always boot into a prompt and cd to the directory the messed up file is in and use VI or whatever editer you want to fix it.
-
Senior Member
registered user
Windows used this approach in 3.1(windows.ini, system.ini etc.) but they somehow thought that a registry is better(mostly because of those OCX stuff where they can't find a good place to store because of the mixture of both text and binary content).
It is an administrator nightmare.
-
Some ideas for registry,
perhaps instead of haveing a huge number of files in /bin dirs in order to allow software to find its dependencies a registry type system could be used to check if the program is installed and if so where... Honestly with the way things are if anything needs to get more user friendly for newbies it seems to be the directory structure.
-
Senior Member
registered user
If you know a language like perl, you can affect changes to multiple text files fairly easily. it's amazing what you can do with one-liner perl commands.
-
Originally Posted by
garyng
Windows used this approach in 3.1(windows.ini, system.ini etc.) but they somehow thought that a registry is better(mostly because of those OCX stuff where they can't find a good place to store because of the mixture of both text and binary content).
It is an administrator nightmare.
As far as I remember the problem was that if there was an error in the those ini files, Windows could not read behind this error. The other problem was that the whole file had to be scanned to read the entries at the end, so it was slow.
The registry has an index structure, so it is faster, and can happily ignore errors as long as the erronuous key is not needed. I also assume that changes can be made faster, due to this index structure. And the binary content could really be an argument too.
BTW, I can support the original idea of this thread a little: it is sometime difficult to find out where you must change your settings. Of course, one could say RTHFM, but one could also help with a simple GUI-tool that leads you to the right file in an explore like fashion.
my 0.05
-
Junior Member
registered user
Windows registry is a lot less flexible than the linux way to make the config, but let's read between lines with the suggestion:
How about a gui "general config file editor" with a regedit window layout, that puts in an organized tree all the common aplications on the knoppix/linux system in the left pannel, and clicking on it shows the file on the right pannel. Then you will be able to switch from "view only mode" the config file to "edit mode" with a single click on a button, change whatever and save.
All the config in a single place, maybe with an adittional pannel with the "man <file>" on it to check the freakin' manual in case you are not completely sure. I don't think is a bad idea, and it shouldn´t need much horsepower to make it on piton/tcl-tk or wathever and make it run on any machine.
What do you think, people?
-
Senior Member
registered user
Sounds good, but aren't you describing the KDE configuration editor?
-
Senior Member
registered user
Originally Posted by
Dan_Netwalker
Windows registry is a lot less flexible than the linux way to make the config, but let's read between lines with the suggestion:
How about a gui "general config file editor" with a regedit window layout, that puts in an organized tree all the common aplications on the knoppix/linux system in the left pannel, and clicking on it shows the file on the right pannel. Then you will be able to switch from "view only mode" the config file to "edit mode" with a single click on a button, change whatever and save.
All the config in a single place, maybe with an adittional pannel with the "man <file>" on it to check the freakin' manual in case you are not completely sure. I don't think is a bad idea, and it shouldn´t need much horsepower to make it on piton/tcl-tk or wathever and make it run on any machine.
What do you think, people?
Webmin?
Similar Threads
-
By kaplan71 in forum MS Windows & New to Linux
Replies: 5
Last Post: 02-24-2005, 10:09 AM
-
By kevstar31 in forum Ideas
Replies: 2
Last Post: 10-15-2004, 09:09 AM
-
By HitmanKB in forum MS Windows & New to Linux
Replies: 1
Last Post: 09-21-2004, 07:34 PM
-
By viggooo in forum General Support
Replies: 10
Last Post: 01-15-2004, 03:51 PM
-
By punk000 in forum General Support
Replies: 6
Last Post: 08-26-2003, 02:55 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS
$2749.99
Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD
$89.99
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox
$340.00
DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45
$284.00
DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY
$329.00
CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs
$246.67
Dell Poweredge R620 8-Bay CTO Pick your CPU & RAM Config | H710 Raid | 2x PSU
$161.99
Dell Poweredge R640 8 SFF Server No HDDs/ CPUs/ RAMs/ Cards/Fan/PSU
$419.99
PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB
$200.00