Problem with xterm scrollbar


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Problem with xterm scrollbar
# 1  
Old 04-22-2009
Question 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 = 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?
# 2  
Old 06-10-2009
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. 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

2. Slackware

xterm problem?

My understanding is that /usr/share/terminfo/x/ is populated from a standard set of files and not by compiling, i.e. tic, termcaps. I am getting from both regular user and root when issuing: man tic ------> WARNING: terminal is not fully functional tset -q --------> xterm: unknown terminal type... (2 Replies)
Discussion started by: slak0
2 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 Advanced & Expert Users

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 =... (0 Replies)
Discussion started by: vanz
0 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. Solaris

Xterm problem on Solaris 10

I apologize but didn't find an answer in the Discussions. I use an Exceed xterm just fine with Solaris 8 but it fails to connect to Solaris 10 server: Xterm command line: DISPLAY=@d;export DISPLAY;/usr/openwin/bin/xterm Failure message: "Unable to connect to host using specified start... (2 Replies)
Discussion started by: fusejj
2 Replies

8. 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
Login or Register to Ask a Question