tmux/.github/CONTRIBUTING.md

79 lines
1.7 KiB
Markdown
Raw Normal View History

2019-05-11 07:09:49 +00:00
## What should I do before opening an issue?
Before opening an issue, please ensure that:
2019-06-01 07:05:55 +00:00
- Your problem is a specific problem or question or suggestion, not a general
complaint.
2019-05-12 09:00:11 +00:00
- `$TERM` inside tmux is screen, screen-256color, tmux or tmux-256color. Check
by running `echo $TERM` inside tmux.
- You can reproduce the problem with the latest tmux release, or a build from
Git master.
2019-06-01 07:05:55 +00:00
- Your question or issue is not covered [in the
manual](https://man.openbsd.org/tmux.1) (run `man tmux`).
- Your problem is not mentioned in the [CHANGES
file](https://raw.githubusercontent.com/tmux/tmux/master/CHANGES) file.
- Nobody else has opened the same issue recently.
2019-05-12 09:06:42 +00:00
## What should I include in an issue?
Please include the output of:
~~~bash
uname -sp && tmux -V && echo $TERM
~~~
Also include:
- Your platform (Linux, OS X, or whatever).
- A brief description of the problem with steps to reproduce.
- A minimal tmux config, if you can't reproduce without a config.
2019-05-12 09:00:11 +00:00
- Your terminal, and `$TERM` inside and outside of tmux.
- Logs from tmux (see below).
- At most one or two screenshots, if helpful.
2019-05-11 07:09:49 +00:00
## How do I test without a .tmux.conf?
2019-05-12 09:00:11 +00:00
Run a separate tmux server with `-f/dev/null` to skip loading `.tmux.conf`:
~~~bash
tmux -Ltest kill-server
tmux -Ltest -f/dev/null new
~~~
2019-05-11 07:09:49 +00:00
## How do I get logs from tmux?
2019-05-12 09:00:11 +00:00
Add `-vv` to tmux to create three log files in the current directory. If you can
reproduce without a configuration file:
~~~bash
tmux -Ltest kill-server
tmux -vv -Ltest -f/dev/null new
~~~
Or if you need your configuration:
~~~base
tmux kill-server
tmux -vv new
~~~
The log files are:
2019-05-12 09:00:11 +00:00
- `tmux-server*.log`: server log file.
2019-05-12 09:00:11 +00:00
- `tmux-client*.log`: client log file.
2019-05-12 09:00:11 +00:00
- `tmux-out*.log`: output log file.
2019-05-11 07:09:49 +00:00
Please attach the log files to your issue.