12-13-2015
You could write all 'output' between interactions into files or pipe to pager, print them, followed by the interaction command, then print the next according file to pager, etc.
Issue remains, while within the pager, the user cannot do interactions.
My question is this much output really required for interactions?
As example, make a detailed --help, --docs --manpage output that is printed to ${PAGER:-more} (bash).
Then focus on the interactions on 'minimal' output to describe what is done with the user input.
Last but not least, you could write your own output function, checking $LINES for the max lines displayed, and then count each line printed, then echo "press enter to continue";read buffer to continue after setting the line count to 0.
hth
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
we have written an auto emailer script for some autosys jobs getting delayed using C-Shell. We would also like to enhance this by sending out a page to the support personnel. Is there any way in C-Shell or autosys wherein we have the facility to send these pager messages ? Please help !! (1 Reply)
Discussion started by: pavankri
1 Replies
2. Programming
How can I write to another user's pseudo tty, but not to its current prompt position (as in open("/dev/pts007", ...) followed by write() ). Instead I would like to write to the top center of the screen using color red, for example. Like curses, but from another console. (6 Replies)
Discussion started by: andreis
6 Replies
3. Solaris
Hi all,
i type a command along with dtterm what i would like to have is that the output of the command to be shown in the new terminal .
Any Idea on how to acheive this? (0 Replies)
Discussion started by: Sayantan
0 Replies
4. UNIX for Advanced & Expert Users
Hey,
How can I transfer the terminal output to a file ?
For example :
command "fuser" returns the "process-id" and prints the output on the terminal, but I want that output to a file as well. How can I do that ?
/clocal/mqbrkrs/user/mqsiadm/sanjay/AccessMonitor $ fuser -uf... (2 Replies)
Discussion started by: varungupta
2 Replies
5. AIX
Hi,
I have two aliases for two types of alert.
/etc/aliases
italert1: user1@company.com
italertb: 123456@paging.isp.com
The first alias containts only an email to go through the company exchange/mail server. Works fine.
The second alias contains only a pager which also works fine.... (2 Replies)
Discussion started by: itik
2 Replies
6. UNIX for Dummies Questions & Answers
I'm using Debian, connected via SSH using Putty, and trying to run the command:
dpkg --configure -ato run a package that didn't complete due to my having to disconnect while it was running.
It gives this message:
dpkg: dependency problems prevent configuration of php5-dev:
php5-dev... (3 Replies)
Discussion started by: stulancs
3 Replies
7. Shell Programming and Scripting
Hello
Using BASH under Ubuntu 10.4 lts + XMonad
My script is almost perfect but i'm stuck at the last hurdle:
I need a sort of modified 'echo' which truncates its output to the width of the terminal
I can find the terminal's width with 'stty size' but i dont know how to then convert input... (2 Replies)
Discussion started by: scyptnex
2 Replies
8. Shell Programming and Scripting
I want to check the log file continoulsy and to send a page alert if i see specific message like Reached Max Connrctions . Please suggest how to do this through script
DO i need to enable the cronjob to run the script evey 5 min or what is the best way (4 Replies)
Discussion started by: mskalyani9
4 Replies
9. Shell Programming and Scripting
i make a shell script. There has a line wget
https://cisofy.com/files/lynis-2.1.0-88394c1affb9e23bd7390098947b3fd4b04e35e8.tar.gzWhen this line execute terminal show some text like this
Resolving cisofy.com (cisofy.com)... 149.*.*.*
Connecting to cisofy.com (cisofy.com)|149.*.*.*|:4444...... (4 Replies)
Discussion started by: Devils-ey3
4 Replies
10. Shell Programming and Scripting
Hello All,
I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly.
Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies
LEARN ABOUT CENTOS
lzmore
XZMORE(1) XZ Utils XZMORE(1)
NAME
xzmore, lzmore - view xz or lzma compressed (text) files
SYNOPSIS
xzmore [filename ...]
lzmore [filename ...]
DESCRIPTION
xzmore is a filter which allows examination of xz(1) or lzma(1) compressed text files one screenful at a time on a soft-copy terminal.
To use a pager other than the default more, set environment variable PAGER to the name of the desired program. The name lzmore is provided
for backward compatibility with LZMA Utils.
e or q When the prompt --More--(Next file: file) is printed, this command causes xzmore to exit.
s When the prompt --More--(Next file: file) is printed, this command causes xzmore to skip the next file and continue.
For list of keyboard commands supported while actually viewing the content of a file, refer to manual of the pager you use, usually
more(1).
SEE ALSO
more(1), xz(1), xzless(1), zmore(1)
Tukaani 2010-09-27 XZMORE(1)