AIXTERM Status Line


 
Thread Tools Search this Thread
Operating Systems AIX AIXTERM Status Line
# 1  
Old 06-04-2008
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. I initiate the session via aixterm -sn -st, the status line seems to be displayed at the bottom of the window still nothing appears inside it. How can I direct some items to it?
So what I think I can also ask is : what is displayed in the status line by default? Any action I can take to force some display on that line?
Thanks!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

To get the job status from second line

I want to get the job status from the second line "SU" to a variable Input: Job Name Last Start Last End ST Run/Ntry Pri/Xit JOBNAME 10/24/2016 10:34:55 10/24/2016 10:44:15 SU 100344/32 0 Code tried JSTATUS=$(cat Input | awk '$6 == "SU" {print $6}')... (5 Replies)
Discussion started by: Joselouis
5 Replies

2. Linux

CPU on-line or off-line status

How to check CPU on-line or off-line status using single command in Linux? Thanks in advance. (1 Reply)
Discussion started by: forumguest
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. 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

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

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. Shell Programming and Scripting

Append Status to echo'd line after process completes

Hello All, I'm very new to scripting and I'm writing a very simple script to restart a couple processes because I'm getting to lazy to cd between directories. This is pretty much my first script and I just want to add a little cosmetics to it. Here's what I have: #!/bin/ksh echo... (5 Replies)
Discussion started by: Setan
5 Replies

8. UNIX for Dummies Questions & Answers

exit status of command in a pipe line

Hi, I am trying to test the exit status of the cleartool lsvtree statement below, but it doesn't seem to be working due to the tail pipe, which it is testing instead. Is there a way around this without adding a tonne of new code? cleartool lsvtree $testlocation/$exe_name | tail -15 ... (10 Replies)
Discussion started by: topcat8
10 Replies

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

10. 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
lpstat(1)						      General Commands Manual							 lpstat(1)

NAME
lpstat - Displays line printer status information SYNOPSIS
lpstat [-a[list]] [-c[list]] [-d | -r | -s | -t] [-o[list]] [-p[list]] [-u[list]] [-v[list]] [request_ID...] The lpstat command displays information about the current status of the line printer. STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: lpstat: XCU5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. OPTIONS
Specifies the display of acceptance status (with respect to the lp and lpr commands) of destinations for requests. The list argument is a list of intermixed printer names and request IDs. Write the class names and their members. The list argument is a list of class names. Specifies the display of the system default destination for the lp and lpr commands. Specifies the display of the status of printer requests. The list argument is a list of intermixed printer names and request IDs. Note that when combined, the -o and -u options do not produce merged output. Specifies the display of the status of printers. The list argument is a list of printer names. Specifies the dis- play of the status of the line printer daemon. Specifies the display of a status summary, including the status of the line printer sched- uler, the system default destination, and a list of printers and their associated devices. Specifies the display of all status informa- tion. Specifies the display of the status of all printer requests. The list argument is a list of usernames. The list argument is a list of intermixed printer names and request IDs. Note that when combined, the -o and -u options do not produce merged output. Specifies the display of the names of printers and the path names of the devices associated with them. The list argument is a list of printer names. OPERANDS
A request ID as returned by lp or lpr. DESCRIPTION
If no options are given, then lpstat displays the status of all requests made by the lp and lpr commands. Any arguments that are not options are assumed to be a request_ID (as returned by the lp or lpr commands). The lpstatcommand displays the status of such requests. Options can appear in any order and can be repeated and intermixed with other options. Some options can be followed by an optional list that is either a list of items separated from one another by a , (comma), or a list of items enclosed in " " (double quotes) and separated from one another by a comma or one or more spaces. For example: -u"user1, user2, user3" Specifying just the option with no arguments causes all information pertaining to that option to be displayed. If the LPDEST environment variable is set to a valid printer name, this becomes the default destination; otherwise, PRINTER is tried and, as a last resort, a system-specific printer. NOTES
The lpstat utility is marked LEGACY in XCU Issue 5. [Tru64 UNIX] Output produced by the lpstat command is very similar to output from lpq and lpc, rather than output from earlier versions of lpstat. EXIT STATUS
The following exit values are returned: Successful completion. An error occurred. ENVIRONMENT VARIABLES
The following environment variables affect the execution of lpstat: Provides a default value for the internationalization variables that are unset or null. If LANG is unset or null, the corresponding value from the default locale is used. If any of the internationalization variables contain an invalid setting, the utility behaves as if none of the variables had been defined. If set to a non-empty string value, overrides the values of all the other internationalization variables. Determines the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multibyte characters in arguments). Determines the locale for the format and contents of diagnostic messages written to standard error. Determines the location of message catalogues for the processing of LC_MESSAGES. Determines the time zone used with date and time strings. FILES
Printer description file. Spool directories. Minimum free space to leave. Line printer devices. Socket for local requests. Daemon con- trol files. Data files specified in cf files. Temporary copies of cf files. Lock file used to obtain the process ID of the current dae- mon and the request ID of the currently active request. SEE ALSO
Commands: lp(1), lpc(8), lpd(8), lpq(1), lpr(1), lprm(1) Files: printcap(4) Standards: standards(5) lpstat(1)