File: config-syntax

package info (click to toggle)
uzbl 0.0.0~git.20100403-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 760 kB
  • ctags: 783
  • sloc: ansic: 3,952; python: 3,082; sh: 353; makefile: 127
file content (21 lines) | stat: -rw-r--r-- 931 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
here: design notes
readme: end-user instructions


Rationale. AKA "why not config files?"
-> unify code to configure uzbl and to accept incoming commands
-> no more code needed for config file parsing/handling
-> runtime changing of configuration

issues
-> new instances (open link etc) need same config/state
   solutions?
   - serialize all state structs -> some libs available, could work. but:
                                    - binary format not very user friendly
                                    - not that easy (C has no introspection etc)
   - iterate over state structs and generate appropriate commands to bring an instance in this state.
     - plaintext :)
     - user editable
     - also useful for saving state if we need to update/shutdown/..
   -> all of this is overkill. for now we just decided to live with the fact we pass on '--config' flags,
      it's up to the user to tweak his setup so it works.