.\" Copyright (c) 1983, 1990 The Regents of the University of California. .\" All rights reserved. .\" .\" %sccs.include.redist.roff% .\" .\" @(#)sendbug.1 6.8 (Berkeley) 05/09/91 .\" .Dd .Dt SENDBUG 1 .Os BSD 4.2 .Sh NAME .Nm sendbug .Nd mail a system bug report to 4bsd-bugs .Sh SYNOPSIS .Nm sendbug .Op Ar address .Sh DESCRIPTION Bug reports sent to `4bsd-bugs@Berkeley.EDU' are intercepted by a program which expects bug reports to conform to a standard format. .Nm Sendbug is a shell script to help the user compose and mail bug reports in the correct format. .Nm Sendbug works by invoking the editor specified by the environment variable .Ev EDITOR on a temporary copy of the bug report format outline. The user must fill in the appropriate fields and exit the editor. .Nm Sendbug then mails the completed report to `4bsd-bugs@Berkeley.EDU' or the .Ar address specified on the command line. .Sh ENVIRONMENT .Nm Sendbug will utilize the following environment variable if it exists: .Bl -tag -width EDITOR .It Ev EDITOR Specifies the preferred editor. If .Ev EDITOR is not set, .Nm defaults to .Xr vi 1 . .El .Sh FILES .Bl -tag -width /usr/share/misc/bugformat -compact .It Pa /usr/share/misc/bugformat Contains the bug report outline. .El .Sh SEE ALSO .Xr vi 1 , .Xr environ 7 , .Xr bugfiler 8 , .Xr sendmail 8 .Sh HISTORY The .Nm sendbug command appeared in .Bx 4.2 .