Skip to content
Browse files

Initial git import

  • Loading branch information...
0 parents commit e072ba29ac1874eb2a3e934106cabdd5d9adc183 @nelhage nelhage committed
Showing with 57 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +16 −0 barnowl
  3. +17 −0 barnowl-256color
  4. +3 −0 barnowl-beta
  5. +6 −0 barnowl-cpan
  6. +5 −0 barnowl-perl-config
  7. +9 −0 barnowl-unicode
1 .gitignore
@@ -0,0 +1 @@
+*~
16 barnowl
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+TERMINFO="$(athdir /mit/barnowl share)"/terminfo
+export TERMINFO
+eval $(env SHELL=/bin/bash $(athdir /mit/barnowl bin)/barnowl-perl-config)
+
+if [ -n "$ATHENA_SESSION_TMPDIR" ]; then
+ PAR_GLOBAL_TMPDIR=$ATHENA_SESSION_TMPDIR
+ export PAR_GLOBAL_TMPDIR
+fi
+if [ -z "$BARNOWL_REAL" ]; then
+ BARNOWL_REAL=barnowl.real
+fi
+
+
+exec "$(athdir /mit/barnowl bin)"/$BARNOWL_REAL "$@"
17 barnowl-256color
@@ -0,0 +1,17 @@
+#!/bin/sh
+case "$TERM" in
+screen-bce)
+ TERM=screen-256color-bce
+ ;;
+screen)
+ TERM=screen-256color
+ ;;
+xterm)
+ TERM=xterm-256color
+ ;;
+*)
+ ;;
+esac
+
+export TERM
+exec /afs/sipb.mit.edu/project/barnowl/arch/@sys/bin/barnowl "$@"
3 barnowl-beta
@@ -0,0 +1,3 @@
+#!/bin/sh
+export BARNOWL_REAL=barnowl.real-beta
+exec `dirname "$0"`/barnowl "$@"
6 barnowl-cpan
@@ -0,0 +1,6 @@
+#!/bin/bash
+here="`dirname "$0"`"
+eval `$here/barnowl-perl-config`
+# export PERL_MM_USE_DEFAULT=1
+
+exec cpan "$@"
5 barnowl-perl-config
@@ -0,0 +1,5 @@
+#!/bin/sh
+ATHENA_SYS=${ATHENA_SYS-"`machtype -S`"}
+export ATHENA_SYS
+perldir="`athdir /mit/barnowl perl`"
+perl -I "$perldir/lib/perl5" -Mlocal::lib="$perldir/"
9 barnowl-unicode
@@ -0,0 +1,9 @@
+#!/bin/sh
+echo "The unicode branch of BarnOwl has been merged with trunk." >&2
+echo "Please use 'barnowl' instead of barnowl-unicode." >&2
+
+#LD_LIBRARY_PATH=/afs/sipb.mit.edu/project/barnowl/arch/$ATHENA_SYS/lib/:$LD_LIBRARY_PATH
+#export LD_LIBRARY_PATH
+#BARNOWL_REAL=barnowl-unicode.real
+#export BARNOWL_REAL
+#exec /afs/sipb.mit.edu/project/barnowl/arch/common/bin/barnowl "$@"

0 comments on commit e072ba2

Please sign in to comment.
Something went wrong with that request. Please try again.