6d86081997-12-22Fredrik Hübinette (Hubbe) #!/bin/sh
1e1fb61998-01-16Fredrik Hübinette (Hubbe) # Edit
a1ad681998-01-16Fredrik Hübinette (Hubbe) NTHOST=10.0.4.10
6d86081997-12-22Fredrik Hübinette (Hubbe) NTDRIVE='j:'
1e1fb61998-01-16Fredrik Hübinette (Hubbe)  # What dir on the UNIX machine is on $NTDRIVE ? # This variable MUST NOT end with a slash. NTMOUNT=
a1ad681998-01-16Fredrik Hübinette (Hubbe) # Use Simple Pike Remote SHell? USE_SPRSH=yes # Port for sprsh NTPORT=4711
1e1fb61998-01-16Fredrik Hübinette (Hubbe) # Don't edit
a1ad681998-01-16Fredrik Hübinette (Hubbe) 
a1bb361998-04-16Fredrik Hübinette (Hubbe) base=`pwd` NP=$base/tools
a1ad681998-01-16Fredrik Hübinette (Hubbe)  case :$PATH: in *:$NP:*) ;; *) PATH=$NP:$PATH ;; esac
6d86081997-12-22Fredrik Hübinette (Hubbe) CC=rntcc
a1bb361998-04-16Fredrik Hübinette (Hubbe) NTTOOLS=$NP/lib
34f8f01998-01-16Fredrik Hübinette (Hubbe) if [ "x$NTMOUNT" = x ]; then MNTREPLACE="" else MNTREPLACE="s@$NTMOUNT@@g " fi
6d86081997-12-22Fredrik Hübinette (Hubbe) 
a1ad681998-01-16Fredrik Hübinette (Hubbe) export NTHOST NTDRIVE NTCC CC PATH NTTOOLS MNTREPLACE MNTREPLACE NTPORT USE_SPRSH
6d86081997-12-22Fredrik Hübinette (Hubbe) 
47c4c91998-08-05Fredrik Hübinette (Hubbe) case /$SHELL-$TERM in
95c2361998-07-26Fredrik Hübinette (Hubbe)  */bash-xterm)
0f79ff1998-07-31Henrik Grubbström (Grubba)  PROMPT_COMMAND="echo -n ]2\; Remote NT compile ]1\; rntcc" export PROMPT_COMMAND
95c2361998-07-26Fredrik Hübinette (Hubbe)  ;;
0f79ff1998-07-31Henrik Grubbström (Grubba) esac
47c4c91998-08-05Fredrik Hübinette (Hubbe)  case /$SHELL in */bash) PS1="NT $NTHOST \\$ " export PS1 ;; esac case /$0 in */init_nt) exec $SHELL ;; esac