Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

tmux clear buffer and numlock not working in tty

Have an x86-64 problem? Post here.
Locked
Advanced search
4 posts • Page 1 of 1
Author
Message
samuelbernardo
n00b
n00b
Posts: 31
Joined: Sat Jan 30, 2016 6:20 pm

tmux clear buffer and numlock not working in tty

  • Quote

Post by samuelbernardo » Sun Mar 04, 2018 1:11 pm

I'm using kernel 4.9.84-gentoox99 with profile default/linux/amd64/17.0.

I realize now that, using tmux on a tty, when pane becomes full of text and it goes to the top, buffer clearing is not working as expected. "clear" command also don't empty text inside pane, but puts the cursor on the top. Text is replaced as it goes writting, but becomes a real mess inappropriate for reading. For tmux in tty I've set $TERM=screen-256color. I'm using nvidia modules in UEFI. Numlock is also not working giving a bip after pressing it.

When using tty outside tmux everything works as expected. Anybody knows why that is happening in tmux-2.6?

thks
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Sun Mar 04, 2018 7:24 pm

What is your TERM outside and inside of tmux? What terminal emulator are you using?

Seems to 'WFM' ... I'm using xfce4-terminal (vte) with TERM="xterm-256color" outside and TERM="screen" inside.

What version of ncurses are you using?

The numlock problem is probably something else, what X11 windowmanager/environment are you using?
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
samuelbernardo
n00b
n00b
Posts: 31
Joined: Sat Jan 30, 2016 6:20 pm

  • Quote

Post by samuelbernardo » Sun Mar 11, 2018 3:58 pm

Sorry the delay, but I forget to enable notifications for new posts.
eccerr0r wrote:What is your TERM outside and inside of tmux? What terminal emulator are you using?
Inside tmux I'm using screen-256color.
Outside tmux I'm using xterm-256color.

Reviewing arch linux tmux documentation[1] I realise that it needs tmux-256color starting with 2.1 version. With that it seems to work as expected.

[1] https://wiki.archlinux.org/index.php/tm ... rrect_term
eccerr0r wrote: Seems to 'WFM' ... I'm using xfce4-terminal (vte) with TERM="xterm-256color" outside and TERM="screen" inside.

What version of ncurses are you using?
I've installed ncurses 5.9-r101 and 6.0-r1. Looking into tmux strings I confirm that it's linked with libncurses.so.6.

eccerr0r wrote: The numlock problem is probably something else, what X11 windowmanager/environment are you using?
I'm using kde plasma 5.12.3 with sddm 0.17.0-r1. But I've no problem with numlock inside X. Only using tmux outside X (in tty) numlock don't work.

Thanks eccerr0r for your hints.

Cheers
Top
samuelbernardo
n00b
n00b
Posts: 31
Joined: Sat Jan 30, 2016 6:20 pm

  • Quote

Post by samuelbernardo » Sun Mar 11, 2018 4:59 pm

Unfortunately it's not working tmux in tty (witrhout X) when forcing TERM=tmux-256color.

Outside tmux it works without any problem. clear works as expected.

When inside tmux clear command put the cursor on top of the screen but didn't clear the text in the screen buffer.
Top
Locked

4 posts • Page 1 of 1

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic