gnu-screen

Save “screen” (program) output to a file

*爱你&永不变心* 提交于 2019-11-26 15:09:01
问题 I need to save the whole output of screen to a file to check later all the content. The reason is that I'm dumping a flash memory trough serial port, using screen to interface with it. I would like to save it to a file to check memory structure. I've tried : $: screen /dev/ttyUSB0 115200 >> foo.txt $: screen /dev/ttyUSB0 115200 | tee foo.txt and I've also tried to use bufferfile from screen, but I don't understand how to use it. Is there an easy way? 回答1: There is a command line option for

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

荒凉一梦 提交于 2019-11-25 22:44:57
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I would like to write a Java terminal application that does screen manipulation. Are there any good libraries out there that allow you to manipulate the screen like curses in the *nix/C world? Minimal features I\'m looking for are windowing and user input support. In feature-speak, I\'d like to have a region of