05-02-2008
Seeing the screen output beyond the scroll capability for the last run command
HI ,
I forgot to redirect my op to a file.The op which is quite huge , thus printed on the screen.However bcoz of the limited viewing in the screenI can not see the whole of the output..
Is there anyway I can see the full op.My run takes half a day for finnishing ..So I am refraining for running again
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Folks,
I have a script that runs a command (rsync) that sometimes takes a long time to complete and produces diagnostic output on stdout as it runs.
I am currently capturing this output in a variable and using it further in the script. I would like to continue to capture this output... (2 Replies)
Discussion started by: mbm
2 Replies
2. Linux
Hi,
I have a query. Do we have any command line browser utility in linux which can fulfill the following requirement:
1. Handle pages which can have javascripts
2. Can use pre-recorded user inputs (maybe stored in some input files) for automated navigation/task.
I had seen such an... (2 Replies)
Discussion started by: animesh303
2 Replies
3. Shell Programming and Scripting
Dear All,
I am writing a script and kind of stuck in a small thing. Cannot figure it out. so please help
I am logged in as root user. I want to switch user to "user1" inside the script and execute a specific command lets say "pwd" and come back where i started.
I know how to switch user,... (16 Replies)
Discussion started by: suhail.sadaqat
16 Replies
4. AIX
In ksh is there a was to scroll thru all matching commands? For example I executed several commands over several days. Is there a way to scroll thru all the matching 'find' commands only that was executed?
No messing with the .history file. Anyway to do this from the command prompt? TIA. (3 Replies)
Discussion started by: Un1xNewb1e
3 Replies
5. Shell Programming and Scripting
Hi,
I'm trying to come up with a simple expect script that allows me to login to a system and run a single command ... something like this:
#!/usr/bin/expect -f
# let's set some variables
#set password
set ipaddr
set ponumber
set hostname
set timeout -1
# let's now connect to the... (0 Replies)
Discussion started by: danielsf
0 Replies
6. UNIX for Dummies Questions & Answers
Can nano have two files open at once?
Thanks in advance! (2 Replies)
Discussion started by: theKbStockpiler
2 Replies
7. Shell Programming and Scripting
Hi. I'm trying to write a script that reads a line on a file and runs a different command for a different line output.
For example, if it finds the word "Kuku" on the line it sends mail to Kuku@kuku.com. Otherwise, it sends mail to Lulu@lulu.com.
TIA. (2 Replies)
Discussion started by: Doojek9
2 Replies
8. UNIX for Dummies Questions & Answers
Hi there,
I'm a newbie to Unix (taking a course in it right now) and I don't know how to do the following in bash:
I need to write a command to display information about the used and free space on the file system, showing only local file systems, and then send the output of the command to... (1 Reply)
Discussion started by: damianberry
1 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I am a beginner, I have currently Solaris 11 on a vmware machine. Whenever I type a command like 'ls' the screen scrolls to the end of the screen. I am unable to see the entire list of directories and files. I have tried ls |page command, but looking out for a better option. (3 Replies)
Discussion started by: farheenprasad
3 Replies
10. Programming
So I have ported a C++ program from windows to linux
and when I run it from terminal all is well. However
when executed from file manager there is no screen output.
The program runs and does what it should, just the problem
of not knowing if there are errors or if its even complete. Is there a... (12 Replies)
Discussion started by: pinbot
12 Replies
LEARN ABOUT DEBIAN
scroll_screen
scroll_screen(3alleg4) Allegro manual scroll_screen(3alleg4)
NAME
scroll_screen - Requests a hardware scroll request. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int scroll_screen(int x, int y);
DESCRIPTION
Attempts to scroll the hardware screen to display a different part of the virtual screen (initially it will be positioned at 0, 0, which is
the top left corner). You can use this to move the screen display around in a large virtual screen space, or to page flip back and forth
between two non-overlapping areas of the virtual screen. Note that to draw outside the original position in the screen bitmap you will have
to alter the clipping rectangle with set_clip_rect().
Mode-X scrolling is reliable and will work on any card, other drivers may not work or not work reliably. See the platform-specific section
of the docs for more information.
Allegro will handle any necessary vertical retrace synchronisation when scrolling the screen, so you don't need to call vsync() before it.
This means that scroll_screen() has the same time delay effects as vsync().
RETURN VALUE
Returns zero on success. Returns non-zero if the graphics driver can't handle hardware scrolling or the virtual screen is not large enough.
SEE ALSO
set_gfx_mode(3alleg4), show_video_bitmap(3alleg4), request_scroll(3alleg4), request_video_bitmap(3alleg4), exscroll(3alleg4)
Allegro version 4.4.2 scroll_screen(3alleg4)