version 1.13, 2002/01/09 11:32:01 |
version 1.17, 2002/07/31 01:03:02 |
|
|
%%%%%%%%%%% $OpenXM: OpenXM/src/kan96xx/Doc/ox-win.sm1,v 1.12 2001/12/28 08:18:23 takayama Exp $
|
%%%%%%%%%%% $OpenXM: OpenXM/src/kan96xx/Doc/ox-win.sm1,v 1.16 2002/07/29 08:32:03 takayama Exp $
|
|
|
|
(ox-win.start.noiconic) boundp {
|
|
/ox-win.start.iconic 0 def
|
|
}{
|
|
/ox-win.start.iconic 1 def
|
|
} ifelse
|
|
|
/ox-win.sm1.loaded 1 def
|
/ox-win.sm1.loaded 1 def
|
(ox.sm1.loaded) boundp {
|
(ox.sm1.loaded) boundp {
|
}{
|
}{
|
Line 29 OpenXM_HOME_WIN tag 0 eq { |
|
Line 35 OpenXM_HOME_WIN tag 0 eq { |
|
def
|
def
|
} { } ifelse
|
} { } ifelse
|
|
|
|
/ox.win.set.start {
|
|
[(stat) (c:\windows\system32\cmd.exe)] extension 0 get
|
|
0 eq {
|
|
/ox.win.start [(c:\windows\system32\cmd.exe) (/c) (start)
|
|
ox-win.start.iconic { (/min) } { } ifelse ] def
|
|
}{
|
|
[(stat) (c:\winnt\system32\cmd.exe)] extension 0 get
|
|
0 eq {
|
|
/ox.win.start [(c:\winnt\system32\cmd.exe) (/c) (start)
|
|
ox-win.start.iconic { (/min) } { } ifelse ] def
|
|
}{
|
|
/ox.win.start [ (start) ox-win.start.iconic { (/min) } { } ifelse ] def
|
|
} ifelse
|
|
} ifelse
|
|
} def
|
|
ox.win.set.start
|
|
|
%% This is used in asirconnectr_win
|
%% This is used in asirconnectr_win
|
/OX_LAUNCH (c:\home\asir\bin\ox_launch.exe) def
|
/OX_LAUNCH (c:\home\asir\bin\ox_launch.exe) def
|
%%%%%%%%%%%%%%% end configuration %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%% end configuration %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%% Set constants for windows.
|
%% Set constants for windows.
|
[(getenv) (OSTYPE)] extension tag 0 eq {
|
[(getenv) (OSTYPE)] extension tag 0 eq {
|
/oxpath.ostype (native-windows) def
|
/ox.ostype (native-windows) def
|
}{
|
}{
|
[(getenv) (OSTYPE)] extension /oxpath.ostype set
|
[(getenv) (OSTYPE)] extension /ox.ostype set
|
} ifelse
|
} ifelse
|
|
|
oxpath.ostype (cygwin) eq {
|
ox.ostype (cygwin) eq {
|
/oxpath.ox (bin/ox.exe) def
|
/oxpath.ox (bin/ox.exe) def
|
/oxpath.oxsm1 (bin/ox_sm1.exe) def
|
/oxpath.oxsm1 (bin/ox_sm1.exe) def
|
/oxpath.oxlog (bin/oxlog.exe) def
|
/oxpath.oxlog (bin/oxlog.exe) def
|
/oxpath.xterm (start ) def
|
/oxpath.xterm ox.win.start { ( ) } map cat def
|
/oxpath.null ( ) def
|
/oxpath.null ( ) def
|
/oxpath.null00 ( >& /dev/null ) def %%cf. oxNoX
|
/oxpath.null00 ( >& /dev/null ) def %%cf. oxNoX
|
/oxpath.null00-pure-sh ( 2>&1 >/dev/null) def %%TODO:It does not work in our case
|
/oxpath.null00-pure-sh ( 2>&1 >/dev/null) def %%TODO:It does not work in our case
|
}{
|
}{
|
/oxpath.ox
|
/oxpath.ox
|
[ OpenXM_HOME_WIN
|
[ OpenXM_HOME_WIN
|
(\bin\ox.exe)
|
(\bin\ox.exe)
|
] cat
|
] cat
|
Line 77 oxpath.ostype (cygwin) eq { |
|
Line 100 oxpath.ostype (cygwin) eq { |
|
/data peer 1 get toString def
|
/data peer 1 get toString def
|
/control peer 3 get toString def
|
/control peer 3 get toString def
|
peer message
|
peer message
|
[(start ox ) ( -reverse -ox ) (/home/nobuki/OpenXM/src/kxx/ox_sm1.exe)
|
[ox.win.start aload pop
|
|
( ox ) ( -reverse -ox ) (/home/nobuki/OpenXM/src/kxx/ox_sm1.exe)
|
( -data ) data ( -control ) control ( -pass ) pass
|
( -data ) data ( -control ) control ( -pass ) pass
|
( -wait 2 )
|
( -wait 2 )
|
oxpath.null
|
oxpath.null
|
Line 99 oxpath.ostype (cygwin) eq { |
|
Line 123 oxpath.ostype (cygwin) eq { |
|
/data peer 1 get toString def
|
/data peer 1 get toString def
|
/control peer 3 get toString def
|
/control peer 3 get toString def
|
peer message
|
peer message
|
|
(Hello ) message
|
[(forkExec) [
|
[(forkExec) [
|
(c:/windows/command/start)
|
ox.win.start aload pop
|
[OpenXM_HOME_WIN (\bin\ox)] cat
|
%%(c:\windows\system32\cmd.exe) (/c) (start)
|
|
oxpath.ox
|
(-reverse)
|
(-reverse)
|
(-ox)
|
(-ox)
|
[OpenXM_HOME_WIN (\bin\ox_sm1.exe)] cat
|
[OpenXM_HOME_WIN (\bin\ox_sm1.exe)] cat
|