Hi Karen, > On Jul 17, 2024, at 7:31 PM, Karen Lewellen via Freedos-user > <freedos-user@lists.sourceforge.net> wrote: > > Hi all, > Let me outline what I mean. > In an effort to duplicate a sucessful ssh2d386 connection I make regularly, a > server manager wants to see the actual content, i. e. what shows on the > screen when a -v is added. > Linux has a few of these, keystrokes that send screen output to a file. > Anyone know the comparative method in DOS? > > Thanks, > Karen >
You can try Logger. https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/latest/pkg-html/logger.html ( or if you have network support, simply “FDNPKG install logger” ) It does not log directly to file. I records things that output to the screen to memory. It can use up to 63Mb of XMS memory which is a minimum of about 8,000 screens in full color before it starts overwriting older text. But, it can output the recording to plain text. If you want color, it can output to ANSI text or HTML as well. Logging can be turned off and on. There is also text documentation for talking the Logger API from other programs. There are some assembly examples included that demonstrate the different API functions. There is a small compatibility issue with it’s built-in log viewer on some hardware in the current version. It does not effect it’s logging or anything important. Basically, on some hardware the cursor gets visually stuck in the upper left corner of the screen after using the viewer. A simple video mode reset gets it moving again. I will fix that annoyance eventually when I get the time. Side note… Viewing or sending the log to file will turn off logging until it is turned back on again. Nowadays, I have it in my config.sys and just boot with it on my various DOS machines (FreeDOS, MSDOS and PCDOS) giving it 8Mb of memory for color logging using DEVICEHIGH=C:\FREEDOS\BIN\LOGGER.COM COLOR 8192 XMS But, it can be loaded using the FreeDOS program DEVLOAD (or equivalent) at anytime. It’s not perfect. But, It generally does a really good job. Mostly, it depends on how a program is handling screen writes. At some point, I will probably add hot-key support for things line turning off/on logging, screen captures and other things. :-) Jerome _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user