ftptermrc(1) ftptermrc(1) NAME ftptermrc - The XmVt popup menu definition file used in the ftpterm application SYNOPSIS DESCRIPTION The XmVt widget used in the ftpterm application utilizes a special file .ftptermrc that creates a user defined popup menu when the right hand mouse button is pressed over the widget. Unfortunatly this manual page will be quite terse at this time, hopefully a more complete version can be constructed by a willing volunter :). This file looks very similer to window manager menu definition files such as system.twmrc system.mwmrc and system.vuewmrc. Please note the following functions that are valid in the vtrc menu definition file. f.quit This function performs a rather abrupt exit from the program. This is somewhat harsh, to have an exit from widget code, but sometimes it is nice to be able to exit from the application from the popup menu. f.send This function sends data to the input stream of the XmVt Widget. This is useful for creating a menu option for often used keystrokes. f.exec This function works much like the window manager option by the same name except that it sends the keystrokes to the input stream (it is assumed an active shell is being monitored) that execute the program in the background. For example input data such as "xterm" will be sent to the input stream as the following command "xterm &\n" where \n is a carriage return. f.send_cr This function sends data to the input stream of the XmVt Widget. This is useful for creating a menu option for often used keystrokes. It differs from f.send in that it sends a trailing carriage return to commit the command. f.write This function sends data directly to the output stream of the XmVt Widget. This means that important functions that are controlled by escape sequences can be made into menu options. Such functions might include clearing the screen or even changing fonts. Keep in mind that almost all of the widget resources can be changed with escape sequences. This option can also be pretty dangerous if various resources are changed. The widget can become unusable pretty easily for instance if the background and foreground colors become the same color. Bruce M. Corwin - 1 Vt Widget Release 1.2: December 1996 ftptermrc(1) ftptermrc(1) RELATED INFORMATION twmrc, vuewmrc, mwmrc, XmVt(3X). Bruce M. Corwin - 2 Vt Widget Release 1.2: December 1996