xterm scrollbar issue


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users xterm scrollbar issue
# 1  
Old 04-22-2009
Question xterm scrollbar issue

I have a xterm window opening from my Java code. This xterm is opened from the code in this manner:

// to run shell command in a xterm window
public synchronized void rshd(String title, String commd) {
String xt = "xterm -sb -T ";
String xtm = xt + title + " -e " + commd;
Runtime run = Runtime.getRuntime();
System.out.println("The command is: " + xtm);
try {
run.exec(xtm);
}
catch(java.io.IOException e) {}
}

The problem I face is that when the command passed 'commd' involves remote login as in 'rsh abc.xyx.com -l user' , I do not get a scrollbar on the xterm if the user id 'user' is valid on the server 'abc.xyz.com'. If its an invalid login, I can see a scrollbar in the resulting xterm.

Can someone please help me with this issue?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

Man Pages - Removed Table Tags and Fixed Scrollbar Issue

OK. I fixed the horizonal scroll bar issues in the man pages pre format output for the man pages by removing all table tags and converting to divs: https://www.unix.com/members/1-albums220-picture876.png I still have some work to do on reformatting the deep search redirects and the... (0 Replies)
Discussion started by: Neo
0 Replies

2. UNIX Desktop Questions & Answers

Xaw3d asciiTextWidget: how to scroll right without scrollbar

this is kinda solved Hi I need to program an ordinary text field which scrolls to the right when it gets filled. It must be in Xaw3d. I cannot get the asciiTextWidget to do it. Which resource do you need to set in asciiTextWidget to allow the widget to scroll to the right when typing text... (1 Reply)
Discussion started by: Bibi Monash
1 Replies

3. AIX

Enable scrollbar on all aixterm windows ?

There is this workstations that I sometimes work on and it annoys me because it does not have any vertical scrollbar enabled. I did a Google on activating scroll bar but they talk about escape sequences that I have no clue on how to do this: CSI ? P m h DEC Private Mode Set... (2 Replies)
Discussion started by: Browser_ice
2 Replies

4. Shell Programming and Scripting

Scrollbar in email

Hi, I am sending a text file through email as email-body. This file is having records which have width more than a page. When i recieve the email, i can see no scrollbar in the email. So its not easy to read the mail as multiple pages are shrinked into one page. I want to have horizontal... (1 Reply)
Discussion started by: srilaxmi
1 Replies

5. UNIX for Dummies Questions & Answers

Problem with xterm scrollbar

I have a xterm window opening from my Java code. This xterm is opened from the code in this manner: // to run shell command in a xterm window public synchronized void rshd(String title, String commd) { String xt = "xterm -sb -T "; String xtm = xt + title + " -e " + commd; Runtime run =... (1 Reply)
Discussion started by: vanz
1 Replies

6. Solaris

right scrollbar on xterm

I'm using exceed on a Windows PC to open a xterm to my SunOs 5.8 system. Everything works fine except for one thing, I can't have my scrollbar on the right side of the xterm windows. Here's a copy of my .Xdefaults file: # xterm xterm*loginShell: True xterm*background: black... (3 Replies)
Discussion started by: ce9888
3 Replies

7. UNIX for Dummies Questions & Answers

missing scrollbar

Hi, My tcsh window doesn't have a scrollbar, so I don't get a lot of history! Can you help to get scrollbar? Thanks (3 Replies)
Discussion started by: parisa_3456
3 Replies

8. UNIX for Dummies Questions & Answers

xterm

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
Login or Register to Ask a Question
shownonascii(1)                                               General Commands Manual                                              shownonascii(1)

NAME
shownonascii - View all or part of a mail message in a non-ASCII font SYNOPSIS
shownonascii charset-font-name [-e command-to-execute] file-name(s) DESCRIPTION
The shownonascii program allows data in non-ASCII character sets to be viewed under X11. By default, it will open up an xterm using the font named in the first argument, running the "more" command to view all of the files named on the command line. If the -e switch is used, the rest of the command line will be taken as the command to tell xterm to run instead of more. If the MM_CHARSET environment variable is set and matches the character set named in the first argument, a new xterm window will not be opened. If the MM_AUXCHARSETS environment variable is set the character set named in the first argument is a subset of that string, a new xterm window will not be opened. SEE ALSO
mailto-hebrew(1), mailto(1), metamail(1) BUGS
Nope. COPYRIGHT
Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore) Permission to use, copy, modify, and distribute this material for any purpose and without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies, and that the name of Bellcore not be used in advertising or publicity pertaining to this material without the specific, prior written permission of an authorized representative of Bellcore. BELLCORE MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. AUTHOR
Nathaniel S. Borenstein, Bellcore Release 1 shownonascii(1)