![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with dd command or maybe AFS problem | Anta | Shell Programming and Scripting | 0 | 08-25-2006 07:10 AM |
| SSH Problem auth problem | budrito | UNIX for Advanced & Expert Users | 1 | 03-17-2004 07:12 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
AIX pg problem
Hi all,
I have problem with regards to using pg on AIX v5.3.0.0 . Here wht i am trying to do --- i have shell script with the following statements if [ "$TERM" = vt100 ] || [ "$TERM" = vt220 ] then echo ^[[?3h tput clear pg -f $1$2 echo ^[[?3l else pg -f $1$2 fi While running this on AIX v5.3.0.0, the report skips the first page and starts printing from page 2. If i remove the -f option, everything is fine i.e. i can see the report from the first page. As per the man pages of pg, the -f option does the following -f Does not split lines. Normally, the pg command splits lines longer than the screen width. My program requires this option, -f. Can someone pls guide me on how to resolve this. Pls note: the same shell script works fine on AIX v5.2 without any problem. Also, the file sizes of pg is different in AIX v5.3 and AIX v5.2 Appreciate your help. |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|