Now that I've thought this through a bit more I think was confused
about TERMINAL TYPE and DEVICE TYPE. I think DEVICE TYPE is VIRTUAL
TERMINAL and that TERMINAL TYPE is C-VT102.  So if the KERNEL doesn't
find the current device $I in the DEVICE file it trys to match the
current $I to DEVICES that have a DEVICE TYPE of VIRTUAL TERMINAL.  If
you look at the different DEVICE TYPES I think you'll see that is a
pretty short list and you mainly use TERMINAL or VIRTUAL TERMINAL.  I
think you use TERMINAL for printers also but there might be a separate
type for them, I remember TAPE and SDP types as well but I don't think
they are used much anymore.

I'm trying to explain this from memory and so what I've said might not
be exactly right but I think it's closer than my first explanation.


On Sat, 22 Jan 2005 10:56:16 -0900, Mike Baker <[EMAIL PROTECTED]> wrote:
> Yes the Kernel looks at the $i for the device you login on.  it then
> looks in the DEVICE file for a $I that matches, unless you are logging
> in from a virtual terminal like a telnet or DECserver then it looks
> for a match on the part of the $I in the DEVICE file.  That's why you
> don't have to have every /dev/tty device in the DEVICE file.
> 
> For instance, /dev/tty1, /dev/tty2,.../dev/tty100  can all be handled
> by one DEVICE record with a $I of /dev/tty and a terminal type of
> VIRTUAL TERMINAL.  Otherwise you would need one entry for each of
> these devices with a terminal type of C-VT102.
> 
> Once the Device is Determined by the $I then the kernel checks the
> TERMINAL type to get the characteristics of that TERMINAL TYPE like,
> page width and length, how to make bold letters, how to make the font
> size change and all of the other fields in the terminal Type file.
> 
> I don't know if I answered your question or danced around it, but I do
> think that the Kernel systems manual (?) is the document that you
> want, it is the big kernel manual anyway.  I think it has a seperate
> section on devices and terminal types.
> 
> On Sat, 22 Jan 2005 11:06:40 -0800 (PST), Kevin Toppenberg
> <[EMAIL PROTECTED]> wrote:
> > Mike (or others),
> >
> > Do you know how devices and terminal types interact.
> > I was having a difficulty with a login from linux.  I
> > included code in my .bashrc script that took a user
> > directly into vista as soon as they logged in.  I got
> > an error from vista "device 0" not defined in the
> > DEVICE file.
> >
> > This makes me think that vista somehow figures out
> > what kind of device the user is connecting from, and
> > chooses a DEVICE.  Then that device has a TERMINAL
> > TYPE with it.  For example, there is a DEVICE type of
> > GTM-LINUX-TELNET.  This is TYPE=VIRTUAL TERMINAL, and
> > SUBTYPE=C-VT132.
> >
> > When I print from Fileman, it asks me DEVICE. If I
> > just press enter here, it defaults to TELNET.
> >
> > I wonder which manual would document this stuff.
> >
> > Thanks
> > Kevin
> >
> > P.S. What you said below is true.  I posted that it
> > wasn't asking me for my terminal type.  But If I exit
> > GTM and then re-log on later, it does ask.
> >
> > Thanks
> >
> > --- Mike Baker <[EMAIL PROTECTED]> wrote:
> >
> > > Kevin,
> > >
> > > I haven't looked at this for a long time but as I
> > > recall there was
> > > some code in XUS to query for the terminal type.  If
> > > it got back
> > > something it recognized it set the terminal and that
> > > was that.  If you
> > > want to change it to a particular type once you have
> > > logged in I think
> > > you can go to user toolbox and select a terminal
> > > type.  I think it
> > > will remember what you typed in there as long as you
> > > stay logged on.
> > >
> > >
> > > On Fri, 21 Jan 2005 14:45:21 -0800 (PST), Kevin
> > > Toppenberg
> > > <[EMAIL PROTECTED]> wrote:
> > > > One quick additional note:
> > > >
> > > > I edited my user such that ASK DEVICE TYPE AT
> > > SIGN-ON
> > > > was set to ASK.  I halted, killed DUZ, logged back
> > > in
> > > > with do ^ZU, and the system never asked me what
> > > device
> > > > type I wanted.
> > > >
> > > > Thanks
> > > > Kevin
> > > >
> > > >
> > > > --- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > Hey All,
> > > > >
> > > > > I am confused about display types.  My ultimate
> > > goal
> > > > > is to get to text version of CPRS (i.e. menu
> > > option
> > > > > OR
> > > > > OE/RR MENU CLINICIAN) to display bigger than it
> > > > > currently is.
> > > > >
> > > > > I got to the User's Toolbox, and select, Edit
> > > User's
> > > > > Characteristics.  It asks me for Select TERMINAL
> > > > > TYPE
> > > > > NAME.  But for some reason, I don't have access
> > > to
> > > > > all
> > > > > the Terminal Types.  For example, in this edited
> > > > > screen log I have only 14 options for terminal
> > > type
> > > > > c-*
> > > > >
> > > > > Select TERMINAL TYPE NAME: C-VT320// C-
> > > > > 1   C-DATATREE        DataTree Terminal
> > > > > 2   C-OTHER           general 'dumb' video
> > > terminal
> > > > > 3   C-QUME            Qume video terminal
> > > > > (configured
> > > > > as 'QVT-102')
> > > > > 4   C-QUME103         QUME QVT-103
> > > > > 5   C-TATUNG          TATUNG ET10
> > > > > 6   C-VT100           Digital Equipment
> > > Corporation
> > > > > VT-100 video
> > > > > 7   C-VT100HIGH       Normal display of
> > > characters
> > > > > in
> > > > > BOLD !
> > > > > 8   C-VT102           DEC VT102 Terminal with
> > > > > Advanced
> > > > > Options
> > > > > 9   C-VT220           Digital Equipment
> > > Corporation
> > > > > VT-220 terminal
> > > > > 10  C-VT320           Digital Equipment
> > > Corporation
> > > > > VT-320 video
> > > > > 11  C-VT320 PC        Digital Equipment
> > > Corporation
> > > > > VT-320 video
> > > > > 12  C-VT320/132       Digital Equipment
> > > Corporation
> > > > > VT-320 video
> > > > > 13  C-WYSE 75         Wyse 75 terminal
> > > > > 14  C-WYSE 85         Wyse 85 terminal
> > > > > CHOOSE 1-14:
> > > > >
> > > > > Select TERMINAL TYPE NAME: C-VT320//
> > > > >
> > > > >
> > > > > But, if I look in the TERMINAL TYPE file itself,
> > > I
> > > > > find that there are 41 options (C- subset)...
> > > One of
> > > > > which is a 132 column terminal (C-Dec132) I
> > > would
> > > > > like
> > > > > to use.
> > > > >
> > > > >
> > > > > Here is an edited screen log showing the 41
> > > options:
> > > > >
> > > > > INPUT TO WHAT FILE: NEW PERSON// terminal type
> > > > > (188
> > > > > entries)
> > > > > EDIT WHICH FIELD: ALL//
> > > > >
> > > > >
> > > > > Select TERMINAL TYPE NAME: C-
> > > > > 1   C-3101
> > > > > 2   C-ADDS         ADDS video terminal
> > > > > 3   C-ADM3         Lear-Siegler ('dumb') video
> > > > > 4   C-DATAMEDIA    DataMedia video
> > > > > 5   C-DATATREE     DataTree Terminal
> > > > > 6   C-DEC          general Digital Equipment
> > > > > Corporation video
> > > > > 7   C-DEC132       Digital Equipment Corporation
> > > > > video
> > > > > with 132 columns
> > > > > 8   C-FALCO        Falco fame 12
> > > > > 9   C-H1500        Hazeltine 1500 video
> > > > > 10  C-HINQLINK     USE C-MINIOUT-xxx
> > > > > 11  C-HP110        Hewlett-Packard Video
> > > (HP-110)
> > > > > with
> > > > > 16 lines
> > > > > 12  C-HP2621       Hewlett-Packard video
> > > > > 13  C-LINK         CPU to CPU link
> > > > > 14  C-MINIOUT-DSM  Mini Engine for DSM-11
> > > > > 15  C-MINIOUT-M11P Mini Engine for M/11+
> > > > > 16  C-MINIOUT-MSM  IDCU for MSM
> > > > > 17  C-MINIOUT-MSQ  Mini Engine for M/SQL
> > > > > 18  C-MINIOUT-MVX  Mini Engine for M/VX
> > > > > 19  C-MINIOUT-VXD  Mini Engine for VAX DSM
> > > > > 20  C-OTHER        general 'dumb' video terminal
> > > > > 21  C-PE550        Perkin-Elmer video
> > > > > 22  C-Q103         QUME QVT-103
> > > > > 23  C-QUME         Qume video terminal
> > > (configured
> > > > > as
> > > > > 'QVT-102')
> > > > > 24  C-QUME103      QUME QVT-103
> > > > > 25  C-TATUNG       TATUNG ET10
> > > > > 26  C-TELERAY      Teleray model 10
> > > > > 27  C-TELEVIDEO    Televideo video terminal
> > > > > 28  C-VT100        Digital Equipment Corporation
> > > > > VT-100 video
> > > > > 29  C-VT100HIGH    Normal display of characters
> > > in
> > > > > BOLD !
> > > > > 30  C-VT101W
> > > > > 31  C-VT102        DEC VT102 Terminal with
> > > Advanced
> > > > > Options
> > > > > 32  C-VT132        Digital Equipment Corporation
> > > > > VT-100 with 132 columns
> > > > > 33  C-VT220        Digital Equipment Corporation
> > > > > VT-220 terminal
> > > > > 34  C-VT320        Digital Equipment Corporation
> > > > > VT-320 video
> > > > > 35  C-VT320 PC     Digital Equipment Corporation
> > > > > VT-320 video
> > > > > 36  C-VT320/132    Digital Equipment Corporation
> > > > > VT-320 video
> > > > > 37  C-VT52         DEC VT-52 video
> > > > > 38  C-VXD-MINIOUT
> > > > > 39  C-WANG         WANG TERMINAL
> > > > > 40  C-WYSE 75      Wyse 75 terminal
> > > > > 41  C-WYSE 85      Wyse 85 terminal
> > > > >
> > > > >
> > > > >
> > > > > To further add to my confusion, when I do an
> > > INQUIRE
> > > > > in file 200 for my entry, I see an entry for
> > > > > TERMINAL
> > > > > TYPE LAST USED: C-VT3200.  I though I could edit
> > > > > this
> > > > > to entry to be the terminal type I want.  But I
> > > > > can't
> > > > > figure out which field this is...
> > > > >
> > > > >
> > > > > OUTPUT FROM WHAT FILE: 200  NEW PERSON
> > > > >                                           (28
> > > > > entries)
> > > > > Select NEW PERSON NAME: kt  TOPPENBERG,KEVIN S
> > > > > kt
> > > > >         PHYSICIAN
> > > > > ANOTHER ONE:
> > > > > STANDARD CAPTIONED OUTPUT? Yes//   (Yes)
> > > > > Include COMPUTED fields:  (N/Y/R/B): NO// b
> > > BOTH
> > > > > Computed Fields and Record Number (IEN)
> > > > >
> > >
> > === message truncated ===
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Read only the mail you want - Yahoo! Mail SpamGuard.
> > http://promotions.yahoo.com/new_mail
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> > Tool for open source databases. Create drag-&-drop reports. Save time
> > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > _______________________________________________
> > Hardhats-members mailing list
> > Hardhats-members@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> >
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to