I would like to mark a vertical position in bash shell.
For example, when I run a programm, I would like to set a mark in the first lines printed, so that when I worked (still under the shell), I just have to press several keys to see the first results of my programm. Think about it the VIM way, you set a mark above the current line (pressing ma
), and when you worked a little bit, when you want to see what you previously do you just type 'a
.
To be more specific, I run a programm under gdb who gives results over numerous lines. Then I run tests, still in gdb, and I want to check regularly if what I get during debug is still corresponding to the first printed results I got, but I'm not really fond of scrolling up indefinitely.
Is that even possible ?