Alien-cares

 view release on metacpan or  search on metacpan

libcares/ares_platform.c  view on Meta::CPAN

{"ovrimosdbman",       {NULL}, 2956, "tcp"},
{"ovrimosdbman",       {NULL}, 2956, "udp"},
{"jmact5",             {NULL}, 2957, "tcp"},
{"jmact5",             {NULL}, 2957, "udp"},
{"jmact6",             {NULL}, 2958, "tcp"},
{"jmact6",             {NULL}, 2958, "udp"},
{"rmopagt",            {NULL}, 2959, "tcp"},
{"rmopagt",            {NULL}, 2959, "udp"},
{"dfoxserver",         {NULL}, 2960, "tcp"},
{"dfoxserver",         {NULL}, 2960, "udp"},
{"boldsoft-lm",        {NULL}, 2961, "tcp"},
{"boldsoft-lm",        {NULL}, 2961, "udp"},
{"iph-policy-cli",     {NULL}, 2962, "tcp"},
{"iph-policy-cli",     {NULL}, 2962, "udp"},
{"iph-policy-adm",     {NULL}, 2963, "tcp"},
{"iph-policy-adm",     {NULL}, 2963, "udp"},
{"bullant-srap",       {NULL}, 2964, "tcp"},
{"bullant-srap",       {NULL}, 2964, "udp"},
{"bullant-rap",        {NULL}, 2965, "tcp"},
{"bullant-rap",        {NULL}, 2965, "udp"},
{"idp-infotrieve",     {NULL}, 2966, "tcp"},
{"idp-infotrieve",     {NULL}, 2966, "udp"},

libcares/ltmain.sh  view on Meta::CPAN

# 'require_*' variable to ensure that they are executed, at most, once.
#
# It's entirely deliberate that calling these functions can set
# variables that don't obey the namespace limitations obeyed by the rest
# of this file, in order that that they be as useful as possible to
# callers.


# require_term_colors
# -------------------
# Allow display of bold text on terminals that support it.
require_term_colors=func_require_term_colors
func_require_term_colors ()
{
    $debug_cmd

    test -t 1 && {
      # COLORTERM and USE_ANSI_COLORS environment variables take
      # precedence, because most terminfo databases neglect to describe
      # whether color sequences are supported.
      test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"}

      if test 1 = "$USE_ANSI_COLORS"; then
        # Standard ANSI escape sequences
        tc_reset=''
        tc_bold='';   tc_standout=''
        tc_red='';   tc_green=''
        tc_blue='';  tc_cyan=''
      else
        # Otherwise trust the terminfo database after all.
        test -n "`tput sgr0 2>/dev/null`" && {
          tc_reset=`tput sgr0`
          test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold`
          tc_standout=$tc_bold
          test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso`
          test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1`
          test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2`
          test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4`
          test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5`
        }
      fi
    }

    require_term_colors=:

libcares/ltmain.sh  view on Meta::CPAN

    $debug_cmd

    $require_term_colors

    _G_infix=$1; shift
    _G_indent=$_G_infix
    _G_prefix="$progname: $_G_infix: "
    _G_message=$*

    # Strip color escape sequences before counting printable length
    for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan"
    do
      test -n "$_G_tc" && {
        _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"`
        _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"`
      }
    done
    _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`"  " ## exclude from sc_prohibit_nested_quotes

    func_echo_infix_1_IFS=$IFS
    IFS=$nl
    for _G_line in $_G_message; do
      IFS=$func_echo_infix_1_IFS
      $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2
      _G_prefix=$_G_indent
    done
    IFS=$func_echo_infix_1_IFS
}


# func_error ARG...
# -----------------
# Echo program name prefixed message to standard error.
func_error ()



( run in 2.108 seconds using v1.01-cache-2.11-cpan-c333fce770f )