This file is indexed.

/usr/share/games/flightgear/Phi/examples/radio.js is in flightgear-phi 2016.4.2+dfsg1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
$(document).ready(
    function() {

      var rp = new Array();
      rp["#com1u"] = "/instrumentation/comm/frequencies/selected-mhz";
      rp["#com1s"] = "/instrumentation/comm/frequencies/standby-mhz";
      rp["#nav1u"] = "/instrumentation/nav/frequencies/selected-mhz";
      rp["#nav1s"] = "/instrumentation/nav/frequencies/standby-mhz";
      rp["#com2u"] = "/instrumentation/comm[1]/frequencies/selected-mhz";
      rp["#com2s"] = "/instrumentation/comm[1]/frequencies/standby-mhz";
      rp["#nav2u"] = "/instrumentation/nav[1]/frequencies/selected-mhz";
      rp["#nav2s"] = "/instrumentation/nav[1]/frequencies/standby-mhz";
      rp["#adf1u"] = "/instrumentation/adf/frequencies/selected-khz";
      rp["#adf1s"] = "/instrumentation/adf/frequencies/standby-khz";
      rp["#dme1u"] = "/instrumentation/dme/frequencies/selected-mhz";

      $("#com1u").change(function(o) {
        fgCommand.propertyAssign(rp["#com1u"], $("#com1u").val());
      });
      $("#com1s").change(function(o) {
        fgCommand.propertyAssign(rp["#com1s"], $("#com1s").val());
      });
      $("#nav1u").change(function(o) {
        fgCommand.propertyAssign(rp["#nav1u"], $("#nav1u").val());
      });
      $("#nav1s").change(function(o) {
        fgCommand.propertyAssign(rp["#nav1s"], $("#nav1s").val());
      });
      $("#com2u").change(function(o) {
        fgCommand.propertyAssign(rp["#com2u"], $("#com2u").val());
      });
      $("#com2s").change(function(o) {
        fgCommand.propertyAssign(rp["#com2s"], $("#com2s").val());
      });
      $("#nav2u").change(function(o) {
        fgCommand.propertyAssign(rp["#nav2u"], $("#nav2u").val());
      });
      $("#nav2s").change(function(o) {
        fgCommand.propertyAssign(rp["#nav2s"], $("#nav2s").val());
      });
      $("#adf1u").change(function(o) {
        fgCommand.propertyAssign(rp["#adf1u"], $("#adf1u").val());
      });
      $("#adf1s").change(function(o) {
        fgCommand.propertyAssign(rp["#adf1s"], $("#adf1s").val());
      });
      $("#dme1u").change(function(o) {
        fgCommand.propertyAssign(rp["#dme1u"], $("#dme1u").val());
      });

      $("#com1swap").click(function() {
        fgCommand.propertySwap(rp["#com1u"], rp["#com1s"]);
      });
      $("#nav1swap").click(function() {
        fgCommand.propertySwap(rp["#nav1u"], rp["#nav1s"]);
      });
      $("#com2swap").click(function() {
        fgCommand.propertySwap(rp["#com2u"], rp["#com2s"]);
      });
      $("#nav2swap").click(function() {
        fgCommand.propertySwap(rp["#nav2u"], rp["#nav2s"]);
      });
      $("#adf1swap").click(function() {
        fgCommand.propertySwap(rp["#adf1u"], rp["#adf1s"]);
      });

      PropertyChangeListener(function() {
        SetListener( rp["#com1u"], function(n) {
          $("#com1u").val( n.value );
        });
        SetListener( rp["#com1s"], function(n) {
          $("#com1s").val( n.value );
        });
        SetListener( rp["#nav1u"], function(n) {
          $("#nav1u").val( n.value );
        });
        SetListener( rp["#nav1s"], function(n) {
          $("#nav1s").val( n.value );
        });
        SetListener( rp["#com2u"], function(n) {
          $("#com2u").val( n.value );
        });
        SetListener( rp["#com2s"], function(n) {
          $("#com2s").val( n.value );
        });
        SetListener( rp["#nav2u"], function(n) {
          $("#nav2u").val( n.value );
        });
        SetListener( rp["#nav2s"], function(n) {
          $("#nav2s").val( n.value );
        });
        SetListener( rp["#adf1u"], function(n) {
          $("#adf1u").val( n.value );
        });
        SetListener( rp["#adf1s"], function(n) {
          $("#adf1s").val( n.value );
        });
        SetListener( rp["#dme1u"], function(n) {
          $("#dme1u").val( n.value );
        });
      });
});