'\" t
.\"     Title: RRT
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 08/28/2023
.\"    Manual: BRL-CAD User Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "RRT" "nged" "08/28/2023" "BRL\-CAD" "BRL\-CAD User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
rrt \- Executes the specified \fIprogram\fR with the provided \fI options\fR and includes the current database name and the list of currently displayed objects on the command line\&.
.SH "SYNOPSIS"
.HP \w'\fBrrt\fR\ 'u
\fBrrt\fR {\fIprogram\fR} [\fIoptions\fR]
.SH "DESCRIPTION"
.PP
Executes the specified
\fIprogram\fR
with the provided
\fIoptions \fR
and includes the current database name and the list of currently displayed objects on the command line\&. This command effectively executes:
.PP
\fIprogram options database_name objects\&.\fR
.PP
The
\fBrrt\fR
command also provides the current MGED viewing parameters to the
\fIprogram\fR
on standard input\&. Many BRL\-CAD programs use the
\fI\-M\fR
option to indicate that viewing parameters will be provided on standard input\&. The
\fBrt\fR
command can be simulated with
\fBrrt \fR
as:
.PP

\fIrrt /usr/brlcad/bin/rt \-M \-s50\fR
.PP
provided that perspective is not currently being used\&. Any executable routine may be run using
\fBrrt\fR; however, it will always be run with the provided options followed by the current database name and the list of currently displayed objects\&.
.SH "EXAMPLES"
.PP
The example shows the use of the
\fBrrt\fR
command to execute the specified program and list the current database name and currently displayed objects\&.
.PP
\fBExample\ \&1.\ \&Execute a specified program and list the current database name and currently displayed objects.\fR
.PP

mged>\fBrrt echo\fR
.PP
Lists the current database name and currently displayed objects\&.
.SH "AUTHOR"
.PP
BRL\-CAD Team
.SH "BUG REPORTS"
.PP
Reports of bugs or problems should be submitted via electronic mail to
devs@brlcad\&.org
