Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tmux: doesn't show up on the console #5721

Open
alive4ever opened this issue Mar 7, 2018 · 8 comments
Open

tmux: doesn't show up on the console #5721

alive4ever opened this issue Mar 7, 2018 · 8 comments

Comments

@alive4ever
Copy link
Contributor

Maintainer: @diizzyy
Environment: x86_64, qemu, snapshot r6395-a70db57

Description:
When launching tmux directly on the OpenWrt console or serial, tmux doesn't show up.
Input works, but there is no tmux panel shown at all.

tmux_doesnt_show_up

@mstorchak
Copy link
Contributor

Maybe console doesn't provide all capabilities tmux requires.
How should the fix look like?

@alive4ever
Copy link
Contributor Author

The fix may involves fixing procd console initialization to add capabilities tmux needs.

@alive4ever
Copy link
Contributor Author

comparing output of stty on the openwrt console to actual linux console, the openwrt console output lacks the following capabilities:

-cmspar
-flusho
-extproc

@alive4ever
Copy link
Contributor Author

procd seems to lack console initialization to set terminal configuration.
busybox init does have console_init.

@neheb
Copy link
Contributor

neheb commented Jan 12, 2020

I assume this is still an issue.

@mstorchak
Copy link
Contributor

Is it a procd issue then?

@plntyk
Copy link
Contributor

plntyk commented Jun 10, 2020

tested on
LEDE 17.01.7, 18.06.7, 19.07.3 and snapshot
on x86_64 VM and snapshot qemu Malta VM

as written before no input or output from tmux visible on serial or graphic output
but tmux itself works , with hotkeys
tmux capture-pane -pt 0 show hidden input if tmux isnt in foreground
tmux log on server side doesnt show obvious errors
tmux refresh-client -t/dev/ttyS0 does not work

running tmux inside a screen session works

@plntyk
Copy link
Contributor

plntyk commented Jun 10, 2020

opened a bug report: https://bugs.openwrt.org/index.php?do=details&task_id=3170

might be related to permissions or features of device nodes involved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants