# Configuration of database layout for otak.  See otakrc(5) for more info.

# Define field 'name'
[name]
  # label to be displayed in main list
  label=name
  # in different language (requires patched conflib) 
  # try label=imi to bogus language support ;)
  label(pl)=imi

# define next field
[email]
  # how to describe it to the user
  label=e-mail
  # what command to execute when it's selected
  # $foo referres to value of field 'foo'
  command=mutt "$name <$email>"
  # allow several values for this field
  multiple=true

# and one more
[sms]
  label=cell phone
  label(pl)=komrka
  # ask user to enter additional arguments
  text=true
  # $test is set to these additional arguments
  command=sms $sms "$text"
  multiple=true
  # define shortcut
  key=s

[phone]
  label=phone
  label(pl)=telefon
  # no command, maybe some dialer?

[www]
  label=URL
# label(pl)=URL
  command=elinks "$www"
#  command=galeon "$www"
  # define shortcut
  key=w

[comments]
  label=comment
  label(pl)=komentarz
  multiple=true
