Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #161966

Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups

From Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups comp.lang.c, comp.lang.c++
Subject Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups
Date 2021-07-19 15:20 +0000
Organization A noiseless patient Spider
Message-ID <sd458b$s6q$2@dont-email.me> (permalink)
References (8 earlier) <scrjon$bh5$1@gioia.aioe.org> <scs8s3$29j$1@dont-email.me> <scurhg$11n6$1@gioia.aioe.org> <scv0ij$51k$1@dont-email.me> <sd3asq$1dpk$1@gioia.aioe.org>

Cross-posted to 2 groups.

Show all headers | View raw


On Mon, 19 Jul 2021 07:50:50 +0000, MrSpud_2fxg wrote:

> On Sat, 17 Jul 2021 16:30:12 -0000 (UTC)
> Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:
>>On Sat, 17 Jul 2021 15:04:16 +0000, MrSpud_Ccq3_3_r wrote:
>>> I should imagine most display managers are little more than a window that
>>> accepts password credentials which does credential checking and if ok simply
>>> exec's the required WM or enviroment.
>>
>>Not really. To satisfy a purely local login, you need a minimum of two input
>>edit fields: a Username that echoes typed characters and a password that
>>doesn't.
>>If you add XDMCP into the mix (which I intend to do), you need an additional
>>field that allows you to pick the host to connect to from a list of eligible
>>hostnames. These three fields may require just one window, but more likely
>>require more. In my experimentation, I have 7 windows just to handle this
>>(a window for the Hostname, a window for the ScrollUp button, a window for
>>the ScrollDown button, a window to frame the ScrollUp/Hostname/ScrollDown
>>set, a window for the Username, a window for the Password, and a window to
>>frame the whole set).
>>
>>Add to this a window for a localtime clock, a window for a terminal
>>identification,
>>and a window for a DM identifier, and all the miscellaneous windows
>>needed to frame these presentation windows, and you have quite a number
>>of windows to manage.
>>
>>Then, of course, there's the actual activities that the windows themselves
>>present. I have a clock, so I must format and present the time and date.
>>I have two text inputs, so I must write text editing code. I have a scrollable
>>selection window, so I must write logic to update the selection, and to handle
>>the ScrollUp and ScrollDown buttons.
> 
> You can obviously add as many bells and whistles as you like, but ultimately
> all you need for a basic login system is username and password - 1 window,
> 2 textboxes. For the other stuff you don't need a drop down, you could just
> have them pre-listed which can then be clicked on, much simpler.

You apparently misunderstand what I'm working with. X11 is a communications
protocol, with the "client" end implemented in Xlib and the server end implemented
in the X server.

X11 doesn't have "textboxes", and it's "windows" are simply rectangular regions
of the display that can be drawn on. Such a "window" can receive keystrokes and/or
mouse activity, if it chooses.  I'm working at a much lower level than you think
I am.

As for "all you need ... is username and password", that might be true in a single
system network, but in a multi-system network, using the facilities of X11, I
also need a "hostname" to connect to (it may be "localhost", but, then again, it
may also be "desktop_computer.my.lan" or "game_server.my.lan"). For me, this
becomes a scrollable selector with three windows (a next-selection downarrow
window, a previous-selection uparrow window, and a selection output window).

What you are describing is a simple, one-system display manager implemented with
one of the X11 widget sets (such as GTK+, or QT or Athena), and not the more
comprehensive multi-system display manager that I'm trying to build.

[snip]

HTH
-- 
Lew Pitcher
"In Skills, We Trust"

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

