07-18-2002
Check out the man page for xterm. You may have to add it to your MANPATH to get the page (should be /usr/openwin/man)
If the process is already running and the xterm is started by a program - you may not be able to change it.
The default lines in buffer is 64. You can change that with the -sl option.
/usr/openwin/bin/xterm -sl 100 would give you a xterm with 100 lines saved in the scroll buffer.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Guys:
Anyone have ideas on where can I get information or references if I want to learn on how to program with UNIX GUIs? If you do have ideas please let me know. Its a big help. (2 Replies)
Discussion started by: jfsuminist
2 Replies
2. UNIX for Dummies Questions & Answers
Would someone tell me how to save changes in xterm once I've made them using the program options? For example, I type:
xterm -bg red
and my console window changes color. But how can I now make this attribute save, so that it becomes the default when I relaunch xterm? Any help you can offer... (1 Reply)
Discussion started by: af6
1 Replies
3. UNIX for Dummies Questions & Answers
Hello all,
This is a lame question because I have been working with unix for some years now, but anyway here it is;
What is an xterm?
ivo (1 Reply)
Discussion started by: Ivo
1 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I am using a wizard from Hummingbird to create an Xterm on my pc, but I was wondering if I can create one without the help of Hummingbird. Could someone please help?
thanks
Ivo (13 Replies)
Discussion started by: Ivo
13 Replies
5. Shell Programming and Scripting
I want to add a title to this xterm window but cannot figure out how. Can anybody assist with this?
xterm +sb -geom 80x25 -ls -tn xterms -tm "intr ^q" -name unikix -e $UNIKIX/bin/unikixl (1 Reply)
Discussion started by: douknownam
1 Replies
6. UNIX for Dummies Questions & Answers
hi
I'm trying to launch admintool via an export DISPLAY.
that is i am doing a rlogin to serverB from serverA.
i did the command
export DISPLAY=serverA:0
but it prompted me the error
DISPLAY=serverA:0: is not an identifier
i have searched the forum but there is not much things on this error... (3 Replies)
Discussion started by: legato
3 Replies
7. Solaris
Can we throw a window from solaris to Linux redhat? (1 Reply)
Discussion started by: mokkan
1 Replies
8. Shell Programming and Scripting
How do I use xterm to print a message in the window , not just in the title?
Right now I have:
xterm -rv -sb -title "The RMAN Backup was Successful!!!"
How do I print a big bold message is the box? I am using this in a Korn Shell script on Solaris 10.
thanks. (2 Replies)
Discussion started by: djehresmann
2 Replies
9. Shell Programming and Scripting
Hi all,
I've been working on a bash script to help with backups that I have to do at work.
One of the lines in the script is supposed to launch an xterm, log into a specific server node and launch a tar backup to tape. This part works ok, but I've been trying to get stdout and stderr to... (2 Replies)
Discussion started by: Exitalterego
2 Replies
LEARN ABOUT DEBIAN
realpath
REALPATH(1) Debian REALPATH(1)
NAME
realpath - return the canonicalised absolute pathname
SYNOPSIS
realpath [-s|--strip] [-z|--zero] filename ...
realpath --h|--help
realpath --v|--version
DESCRIPTION
realpath converts each filename argument to an absolute pathname, which has no components that are symbolic links or the special . or ..
directory entries. (See realpath(3) for more information.)
Each path component in the filename must exist, otherwise realpath will fail and non-zero exit status will be returned.
Please note that mostly the same functionality is provided by the `-e' option of the readlink(1) command.
When the -s option is used realpath only removes the . and .. directories, but not symbolic links from filename. If the given filename
argument is relative (i.e. does not start with `/'), realpath -s prepends to it the current directory name as obtained from the getcwd(2)
system call before further processing.
Each converted pathname is output to the standard output, on its own line.
OPTIONS
-s, --strip
Only strip . and .., components, but do not resolve symbolic links.
-z, --zero
Separate output filenames with the null character instead of newline, so it can be used with the `-0' option of xargs(1).
-h, --help
Print short usage information.
-v, --version
Show realpath's version number.
EXAMPLES
For the examples below let's suppose that /usr/bin/X11 is a symbolic link, pointing to directory /usr/bin.
Example 1
Regardless of what the current directory is
realpath /../usr/bin/X11/./xterm
prints
/usr/bin/xterm
but
realpath -s /../usr/bin/X11/./xterm
outputs
/usr/bin/X11/xterm
Example 2
When the current directory is /usr/bin/X11 (which is still a symbolic link to /usr/bin), the output of both
realpath ./xterm
and
realpath -s ./xterm
will be
/usr/bin/xterm
Example 3
Providing that the current directory is /home/user (and the directory exists before and during the realpath run), the command
realpath ../path/to/some/./non-existent/./directory/../or/../file
will fail with the following error
../path/to/some/./non-existent/./directory/../or/../file: No such file or directory
but
realpath -s ../path/to/some/./non-existent/./directory/../or/../file
will return
/home/path/to/some/non-existent/file
EXIT STATUS
realpath returns a zero exit code when all pathnames were successfully converted.
In case of any errors (e.g. missing or unavailable directories in the path), realpath prints error message to stderr and returns a non-zero
exit code.
SEE ALSO
basename(1), dirname(1), readlink(1), chase(1), realpath(3)
BUGS
Hopefully none :)
If you find some, please report them via the normal Debian bug reporting system, see the file /usr/share/doc/debian/bug-reporting.txt in
the package doc-debian or the reportbug(1) man page.
AUTHOR
Originally written by Lars Wirzenius <liw@iki.fi>, as a part of the dwww package. Robert Luberda <robert@debian.org> currently maintains
and extends it.
realpath is licensed via the GNU General Public License. While it has been written for Debian, porting it to other systems is strongly
encouraged.
Debian October 16th, 2011 REALPATH(1)