#if defined(UNX) || defined(W32)
= Remote Shell
RSH [-{e2s|s2e}] [-L username] * cmd-parm
RSH [-{e2s|s2e}] {hostid:|*:|hostname|ipaddr}
[-L username] [cmd-string]
1st fmt is used to execute the file opened for edit.
-e2s/s2e :output(stdout/stderr) EUC<->SJIS conversion.
This parm is omittable when hostid is by hostid:
as DBCS= parameter specification in the ::xehost
is applyed.
hostid: :this should be defined in the ::xehost.
on command-result-panel,"rsh hostid:"(no cmd-string)
connect current panel to the hostid.
After this until it is reset by "rsh :"(no hostid)
or another "rsh hostid:" cmd,
no hostid specification required on this panel,
simply enter cmd-string only.
In these status,to execute local command add ":" at
the top of local command like as ":grep ABC *.c".
*: :execute at the remote host of the hostid of currently
opened file.
hostname :by hostname defined on /etc/hosts under UNIX or
system32\drivers\etc\hosts under WindowsXP.
ipaddr :directly use ipaddr like as 192.168.2.5.
ipaddr may be defined hosts on local system.
-L user :login UserID.
If use rhosts file to allow rsh permission,
local hostname and local userID should be defined
on remote ".rhosts" file in the home dir of this user.
cmd-string: use \" for double quotation.
(Note).
Check syslog when permission denied. Under Linux,syslog is
/var/log/messages(it is defined in /etc/syslog.conf)
File permission of .rhosts may have to be 600 under Linux.
#endif