comp.lang.c blocked on Google Groups James Harris <james.harris.1@gmail.com> - 2021-06-09 11:37 +0100
  Re: comp.lang.c blocked on Google Groups John Bode <jfbode1029@gmail.com> - 2021-06-09 11:09 -0500
    Re: comp.lang.c blocked on Google Groups James Harris <james.harris.1@gmail.com> - 2021-07-05 11:55 +0100
      Re: comp.lang.c blocked on Google Groups Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2021-07-05 04:23 -0700
        Re: comp.lang.c blocked on Google Groups James Harris <james.harris.1@gmail.com> - 2021-07-05 16:22 +0100
  Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) olcott <NoOne@NoWhere.com> - 2021-07-05 08:31 -0500
    Re: comp.lang.c blocked on Google Groups James Harris <james.harris.1@gmail.com> - 2021-07-05 16:26 +0100
      Re: comp.lang.c blocked on Google Groups Sam <sam@email-scan.com> - 2021-07-05 12:52 -0400
      Re: comp.lang.c blocked on Google Groups "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-07-05 12:55 -0700
    Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) "Alf P. Steinbach" <alf.p.steinbach@gmail.com> - 2021-07-05 18:39 +0200
      Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) olcott <NoOne@NoWhere.com> - 2021-07-05 11:50 -0500
      Re: comp.lang.c blocked on Google Groups https://www.usenetarchives.com/ olcott <NoOne@NoWhere.com> - 2021-07-05 11:56 -0500
      Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2021-07-05 14:13 -0700
        Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-07-05 15:32 -0700
          Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-07-05 15:34 -0700
        Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) David Brown <david.brown@hesbynett.no> - 2021-07-06 08:22 +0200
          Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) James Kuyper <jameskuyper@alumni.caltech.edu> - 2021-07-06 15:11 -0400
            Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) DFS <nospam@dfs.com> - 2021-07-06 15:32 -0400
              Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) Real Troll <real.troll@trolls.com> - 2021-07-06 19:56 +0000
                Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) gazelle@shell.xmission.com (Kenny McCormack) - 2021-07-13 04:37 +0000
                Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) Real Troll <real.troll@trolls.com> - 2021-07-13 16:45 +0000
                Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) scott@slp53.sl.home (Scott Lurndal) - 2021-07-13 17:44 +0000
                Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird MrSpud_0wmge0me@1luxp5mj4a5obrr0ws.net - 2021-07-14 07:17 +0000
                Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird scott@slp53.sl.home (Scott Lurndal) - 2021-07-14 15:07 +0000
                Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird MrSpud_6q@rm5.biz - 2021-07-14 16:03 +0000
                Wheel re-invention (Was: comp.lang.c blocked on Google Groups Switch to free (Thunderbird) gazelle@shell.xmission.com (Kenny McCormack) - 2021-07-14 19:08 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups Switch to free (Thunderbird) Manfred <noname@add.invalid> - 2021-07-14 21:11 +0200
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups Switch to free (Thunderbird) Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2021-07-14 20:02 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups MrSpud_0zkkxn6jj@uncf5cotva75ujdt.gov - 2021-07-15 08:27 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups scott@slp53.sl.home (Scott Lurndal) - 2021-07-15 14:20 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups MrSpud_6wa4@1h0c.net - 2021-07-15 14:34 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2021-07-15 14:59 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2021-07-15 08:29 -0700
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups MrSpud_8nnwe@ko9uz7rn4n552n6rutmfe.eu - 2021-07-16 09:33 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2021-07-16 15:33 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups MrSpud_Ccq3_3_r@atc_rakxp6.info - 2021-07-17 15:04 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2021-07-17 16:30 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups MrSpud_2fxg@cligh74ct.info - 2021-07-19 07:50 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-07-19 00:53 -0700
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups MrSpud_X19y3su@nl5uzoqa76.info - 2021-07-19 08:16 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2021-07-19 15:20 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups MrSpud_K_o53g2z@wl4yrs_t67fb214q.gov - 2021-07-19 15:31 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups Manfred <invalid@add.invalid> - 2021-07-18 00:29 +0200
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups Switch to free (Thunderbird) Kaz Kylheku <563-365-8930@kylheku.com> - 2021-07-14 20:11 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups Switch to free (Thunderbird) gazelle@shell.xmission.com (Kenny McCormack) - 2021-07-14 21:03 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups Switch to free (Thunderbird) Christian Gollwitzer <auriocus@gmx.de> - 2021-07-16 12:55 +0200
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups Switch to free (Thunderbird) Eli the Bearded <*@eli.users.panix.com> - 2021-07-14 20:32 +0000
                Re: Wheel re-invention (Was: comp.lang.c blocked on Google Groups Switch to free (Thunderbird) MrSpud_Cyt@em8kceu_4l_721dw4ed0wc.biz - 2021-07-15 08:24 +0000
                Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird Anton Shepelev <anton.txt@g{oogle}mail.com> - 2021-07-16 19:59 +0300
                Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird DFS <nospam@dfs.com> - 2021-07-17 09:45 -0400
                Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird steve <steve@loft.i-did-not-set--mail-host-address--so-tickle-me> - 2021-07-17 22:11 -0400
              Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) James Kuyper <jameskuyper@alumni.caltech.edu> - 2021-07-06 16:25 -0400
    Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) Real Troll <real.troll@trolls.com> - 2021-07-05 17:00 +0000
      Re: comp.lang.c blocked on Google Groups Switch to free (Thunderbird and eternal-september) olcott <NoOne@NoWhere.com> - 2021-07-05 12:15 -0500

csiph-web