sendbug.1 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. .\" $OpenBSD: sendbug.1,v 1.28 2016/07/13 20:31:27 jmc Exp $
  2. .\"
  3. .\" Written by Raymond Lai <ray@cyth.net>.
  4. .\" Public domain.
  5. .\"
  6. .Dd $Mdocdate: July 13 2016 $
  7. .Dt SENDBUG 1
  8. .Os
  9. .Sh NAME
  10. .Nm sendbug
  11. .Nd report a bug in LibertyBSD
  12. .Sh SYNOPSIS
  13. .Nm
  14. .Op Fl DEP
  15. .Sh DESCRIPTION
  16. .Nm
  17. is used to submit problem reports (PRs) to the
  18. LibertyBSD
  19. bugs e-mail address.
  20. A template PR is opened in a text editor
  21. with some system information already filled in,
  22. such as machine architecture,
  23. .Xr dmesg 8 ,
  24. .Xr usbdevs 8 ,
  25. .Xr pcidump 8 ,
  26. and
  27. .Xr acpidump 8 .
  28. The
  29. .Xr pcidump 8
  30. and
  31. .Xr acpidump 8
  32. output are important for ACPI development and can only be included if
  33. .Nm
  34. is run as root.
  35. .Pp
  36. Fields enclosed in
  37. .Sq <>
  38. should be completed by the user.
  39. Once the PR is filled out,
  40. the user exits the editor and is presented with a choice:
  41. a)bort, e)dit, or s)end.
  42. If abort is selected,
  43. the report is not deleted and the pathname of the report is printed.
  44. If edit is selected,
  45. the user is given a chance to re-edit the report.
  46. .Pp
  47. If send is selected,
  48. the report is mailed to the bugs inbox,
  49. with a Cc to the author.
  50. After which it will be added to the official bug tracker,
  51. and any developments will be forwarded to you.
  52. .Pp
  53. The options are as follows:
  54. .Bl -tag -width Ds
  55. .It Fl D
  56. Do not attach
  57. .Xr dmesg 8 ,
  58. .Xr usbdevs 8 ,
  59. .Xr pcidump 8 ,
  60. and
  61. .Xr acpidump 8
  62. output to the report.
  63. This information is very helpful in reports,
  64. but may contain sensitive information about the sender.
  65. This flag helps protect users' privacy in those cases.
  66. .It Fl E
  67. The
  68. .Xr acpidump 8
  69. output includes base64 encoded files.
  70. This flag causes
  71. .Nm
  72. to read a PR from the standard input, decode the files,
  73. and write them into the current directory.
  74. .It Fl P
  75. Generate and print the template with system information filled out.
  76. .El
  77. .Sh ENVIRONMENT
  78. .Bl -tag -width Ds
  79. .It Ev EDITOR , VISUAL
  80. Specifies an editor to use.
  81. If both
  82. .Ev EDITOR
  83. and
  84. .Ev VISUAL
  85. are set,
  86. .Ev VISUAL
  87. takes precedence.
  88. If neither
  89. .Ev EDITOR
  90. nor
  91. .Ev VISUAL
  92. are set,
  93. the default is
  94. .Xr vi 1 .
  95. .It Ev PR_FORM
  96. Filename of PR form to use instead of using the built-in form.
  97. Such a PR form can be partially pre-completed to make the
  98. process faster.
  99. .El
  100. .Sh FILES
  101. .Bl -tag -width "/tmp/p.XXXXXXXXXX" -compact
  102. .It Pa /tmp/p.XXXXXXXXXX
  103. temporary PR report
  104. .El
  105. .Sh SEE ALSO
  106. .Xr crash 8 ,
  107. .Xr dmesg 8
  108. .Sh AUTHORS
  109. .Nm
  110. was written from scratch for the public domain by
  111. .An Ray Lai Aq Mt ray@cyth.net .