Bug 1607912 - capture-pane -b option doesn't create buffer
Summary: capture-pane -b option doesn't create buffer
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tmux
Version: 7.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: David Cantrell
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-24 14:31 UTC by Jakub Heger
Modified: 2021-02-15 07:40 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-15 07:40:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jakub Heger 2018-07-24 14:31:03 UTC
Description of problem:
If you don't use -b option with capture-pane new buffer is created and content of the pane is captured there. 

However if I want to specify buffer to capture it to and the buffer with the index doesn't exist it is not created and error is produced.

Version-Release number of selected component (if applicable):
tmux-1.8-4.el7.x86_64

How reproducible:
always



tmux -u -L poc_session save-buffer -b 0 output.log


Steps to Reproduce:
1. tmux -u -L poc_session new-session -d -x 80 -y 24
2. tmux -u -L poc_session capture-pane -t 0 -b 0
3.

Actual results:
no buffer 0

Expected results:
Buffer is created

Additional info:

Comment 4 RHEL Program Management 2021-02-15 07:40:52 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


Note You need to log in before you can comment on or make changes to this bug.