setting with TERM make no change.
I suspect a problem of the ps command itself.
Because changin settings of The TERMINAL
woks with ls.
Thanks anyway
Rene
After some testing I'm sure that's a problem is ps, because I've tried this:
ps -e -o user,args
and the output is like this :
root /usr/lib/saf/ttymon -g -h -p Lyne console login: -T sun -d /dev/console -l con
The rest is truncated.
This shows that ps formats the output in columsn and there is a maxsize for each colum
because in this case is not a problem in the size of the terminal.
This is a little problem but it's annoying because I'm trying to capture some programs which are laucnched with a lot of of arguments and thi is these arguments wich interst me!!
CMD (all)
The command name (the full command name and its argu-
ments, up to a limit of 80 characters, are printed
under the -f option).
....
args The command with all its arguments as a string. The
implementation may truncate this value to the field
width; it is implementation-dependent whether any
further truncation occurs. It is unspecified whether
the string represented is a version of the argument
list as it was passed to the command when it started,
or is a version of the arguments as they may have been
modified by the application. Applications cannot
depend on being able to modify their argument list and
having that modification be reflected in the output of
ps. The Solaris implementation limits the string to
80 bytes; the string is the version of the argument
list as it was passed to the command when it started.
This is not a ps issue. 80 bytes is all that the kernel saves. ps can't print what isn't there.
If you have the 'Source Compatibility' packages installed on you Solairs system (SUNWscpu and SUNWscpux), you can us /usr/ucb/ps. I have had similar issues with the character limit with /usr/bin/ps - especially when wanting to see what arguments a given JVM is running with. The following should give you what you want: