File: activity_status2.tf

package info (click to toggle)
tf5 5.0beta8-4
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 3,380 kB
  • ctags: 2,658
  • sloc: ansic: 25,492; perl: 103; makefile: 81; sh: 79
file content (13 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
;;;; Socket line counts on status line

/loaded __TFLIB__/activity_status2.tf

/require -q activity_status.tf

/status_rm @read
/status_rm insert
/status_rm @log
/set status_int_read=nread() ? "R" : ""
/set status_var_insert=insert ? "" : "O"
/set status_int_log=nlog() ? "L" : ""
/status_add -A"activity_status" @read:1:r insert:1:r @log:1