345:
93:
484:
encompasses the configuration details for specific devices, including default, Phone, Tablet, PC, TV, Car, Wearable, liteWearable, and smartVision. The settings under the default label apply to all devices. If there are unique requirements for other devices, the settings under the respective device
77:
may be expected to create and modify files by hand using a text editor, which is possible because many are human-editable plain text files. For server processes and operating-system settings, there is often no standard tool, but operating systems may provide their own graphical interfaces such as
89:. Others periodically check the configuration files for changes. Users can instruct some programs to re-read the configuration files and apply the changes to the current process, or indeed to read arbitrary files as a configuration file. There are no definitive standards or strong conventions.
489:
object carries the HAP package configuration details, the essential attributes that each
Ability must define (such as package name, class name, type, and capabilities provided by Ability), along with the permissions the application needs to access the system or other protected sections of the
463:
file adheres to the JSON file format, where each entry comprises an attribute and its corresponding value. The sequence of attribute values is arbitrary, but each attribute must be unique and non-repetitive. The value assigned to each attribute aligns with the fundamental data types of
427:
of lists of untyped key–value pairs. Two files control system-wide settings: OS2.INI and OS2SYS.INI. Application developers can choose whether to use them or to create a specific file for their applications.
122:
many different configuration-file formats exist, with each application or service potentially having a unique format, but there is a strong tradition of them being in human-editable plain text, and a simple
923:
will be both recognizable as strings (this will require the parser to have some prior expectations about the type of a particular field, but this is often the case in configuration files).
336:
DOS applications used a wide variety of individual configuration files, most of them binary, proprietary and undocumented - and there were no common conventions or formats.
749:
364:
to read and write from these still exist in
Windows, but after 1993, Microsoft began to steer developers away from using INI files and toward storing settings in the
932:
Opinions on whether syntax typing in configuration formats is a good or a bad feature vary among authors. with some considering it a disadvantage (see for example
506:
formats exist that can represent complex data structures in an easily stored format, and these are often used as a basis for configuration files, particularly in
476:: the code editing view and the visual editing view. The `app` object holds the universal configuration details for the application, as demonstrated in the
180:
768:
804:
360:(from "initialization"). These served as the primary mechanism to configure the operating system and application features. The
745:
119:
43:
183:
from casual listing. Since this causes pollution, newer user applications generally make their own folder in the
880:
560:
151:
158:. Often the default configuration files contain extensive internal documentation in the form of comments and
190:
Some configuration files run a set of commands upon startup. A common convention is for such files to have "
1046:
904:
47:
691:
518:
describing these formats are routinely made available to the public, thus increasing the availability of
423:
uses a binary format, also with a .INI suffix, but this differs from the
Windows versions. It contains a
900:
124:
764:
254:) until MS-DOS 6, which introduced an INI-file style format. There was also a standard plain text
933:
817:
368:, a hierarchical database to store configuration settings, which was introduced that year with
832:
73:
of their configuration files; these sometimes have graphical interfaces. For other programs,
443:-based operating systems uses “config.json” configuration file in the root directory of each
424:
507:
226:
74:
55:
8:
230:
746:
https://opensource.apple.com/source/postfix/postfix-174.2/Postfix.Config/main.cf.default
405:
59:
20:
887:. In languages that allow syntax typing, type declaration will be syntax-based – e.g.
892:
444:
353:
365:
63:
51:
784:
772:
753:
995:
967:
511:
1040:
515:
503:
469:
381:
39:
714:
269:
260:
215:
16:
Software file used to configure the initial settings for a computer program
687:
551:
440:
401:
389:
155:
369:
255:
246:
104:) are used both as documentation and as a way to "disable" the setting.
92:
162:
are also typically used to document the format and options available.
884:
632:
436:
176:
27:
858:
702:
584:
393:
357:
159:
97:
946:
903:– whereas in languages that do not allow syntax typing it will be
194:" in their name, typically using the name of the program then an "
69:
Some applications provide tools to create, modify, and verify the
397:
344:
265:
172:
86:
348:
The REGEDIT application being used to edit
Windows Registry data
968:"The JavaScript Object Notation (JSON) Data Interchange Format"
765:
http://opensource.apple.com/source/apache/apache-769/httpd.conf
519:
250:. This was a plain text file with simple key–value pairs (e.g.
241:
70:
996:"Formal UCL grammar definition · Issue #231 · vstakhov/libucl"
431:
187:
directory, a standardized subdirectory of the home directory.
175:" – a file or directory in the home directory prefixed with a
165:
System-wide software often uses configuration files stored in
85:
Some computer programs only read their configuration files at
1027:
696:
385:
981:
480:
configuration file of
HarmonyOS's foundational application.
108:
726:
720:
708:
648:
616:
600:
534:
526:
465:
420:
79:
717:, which explains the historical origin of the "rc" suffix
711:, with support for complex data types and data structures
664:
530:
361:
222:
1013:
356:
family of operating systems heavily utilized plain-text
244:
itself primarily relied on just one configuration file,
154:, in which case, individual settings can be disabled by
113:
1028:"Extensible Markup Language (XML) 1.0 (Fifth Edition)"
494:
Indicates the name of HAP package’s entrance ability.
233:(ODM) database to store much of its system settings.
729:, with support for complex data types and structures
19:"rc file" redirects here. For resource scripts, see
100:being edited. Comments (the lines beginning with a
1038:
723:, a formally-specified configuration file format
447:application. It contains three modules such as
805:Microsoft: Windows NT Workstation Resource Kit
915:will be both recognizable as booleans, while
777:
384:is the standard configuration file format in
522:and emitters across programming languages.
432:HarmonyOS and OpenHarmony operating systems
514:software applications and libraries. The
127:format is common. Filename extensions of
109:Configuration files and operating systems
497:
343:
91:
934:What is wrong with TOML § Syntax typing
268:. Both these files were retained up to
171:, while user applications often use a "
1039:
485:type label need to be configured. The
167:
156:prepending with the comment character
833:"HarmonyOS (Hongmeng) — config.json"
810:
705:, a common configuration file format
699:, a superset of .properties and JSON
339:
275:An example CONFIG.SYS for MS-DOS 5:
272:, which still ran on top of MS-DOS.
114:Unix and Unix-like operating systems
879:Syntax typing refers to the use of
331:C:\DOS\COMMAND.COM C:\DOS /E:512 /P
181:in Unix hides the file or directory
13:
690:, a file extension mainly used in
14:
1058:
830:
758:
739:
472:provides two methods for editing
264:that ran a series of commands on
1020:
1006:
988:
974:
960:
939:
926:
873:
851:
824:
798:
1:
733:
540:
502:A number of general-purpose
7:
1014:"YAML™ Specification Index"
681:
414:
404:applications). It uses the
120:Unix-like operating systems
10:
1063:
252:DEVICEHIGH=C:\DOS\ANSI.SYS
34:(commonly known simply as
18:
936:) and others favoring it.
564:
558:
555:
550:
236:
150:Almost all formats allow
96:A configuration file for
375:
277:
349:
105:
42:used to configure the
498:Serialization formats
347:
304:C:\DOS\EMM386.EXE RAM
218:for further details.
95:
75:system administrators
982:"TOML Specification"
821:by James J. Weinkam.
1047:Configuration files
547:
231:Object Data Manager
32:configuration files
863:, TOML, 2023-01-15
818:The OS/2 INI Files
771:2020-08-01 at the
752:2017-08-03 at the
546:Format comparison
545:
525:Examples include:
406:filename extension
350:
106:
21:Resource (Windows)
679:
678:
490:application. The
354:Microsoft Windows
340:Microsoft Windows
52:computer programs
1054:
1032:
1031:
1024:
1018:
1017:
1010:
1004:
1003:
992:
986:
985:
978:
972:
971:
964:
958:
957:
955:
953:
943:
937:
930:
924:
922:
918:
914:
910:
898:
890:
877:
871:
870:
869:
868:
855:
849:
848:
846:
844:
831:Evans, Melissa.
828:
822:
814:
808:
802:
796:
795:
793:
792:
781:
775:
762:
756:
743:
548:
544:
512:platform-neutral
493:
488:
483:
479:
475:
462:
458:
454:
450:
410:
366:Windows Registry
332:
329:
326:
323:
320:
317:
314:
311:
308:
305:
302:
299:
296:
295:C:\DOS\HIMEM.SYS
293:
290:
287:
284:
281:
263:
253:
249:
213:
209:
205:
201:
197:
193:
186:
170:
147:are often used.
146:
142:
138:
134:
130:
103:
64:operating system
60:server processes
48:initial settings
1062:
1061:
1057:
1056:
1055:
1053:
1052:
1051:
1037:
1036:
1035:
1026:
1025:
1021:
1012:
1011:
1007:
994:
993:
989:
980:
979:
975:
966:
965:
961:
951:
949:
945:
944:
940:
931:
927:
920:
916:
912:
908:
896:
888:
878:
874:
866:
864:
857:
856:
852:
842:
840:
829:
825:
815:
811:
803:
799:
790:
788:
783:
782:
778:
773:Wayback Machine
763:
759:
754:Wayback Machine
744:
740:
736:
684:
543:
500:
491:
486:
481:
477:
473:
460:
456:
452:
448:
434:
417:
408:
388:(as well as in
378:
342:
334:
333:
330:
327:
324:
321:
318:
315:
313:C:\DOS\ANSI.SYS
312:
309:
306:
303:
300:
297:
294:
291:
288:
285:
282:
279:
259:
251:
245:
239:
211:
207:
203:
199:
198:" suffix e.g. "
195:
191:
184:
166:
144:
140:
136:
132:
128:
116:
111:
101:
24:
17:
12:
11:
5:
1060:
1050:
1049:
1034:
1033:
1019:
1005:
987:
973:
959:
938:
925:
907:-based – e.g.
872:
850:
823:
809:
797:
776:
757:
737:
735:
732:
731:
730:
724:
718:
712:
706:
700:
694:
683:
680:
677:
676:
673:
670:
667:
661:
660:
657:
654:
651:
645:
644:
641:
638:
635:
629:
628:
625:
622:
619:
613:
612:
609:
606:
603:
597:
596:
593:
590:
587:
581:
580:
577:
574:
571:
567:
566:
565:Syntax typing
563:
557:
554:
542:
539:
516:specifications
499:
496:
433:
430:
416:
413:
377:
374:
341:
338:
278:
238:
235:
125:key–value pair
115:
112:
110:
107:
15:
9:
6:
4:
3:
2:
1059:
1048:
1045:
1044:
1042:
1029:
1023:
1015:
1009:
1001:
997:
991:
983:
977:
969:
963:
948:
947:"About | CUE"
942:
935:
929:
906:
902:
894:
886:
883:to designate
882:
876:
862:
861:
854:
838:
834:
827:
820:
819:
813:
806:
801:
786:
780:
774:
770:
766:
761:
755:
751:
747:
742:
738:
728:
725:
722:
719:
716:
713:
710:
707:
704:
701:
698:
695:
693:
689:
686:
685:
674:
671:
668:
666:
663:
662:
658:
655:
652:
650:
647:
646:
642:
639:
636:
634:
631:
630:
626:
623:
620:
618:
615:
614:
610:
607:
604:
602:
599:
598:
594:
591:
588:
586:
583:
582:
578:
575:
572:
569:
568:
562:
556:Formal specs
553:
549:
538:
536:
532:
528:
523:
521:
517:
513:
509:
505:
504:serialization
495:
471:
470:DevEco Studio
468:. HarmonyOS’
467:
446:
442:
438:
429:
426:
422:
412:
407:
403:
399:
395:
391:
387:
383:
382:Property List
373:
371:
367:
363:
359:
355:
346:
337:
276:
273:
271:
267:
262:
257:
248:
243:
234:
232:
228:
224:
221:By contrast,
219:
217:
188:
182:
178:
174:
169:
163:
161:
157:
153:
148:
126:
121:
99:
94:
90:
88:
83:
81:
76:
72:
67:
65:
61:
57:
53:
49:
45:
41:
37:
33:
29:
22:
1022:
1008:
999:
990:
976:
962:
950:. Retrieved
941:
928:
875:
865:, retrieved
859:
853:
841:. Retrieved
836:
826:
816:
812:
800:
789:. Retrieved
779:
760:
741:
715:Run commands
524:
501:
482:DeviceConfig
453:deviceConfig
435:
418:
379:
351:
335:
274:
270:Windows 98SE
261:AUTOEXEC.BAT
240:
220:
216:run commands
189:
164:
149:
117:
84:
82:or debconf.
68:
56:applications
36:config files
35:
31:
25:
921:"microwave"
688:.properties
508:open-source
492:MainAbility
478:config.json
474:config.json
461:config.json
441:OpenHarmony
952:October 6,
899:will be a
891:will be a
885:data types
867:2023-01-15
791:2012-02-29
787:. Catb.org
734:References
541:Comparison
370:Windows NT
352:The early
307:DEVICEHIGH
256:batch file
247:CONFIG.SYS
66:settings.
44:parameters
917:microwave
905:semantics
839:. Mo4Tech
785:"rc file"
437:HarmonyOS
358:INI files
160:man files
50:for some
28:computing
1041:Category
843:24 March
769:Archived
750:Archived
703:INI file
682:See also
561:comments
415:IBM OS/2
394:NeXTSTEP
286:HIGH,UMB
229:uses an
212:xsane.rc
200:.xinitrc
179:, which
152:comments
98:GNU GRUB
893:boolean
837:Mo4Tech
559:Allows
520:parsers
398:GNUstep
214:". See
208:.bashrc
185:.config
173:dotfile
118:Across
87:startup
1000:GitHub
913:"true"
901:string
897:"true"
895:while
881:syntax
552:Format
533:, and
487:Module
459:. The
457:Module
419:IBM's
409:.plist
298:DEVICE
289:DEVICE
258:named
242:MS-DOS
237:MS-DOS
204:.vimrc
177:period
71:syntax
38:) are
697:HOCON
402:Cocoa
386:macOS
376:macOS
325:SHELL
316:FILES
196:(.)rc
133:.conf
40:files
954:2022
919:and
911:and
909:true
889:true
860:TOML
845:2024
727:YAML
721:TOML
709:JSON
692:Java
659:Yes
649:YAML
643:Yes
627:Yes
617:TOML
611:Yes
601:JSON
579:Yes
535:YAML
527:JSON
510:and
466:JSON
455:and
439:and
425:list
421:OS/2
400:and
380:The
362:APIs
266:boot
210:", "
206:", "
202:", "
168:/etc
145:.ini
137:.cfg
129:.cnf
80:YaST
62:and
46:and
675:No
672:Yes
669:Yes
665:XML
656:Yes
653:Yes
640:Yes
633:UCL
624:Yes
621:Yes
605:Yes
595:No
592:Yes
585:INI
576:Yes
573:Yes
570:CUE
531:XML
449:app
445:HAP
390:iOS
280:DOS
227:AIX
225:'s
223:IBM
143:or
141:.cf
54:or
26:In
1043::
998:.
835:.
767:.
748:.
637:No
608:No
589:No
537:.
529:,
451:,
411:.
396:,
392:,
372:.
322:30
192:rc
139:,
135:,
131:,
58:,
30:,
1030:.
1016:.
1002:.
984:.
970:.
956:.
847:.
807:.
794:.
328:=
319:=
310:=
301:=
292:=
283:=
102:#
23:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.