Qtcsh is an extension to the popular csh(1) derivative tcsh (version 6.09.00). The implementation of transparent remote execution bases on libgdi. For details on qtcsh have a look to qtcsh(1).
The implementation consists in essence of two functions sge_init() and sge_execv() that are contained in libgdi. The purpose of sge_init() is to read all qtask(5) file configuration. It is called immediately after all initial sourcing work (.cshrc, ..) is done. The second function sge_execv() is used to substitute execv(2) occurrencies in tcsh source code. In case the command is to be executed remotely due to qtask(5) file configuration sge_execv() executes an appropriate qrsh command. For commands which are to be executed locally an execv(2) is called within sge_execv().
Copyright 2001 Sun Microsystems, Inc. All rights reserved.