Recording what happens in the terminal is not new. Knowing that, you might correctly infer that there’s not much to show. I’m going to do that again now with a series of applications that are intended to convert terminal output into a replayable format, and beyond. I realize now, well after digging deep into the T section, that I should have broken apart a lot of the programs listed here and clumped them together in megaposts, like I did with 2048.c. That kind of usefulness - and its apparent freedom from other tools that might let you do something similar, like screen - make it a valuable tool in its own right. None of those issues hamstrings conspy in the least though, since conspy allows you to effectively peer into a vc, or even issue commands through it, from far away. It could just be the side effect of working with a machine that is out-of-date by more than a decade, but it’s something I see. Even just htop has a few oddball characters in conspy, that otherwise look fine in the tty.Īnd sometimes there’s a little lag between sending characters through conspy and their appearance on the screen. I also notice some discrepancies in what a virtual console shows, and what conspy can display. I leave it to you to pursue those options. I haven’t tried resetting or resizing a framebuffer with conspy, and I don’t know if you’d have much luck using conspy with a framebuffer emulator. For one, you might wonder at the usefulness of conspy if either your terminal or your console is of dramatically different dimensions.įor what I’ve seen, conspy plays it safe by leaving excess space blank when you have it, and by arbitrarily cutting off the display when you don’t. There are some obvious question marks that arise. And pairing this with ssh means you probably have an extra layer of control. So you could, in theory, send commands to a vc that is either inaccessible or remote. Which is an oversight, and I should apologize.Ĭonspy allows you to send keystrokes to a tty too, which is probably where it might come in most handy. It’s terribly clever, and I know I’ve used it in the past, even if I don’t think I made a note of it either here or on the old blog. This might remind you of something like screen -x, but it’s quite different. In other words, you get a faithful rendition of what’s in the virtual console, inside another terminal instance. It might take a few seconds to see what conspy is doing there: That’s the vc2 login on my Arch system, reproduced exactly in a terminal emulator. I can think of plenty of ways to use conspy, but I can’t really think of one that shows it in action, except perhaps for this.
0 Comments
Leave a Reply. |