Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
af7f46a7
Commit
af7f46a7
authored
24 years ago
by
Fredrik Noring
Browse files
Options
Downloads
Patches
Plain Diff
New cool stuff.
Rev: NT/init_nt:1.27
parent
e4b225fe
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
NT/init_nt
+26
-20
26 additions, 20 deletions
NT/init_nt
with
26 additions
and
20 deletions
NT/init_nt
+
26
−
20
View file @
af7f46a7
#!/bin/sh
#!/bin/sh
# Support local settings.
# Support local settings.
if
[
-f
"
$HOME
/.init_ntrc"
]
;
then
INIT_NTRC
=
${
INIT_NTRC
-
"
$HOME
/.init_ntrc"
}
.
"
$HOME
/.init_ntrc"
if
[
-f
"
$INIT_NTRC
"
]
;
then
.
"
$INIT_NTRC
"
fi
fi
#This can be 'sprsh', 'wine' or 'cygwin'
#This can be 'sprsh', 'wine' or 'cygwin'
...
@@ -154,22 +155,27 @@ export NTHOST NTDRIVE NTCC CC PATH NTTOOLS MNTREPLACE MNTREPLACE
...
@@ -154,22 +155,27 @@ export NTHOST NTDRIVE NTCC CC PATH NTTOOLS MNTREPLACE MNTREPLACE
export NTPORT USE_SPRSH NTMOUNT IFS REMOTE_METHOD watcom INCLUDE
export NTPORT USE_SPRSH NTMOUNT IFS REMOTE_METHOD watcom INCLUDE
export NT_TOOL_PATH NTCOMPILER PIKE_PATH_TRANSLATE
export NT_TOOL_PATH NTCOMPILER PIKE_PATH_TRANSLATE
case /$SHELL-$TERM in
if [ "$#" = "0" ]; then
*/bash-xterm)
case /$SHELL-$TERM in
PROMPT_COMMAND="echo -n ]2\; $REMOTE_METHOD NT compile ]1\; $CC"
*/bash-xterm)
export PROMPT_COMMAND
PROMPT_COMMAND="echo -n ]2\; $REMOTE_METHOD NT compile ]1\; $CC"
;;
export PROMPT_COMMAND
esac
;;
esac
case /$0 in
*/init_nt)
case /$SHELL in
*/bash)
exec $SHELL -rcfile $NT_TOOL_PATH/bash-fixup
;;
*)
exec $SHELL
;;
esac
;;
esac
else
exec "$@"
fi
case /$0 in
*/init_nt)
case /$SHELL in
*/bash)
exec $SHELL -rcfile $NT_TOOL_PATH/bash-fixup
;;
*)
exec $SHELL
;;
esac
;;
esac
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment