Ask a Question related to SCO, Design and Development.
-
Jean-Pierre Radley #1
Re: Output of who command (again)
Brian Lavender typed (on Mon, Aug 04, 2003 at 10:47:41AM -0700):
| I know this sounds like a stupid request, but I think it will help me
| make sure my new 5.0.7 box works with this legacy application that is
| currently running on 4.2.
|
| Can someone type this on OpenServer 5.0.7?
|
| $ who
|
| Here's what I get on the 3.2v4.2 machine
|
| $ who
| ortho ttyvc0 May 08 10:33
| root tty1a May 09 12:39
| ortho ttya02 May 09 08:19
| ortho ttyp0 May 09 08:07
| ortho ttyp1 May 09 12:03
|
| I discovered that /dev/ttyvc0 looks like:
| crw--w--w- 1 ortho terminal 0, 0 Aug 3 16:33 ttyvc0
|
| Normally, this is tty01. What changes do I need to make to the new
| 5.0.7 server, so I get ttyvc0 on the new machine?
If it already reads ttyvc0, what is it you ewant to change? And why?
--
JP
Jean-Pierre Radley Guest
-
formatting output of `ls -l` shell command
Hello. As in the topic, I use www to execute shell command, in this case 'ls -l' and i get output like: total 8 drwx------ 11 lecichy staff ... -
Redirect output of command to a list
Hi all, I have been doing redirect the output of command (an external tool, exe) to a file, by doing following: system( "tool.exe... -
Output from external command under Win2K
I'm working on a script that makes a call to an external program that produces a bunch of postscript and PDF files. The external program normally... -
redirecting the output of a command to a file
What is your real problem? open(IN, "myCommand |"); open(OUT, ">$outputFileName"); print OUT join("", <IN>); close OUT; close IN; -
errpt command gives no output, why?
One of our aix 4.3.3 machine gives no errpt output. But i've checked things against another aix machine which does. There's process... -
Brian Lavender #2
Re: Output of who command (again)
On Mon, 04 Aug 2003 14:36:00 -0400, Scott McMillan <smcm@usa.net>
wrote:
The application is configured so that the console name is ttyvc0. Some>On Mon, 04 Aug 2003 10:47:41 -0700, Brian Lavender <brian@brie.com>
>wrote:
>>>>I know this sounds like a stupid request, but I think it will help me
>>make sure my new 5.0.7 box works with this legacy application that is
>>currently running on 4.2.
>>
>>Can someone type this on OpenServer 5.0.7?
>>
>>$ who
>>
>>Here's what I get on the 3.2v4.2 machine
>>
>>$ who
>>ortho ttyvc0 May 08 10:33
>>root tty1a May 09 12:39
>>ortho ttya02 May 09 08:19
>>ortho ttyp0 May 09 08:07
>>ortho ttyp1 May 09 12:03
>>
>>I discovered that /dev/ttyvc0 looks like:
>>crw--w--w- 1 ortho terminal 0, 0 Aug 3 16:33 ttyvc0
>>
>>Normally, this is tty01. What changes do I need to make to the new
>>5.0.7 server, so I get ttyvc0 on the new machine?
>What is it that requires this ttyvc0? Some app? ttyvc0 has not
>appeared in any of the standard SCO installations, AFAIK.
>>>>
>>brian
>Do you have a tty01 in your /dev directory as well as the ttyvc0?
>
>You could use mknod to create the ttyvc0 device, but the real problem
>is changing EVERY script/app/file that relies on or references
>/dev/tty01 (and I'm sure there are quite a few).
>
>What is it that is failing (presumably) due to the non-existance of
>ttyvc0?
of the characters come up funky, so I thought I would try to make the
new server look like the old one, and see if that would work. There is
an area in the app where you can specify the terminal type.
I will have to check if there is also tty01. I did take a look at
/etc/inittab, and it was modified to reflect ttyvc0.
brian
Brian Lavender Guest
-
Scott McMillan #3
Re: Output of who command (again)
On Mon, 04 Aug 2003 12:00:54 -0700, Brian Lavender <brian@brie.com>
wrote:
^^^^^>On Mon, 04 Aug 2003 14:36:00 -0400, Scott McMillan <smcm@usa.net>
>wrote:
>>>>On Mon, 04 Aug 2003 10:47:41 -0700, Brian Lavender <brian@brie.com>
>>wrote:
>>>>>>>I know this sounds like a stupid request, but I think it will help me
>>>make sure my new 5.0.7 box works with this legacy application that is
>>>currently running on 4.2.
>>>
>>>Can someone type this on OpenServer 5.0.7?
>>>
>>>$ who
>>>
>>>Here's what I get on the 3.2v4.2 machine
>>>
>>>$ who
>>>ortho ttyvc0 May 08 10:33
>>>root tty1a May 09 12:39
>>>ortho ttya02 May 09 08:19
>>>ortho ttyp0 May 09 08:07
>>>ortho ttyp1 May 09 12:03
>>>
>>>I discovered that /dev/ttyvc0 looks like:
>>>crw--w--w- 1 ortho terminal 0, 0 Aug 3 16:33 ttyvc0
>>>
>>>Normally, this is tty01. What changes do I need to make to the new
>>>5.0.7 server, so I get ttyvc0 on the new machine?
>>What is it that requires this ttyvc0? Some app? ttyvc0 has not
>>appeared in any of the standard SCO installations, AFAIK.
>>>>>>>
>>>brian
>>Do you have a tty01 in your /dev directory as well as the ttyvc0?
>>
>>You could use mknod to create the ttyvc0 device, but the real problem
>>is changing EVERY script/app/file that relies on or references
>>/dev/tty01 (and I'm sure there are quite a few).
>>
>>What is it that is failing (presumably) due to the non-existance of
>>ttyvc0?
>The application is configured so that the console name is ttyvc0. Some
But is this required? I see in your 'who' output that other users are
logged on - Do you have this problem on non-console screens on the
5.0.7 system?
That would be one of *many* places.>of the characters come up funky, so I thought I would try to make the
>new server look like the old one, and see if that would work. There is
>an area in the app where you can specify the terminal type.
>
>I will have to check if there is also tty01. I did take a look at
>/etc/inittab, and it was modified to reflect ttyvc0.
Does the /etc/ttytype entry for ttyvc0 on the 3.2v4.2 box match the>
>brian
entry for tty01 on the 5.0.7 system? What does the 'ortho' user's
..profile do, if anything, with the TERM environment variable?
There have been reports in this group regarding legacy apps / 5.0.x
and screens not drawing correctly - You may need to play with mapchan.
Scott McMillan
Scott McMillan Guest
-
tony@aplawrence.com #4
Re: Output of who command (again)
Brian Lavender <brian@brie.com> wrote:
>On Mon, 04 Aug 2003 14:36:00 -0400, Scott McMillan <smcm@usa.net>
>wrote:>>On Mon, 04 Aug 2003 10:47:41 -0700, Brian Lavender <brian@brie.com>
>>wrote:
>>>>>>>I know this sounds like a stupid request, but I think it will help me
>>>make sure my new 5.0.7 box works with this legacy application that is
>>>currently running on 4.2.
>>>
>>>Can someone type this on OpenServer 5.0.7?
>>>
>>>$ who
>>>
>>>Here's what I get on the 3.2v4.2 machine
>>>
>>>$ who
>>>ortho ttyvc0 May 08 10:33
>>>root tty1a May 09 12:39
>>>ortho ttya02 May 09 08:19
>>>ortho ttyp0 May 09 08:07
>>>ortho ttyp1 May 09 12:03
>>>
>>>I discovered that /dev/ttyvc0 looks like:
>>>crw--w--w- 1 ortho terminal 0, 0 Aug 3 16:33 ttyvc0
>>>
>>>Normally, this is tty01. What changes do I need to make to the new
>>>5.0.7 server, so I get ttyvc0 on the new machine?
>>What is it that requires this ttyvc0? Some app? ttyvc0 has not
>>appeared in any of the standard SCO installations, AFAIK.
>>>>>>>
>>>brian
>>Do you have a tty01 in your /dev directory as well as the ttyvc0?
>>
>>You could use mknod to create the ttyvc0 device, but the real problem
>>is changing EVERY script/app/file that relies on or references
>>/dev/tty01 (and I'm sure there are quite a few).
>>
>>What is it that is failing (presumably) due to the non-existance of
>>ttyvc0?That's probably terminal emulation. Run "mkdev scoansi">The application is configured so that the console name is ttyvc0. Some
>of the characters come up funky, so I thought I would try to make the
>new server look like the old one, and see if that would work. There is
>an area in the app where you can specify the terminal type.
If that doesn't help, visit [url]http://aplawrence.com/search.html[/url] and
type "scoansi" into the search box.
Also check that /etc/ttytype is correct for this..
--
[email]tony@aplawrence.com[/email] Unix/Linux/Mac OS X resources: [url]http://aplawrence.com[/url]
Get paid for writing about tech: [url]http://aplawrence.com/publish.html[/url]
tony@aplawrence.com Guest



Reply With Quote

