08-15-2005
xterm -ls -geometry 150x60 -display @D -bg white -fg black -sb
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a way to slowly scroll the output of a file instead of page or cat ?
Instead of one page at a time, I would like to slowly scroll the displayed output of the file. (12 Replies)
Discussion started by: darthur
12 Replies
2. AIX
on a AIX sys i have been trying to get the mouse scroll wheel to page the terminal for about 2 yrs now on aixterm. any ideas. the below syntax does not work in aixterm but does work in xterm.
------------------------- this does not work in aixterm but does work in xterm,, with a cat Xdefult |... (2 Replies)
Discussion started by: nullwhat
2 Replies
3. UNIX for Dummies Questions & Answers
I'm using top to view processes. But, I do not know how to scroll down the list to view what is not showed in the terminal window. Anyone know how to do this? (1 Reply)
Discussion started by: keenansnews
1 Replies
4. UNIX for Dummies Questions & Answers
When I use gnuplot to plot a set of data I get extra y-axis error bars in some random points. Please try the code below, and note the y error bars in the top left corner that don't have any data corresponding to it. Any idea what might be causing this?
gnuplot >
set yrange
set xrange
... (1 Reply)
Discussion started by: cosmologist
1 Replies
5. Shell Programming and Scripting
Hi Folks,
I've been playing around implementing some colorful progress bars using shell scripting. I thought it would nice to share my work :)
If you like em, feel free to use em :D
Cheers
#!/bin/sh
# progbar3.sh
# Simulate a progress bar with colors
# Author: Sofiane Cherchalli... (1 Reply)
Discussion started by: sofianito
1 Replies
6. 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
7. HP-UX
How to scroll back and forwrd in HP-UX?
1.How to auto complete commands in HP-UNIX, which key should be used as in Linux "tab" key is being used.
2. How to scroll back and forward in HP-UX ; in Linux we use up and down arrow.:confused::confused::confused::confused: (3 Replies)
Discussion started by: manalisharmabe
3 Replies
8. UNIX for Dummies Questions & Answers
I figured out my question. mods please delete. Thank you (2 Replies)
Discussion started by: rpmischris
2 Replies
scrl(3XCURSES) X/Open Curses Library Functions scrl(3XCURSES)
NAME
scrl, scroll, wscrl - scroll a window
SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib
-R /usr/xpg4/lib -lcurses [ library... ]
c89 [ flag... ] file... -lcurses [ library... ]
#include <curses.h>
int scrl(int n);
int scroll(WINDOW *win);
int wscrl(WINDOW *win, int n);
PARAMETERS
n number and direction of lines to scroll
win pointer to the window in which to scroll
DESCRIPTION
The scroll() function scrolls the window win up one line. The current cursor position is not changed.
The scrl() and wscrl() functions scroll the window stdscr or win up or down n lines, where n is a positive (scroll up) or negative (scroll
down) integer.
The scrollok(3XCURSES) function must be enabled for these functions to work.
RETURN VALUES
On success, these functions return OK. Otherwise, they return ERR.
ERRORS
None.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
clearok(3XCURSES), libcurses(3XCURSES), attributes(5), standards(5)
SunOS 5.10 5 Jun 2002 scrl(3XCURSES)