Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

gnu-screen

What’s a good Java, curses-like, library for terminal applications? [closed]

December 28, 2022 by Tarik

Lanterna I found the Lanterna library recently. Haven’t had the opportunity to use it yet but it looks like a more up-to-date alternative to the others.

Categories java Tags console, console-application, gnu-screen, java, terminal Leave a comment

How to scroll up and down in sliced “screen” terminal

December 19, 2022 by Tarik

1.Ctrl+A, then Esc 2. After that, you should be able to move your cursor around using the arrow keys:↑, ↓, PgUp, PgDn and sometimes using the mouse wheel 3. Return control: Q or Esc

Categories linux Tags gnu-screen, linux, terminal, ubuntu, unix Leave a comment

Terminal Multiplexer for Microsoft Windows – Installers for GNU Screen or tmux [closed]

December 11, 2022 by Tarik

Look. This is way old, but on the off chance that someone from Google finds this, absolutely the best solution to this – (and it is AWESOME) – is to use ConEmu (or a package that includes and is built on top of ConEmu called cmder) and then either use plink or putty itself to … Read more

Categories windows Tags gnu-screen, linux, tmux, windows Leave a comment

Getting back old copy paste behaviour in tmux, with mouse

December 9, 2022 by Tarik

Copy the text: select the text and press mouse left-button with shift key press too. Paste the text with shift key + middle-button

Categories terminal Tags gnu-screen, terminal, tmux Leave a comment

Save Screen (program) output to a file

October 26, 2022 by Tarik

There is a command line option for logging. The output is saved to screenlog.n file, where n is a number of the screen. From man pages of screen: ā€˜-L’ Tell screen to turn on automatic output logging for the windows.

Categories logging Tags buffer, dump, gnu-screen, logging Leave a comment

How do I force detach Screen from another SSH session?

October 16, 2022 by Tarik

As Jose answered, screen -d -r should do the trick. This is a combination of two commands, as taken from the man page. screen -d detaches the already-running screen session, and screen -r reattaches the existing session. By running screen -d -r, you force screen to detach it and then resume the session. If you … Read more

Categories linux Tags gnu-screen, linux, ssh, terminal Leave a comment

Copying the GNU screen scrollback buffer to a file (extended hardcopy)

October 11, 2022 by Tarik

To write the entire contents of the scrollback buffer to a file, type Ctrl + A and : to get to command mode, then hardcopy -h <filename> In older versions of screen, if you just do hardcopy -h, it just writes to the file -h. This was fixed in version 4.2.0, so hardcopy -h writes … Read more

Categories keyboard-shortcuts Tags gnu-screen, keyboard-shortcuts Leave a comment

How do I increase the scrollback buffer in a running screen session?

October 4, 2022 by Tarik

Press Ctrl+A then : and then type scrollback 10000 to get a 10000 line buffer, for example. You can also set the default number of scrollback lines by adding defscrollback 10000 to your ~/.screenrc file. To scroll (if your terminal doesn’t allow you to by default), press Ctrl+A then Esc and then scroll (with the … Read more

Categories linux Tags gnu-screen, linux Leave a comment

How to list running screen sessions?

October 3, 2022 by Tarik

To list all of the screen sessions for a user, run the following command as that user: screen -ls To see all screen sessions on a specific machine you can do: ls -laR /var/run/screen/ I get this on my machine: gentle ~ # ls -laR /var/run/screen/ /var/run/screen/: total 1 drwxrwxr-x 4 root utmp 96 Mar … Read more

Categories linux Tags bash, command-line, gnu-screen, linux Leave a comment

Using the scrollwheel in GNU screen

October 2, 2022 by Tarik

I believe you can just add a line like this to your ~/.screenrc: termcapinfo xterm* ti@:te@ Where “xterm*” is a glob match of your current TERM. To confirm it works, ^A^D to detach from your screen, then screen -d -r to reattach, then ls a few times, and try to scroll back. It works for … Read more

Categories mousewheel Tags gnu-screen, mousewheel Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 Next →

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa