Output of who command (again)

Ask a Question related to SCO, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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 ...
    2. 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...
    3. 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...
    4. 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;
    5. 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...
  3. #2

    Default Re: Output of who command (again)

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

  4. #3

    Default 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?
    >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.
    That would be one of *many* places.
    >
    >brian
    Does the /etc/ttytype entry for ttyvc0 on the 3.2v4.2 box match the
    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

  5. #4

    Default 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?
    >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.
    That's probably terminal emulation. Run "mkdev scoansi"

    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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139