File: FAQ

package info (click to toggle)
motion 3.2.12-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,152 kB
  • ctags: 1,688
  • sloc: ansic: 16,212; sh: 345; makefile: 209
file content (24 lines) | stat: -rw-r--r-- 1,032 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
This FAQ is no longer kept up to date
Look at this URL for a more up to date wiki based FAQ
http://www.lavrsen.dk/foswiki/bin/view/Motion/FrequentlyAskedQuestions

Q: motion crashes while parsing the config file.

A: Appearantly the behaviour of strtok in glibc has changed somewhat.
   This problem should be fixed as of 2.3


Q: Were does motion look for the config file?

A: First it will look for 'motion.conf' in the current directory, next it will
   try to find '.motion/motion.conf' in your home directory (pointed to by
   the HOME environment variable). If these don't exist it will try to open
   '/usr/local/etc/motion.conf' if you specified /usr/local as the prefix to
   configure (this is the default).

Q: What codingstyle is used for motion?

A: Motion follows the same style as the linux kernel.
   Read Documentation/Codingstyle in the kernel tree for some good reasons.
   Also be aware that motion is multithreaded and as such all functions should
   be reentrant, using static variables is usually a bad idea.