Enable scrollbar on all aixterm windows ?


 
Thread Tools Search this Thread
Operating Systems AIX Enable scrollbar on all aixterm windows ?
# 1  
Old 03-24-2010
Question 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 (DECSET)
P s = 3 0 → Show scrollbar (rxvt).


I tried rebooting the workstation to maybe boot into somekind of menu but it does not. I tried logging with root but it just stays in textless mode. Using the general logon id simply winds up with an aixterm window + clock on the desktop.

I do not know enough about aix to go any further.

How can I enable all new aix term windows to have the vertical scrollbar ?

Or, how can I do that escape sequence to enable it on any term windows ?
# 2  
Old 03-24-2010
The scrollbar is set/unset by either an option or an xrm-resource-string for the AIXTerm. Per default it is off.

1. Possibility: Invoke aixterm with the -sb option:

Code:
aixterm -sb -sl <nr-of-lines-to-save> &

2. Possibility: Invoke aixterm using an xrm-resource-string

Code:
aixterm -xrm scrollBar:true &

3. Possibilty: Put these xrm resource strings into the default configuration by adding them to the file "~/.Xdefaults". Add (any of) the following lines to the file ".Xdefaults" in your home directory:

Code:
AIXTerm*scrollBar: true
AIXTerm*saveLines: <nr of lines to save in the scroll buffer>
AIXTerm*scrollPosition: [left|right]

The default for saveLines is 64, the default for scrollPosition is "right".

Reference: AIXTerm documentation

I hope this helps.

bakunin
# 3  
Old 03-24-2010
According to the InfoCenter page Help - you can start the aixterm with -sb to cause the scroll bar to display. The scrollBar keyword can be used in the .Xdefaults file.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

aixterm scroll?

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

2. UNIX for Advanced & Expert Users

aixterm vs cterm: HELP

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 | sed... (1 Reply)
Discussion started by: nullwhat
1 Replies

3. Solaris

What are the configeration need to done to enable sftp connection to Windows m/c

When I try $sftp -v <username>@ Connecting to <ip>... debug1: SSH args "ssh -oProtocol = 2 -s -oForwardAgent = no -oForwardX11 = no -l <username> -v <ip> sftp" SSH Version Sun_SSH_1.0.1, protocol versions 1.5/2.0. debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts... (15 Replies)
Discussion started by: GIC1986
15 Replies

4. AIX

AIXTERM Status Line

Hello, can anyone help and suggest a way I can implement the following Idea: I would like to use the status line in aixterm to display the current hostname as well as some other environment variables during the session. I have not been able to put any string and display that in the status line.... (0 Replies)
Discussion started by: gio001
0 Replies

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

6. UNIX for Advanced & Expert Users

Change title of aixterm window online

Is there any way to change title of aixterm window online? Also is it possible to freeze first/last few lines online? (1 Reply)
Discussion started by: Soham
1 Replies

7. UNIX for Dummies Questions & Answers

Enable a shell to collect data from unix, return to windows

hi I am very new to UNIX. I need to retrieve data from a unix system and store it and display as output on a windows system. Initiation of procedure is through JAVASCRIPT-based buttons on a HTML page. This should cause a set of commands to run which colllect data from a unix based server and... (1 Reply)
Discussion started by: rossalyn_maxter
1 Replies

8. AIX

Aixterm icon placement?

Hi, I'm using xterm and aixterm with Mwm on AIX, and having trouble controlling icon placement when minimising windows. Basically when I run an xterm or aixterm I want to be able to specify where the icon will be if minimised. The man page mentions the "#geometry Geometry" option to aixterm,... (1 Reply)
Discussion started by: cunningdavid
1 Replies

9. Shell Programming and Scripting

Maximizing an xterm or aixterm window?

Is there a way to maximize an xterm window in a ksh script? I've tried a number of approaches, but none seem to have the desired affect. All I want to accomplish is to have the window maximized upon being called in the script...i.e: xterm -T MyNewXterm -e programToOpen & | maximized --or... (1 Reply)
Discussion started by: spieterman
1 Replies
Login or Register to Ask a Question