URI: 
       bitreich-con-view-presentation - bitreich-conference - Bitreich Conference System
  HTML git clone git://bitreich.org/bitreich-conference git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/bitreich-conference
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
   DIR LICENSE
       ---
       bitreich-con-view-presentation (889B)
       ---
            1 #!/bin/sh
            2 
            3 if [ $# -lt 1 ];
            4 then
            5         year="$(date +%Y)"
            6 else
            7         year="$1"
            8 fi
            9 
           10 if [ ! -f "/br/con/termres${year}" ]
           11 then
           12         printf 'The conference has not started yet. Please retry later.\n'
           13         exit 1
           14 fi
           15 
           16 . "/br/con/termres${year}"
           17 
           18 if [ "$(tput cols)" -lt "$CONTERMCOL" ] || [ "$(tput lines)" -lt "$CONTERMLIN" ]
           19 then
           20         printf 'Input presentation terminal is %dx%d characters.\n' \
           21                "$CONTERMCOL" "$CONTERMLIN"
           22         printf 'You should adjust your terminal to it. Continue anyway? y/N: '
           23         read yesno
           24         if [ "$yesno" != 'y' ]
           25         then
           26                 exit 1
           27         fi
           28 fi
           29 
           30 printf '%s\n' 'You will be connected to the conference view-only terminal.' \
           31        'Type in ^'\\' (control+'\\') to detach from it.' \
           32        'Press any key to continue.'
           33 
           34 read
           35 
           36 abduco -r -l -a /br/con/sock/bitreichcon${year} || \
           37         printf '%s\n' 'Could not connect to the conference. ' \
           38                'Please contact 20h on #bitreich-con on freenode.'
           39