linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Zielinski <grim@undead.cc>
To: Alex Stewart <alex@foogod.com>
Cc: benh@kernel.crashing.org, jsimmons@infradead.org,
	geert@linux-m68k.org, linux-fbdev-devel@lists.sourceforge.net
Subject: Re: [PATCH] neofb patches
Date: Wed, 28 Apr 2004 02:59:03 -0400	[thread overview]
Message-ID: <408F5637.9050903@undead.cc> (raw)
In-Reply-To: <53283.64.139.3.221.1083128178.squirrel@www.foogod.com>

Alex Stewart wrote:

>Umm, the point is you don't have to.  Just create a new VT for whatever
>you're doing.  If you have permission to do it, you will get a VT you can
>work with.  If you don't, you'll get an error.  Ultimately, it shouldn't
>matter whether you're being started from a VT to begin with anyway (a user
>_should_ be able to login via ssh or serial console or whatever and start
>up a framebuffer app if they want to and have the permissions to.  This is
>one of the fundamental principles of unix (the user knows what they want
>to do better than the OS does.  The OS shouldn't get in the way of
>that.)).  If a different user is currently using the framebuffer for their
>console (or app or whatever), the permissions should be set to protect it,
>otherwise it's fair game.
>
>  
>
Depends on how you look at it.  If a user is on console 1 and starts a 
simple app (not a desktop environment) having that jump to console 9 is 
a little confusing.  And there are only so many function keys.  Several 
X sessions will eat up the remaining function keys.  Once all the 
function keys are used then it becomes a royal pain switching VTs. 

As for not mattering whether you're being started from a VT, I'm on the 
other side of the fence here.  When I ssh into a machine, the text 
apears on my local maching and not on the remote.  Same goes for the 
terminal bell and led status.  And when you run an X app the display is 
local as well.   Now the framebuffer breaks away from that.  When I fire 
up a framebuffer app the output doesn't appear locally but on the remote 
machine.  Now I agree that the system shouldn't stop someone from doing 
this if they really want to.  That's why the fb0, fb1, etc devices 
wouldn't stop you running them remote and would have the stricter 
permissions on them (root only for example).

Besides, the person that stole my console from under me remotely would 
be in a world of hurt once I got back into my machine.  :)

>Actually, no, the point I was making is that we should change the
>VT/console code to automatically copy the "current" mapping to a new VT
>when it gets created, so you don't need to remap anything for this case.
>
>  
>
We're both saying the same thing.  When I said "remap" I meant telling 
fbcon to assign a particular framebuffer to that console.

>Basically what I'm suggesting pretty much the same thing you are, I'm just
>saying we should do it with the existing VT infrastructure instead of
>creating a new /dev/fb for what's basically a very similar thing to what
>VT is already supposed to handle more generally (controlling which screens
>consoles/apps access and when).
>  
>

Pretty much.  The only differences are is that I want the app to always 
stay on the same VT number and that the programmer only have to deal 
with one interface.  Why should every frame buffer program be required 
to carry extra VT code and most programmers will be too lazy or won't 
know how to include it.  Even fbtest doesn't have any VT code in it.  
With the code in the kernel even legacy apps will start using the new 
correct behaviour.

John


John




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

  reply	other threads:[~2004-04-28  6:59 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-21  1:14 [PATCH] neofb patches Alex Stewart
2004-04-21 17:47 ` James Simmons
2004-04-21 19:10   ` Antonino A. Daplas
2004-04-22  8:09     ` Geert Uytterhoeven
2004-04-23 23:27       ` James Simmons
2004-04-23 16:53     ` Alex Stewart
2004-04-23 20:03       ` James Simmons
2004-04-23 18:35     ` James Simmons
2004-04-23 19:54       ` James Simmons
2004-04-22  3:18   ` Alex Stewart
2004-04-22 20:57     ` James Simmons
2004-04-23  4:03       ` Alex Stewart
2004-04-23  6:43         ` Alex Stewart
2004-04-23 23:00           ` James Simmons
2004-04-24  3:15             ` [Linux-fbdev-devel] " Randy.Dunlap
2004-04-24  7:08               ` Alex Stewart
2004-04-25  3:10                 ` [Linux-fbdev-devel] " James Simmons
2004-04-25  3:09               ` James Simmons
2004-04-24 17:29             ` Alex Stewart
2004-04-25  0:55               ` James Simmons
2004-04-26 18:12                 ` Alex Stewart
2004-04-27  0:11                   ` James Simmons
2004-04-27  1:15                     ` Alex Stewart
2004-04-27  8:49                       ` Geert Uytterhoeven
2004-04-27 10:12                         ` Benjamin Herrenschmidt
2004-04-27 20:25                           ` James Simmons
2004-04-27 22:48                             ` John Zielinski
2004-04-27 23:10                               ` Benjamin Herrenschmidt
2004-04-27 23:21                                 ` James Simmons
2004-04-27 23:25                                   ` Benjamin Herrenschmidt
2004-04-27 23:46                                   ` John Zielinski
2004-04-27 23:50                                     ` Benjamin Herrenschmidt
2004-04-28  0:38                                       ` John Zielinski
2004-04-28  0:41                                         ` Benjamin Herrenschmidt
2004-04-28  1:39                                           ` John Zielinski
2004-04-28  3:17                                             ` Alex Stewart
2004-04-28  3:18                                               ` Benjamin Herrenschmidt
2004-04-28 17:02                                                 ` James Simmons
2004-04-28  4:36                                               ` John Zielinski
2004-04-28  4:56                                                 ` Alex Stewart
2004-04-28  6:59                                                   ` John Zielinski [this message]
2004-04-28  8:26                                         ` Geert Uytterhoeven
2004-04-28 22:00                                           ` John Zielinski
2004-04-28  0:29                                     ` Otto Solares
2004-04-28  0:54                                       ` Antonino A. Daplas
2004-04-28  1:15                                         ` Otto Solares
2004-04-28  1:21                                       ` John Zielinski
2004-04-28 16:53                                         ` James Simmons
2004-04-28  0:23                                   ` Otto Solares
2004-04-28  0:20                                 ` Otto Solares
2004-04-28  0:36                                   ` Benjamin Herrenschmidt
2004-04-28  7:08                                     ` Otto Solares
2004-04-28  8:27                                       ` Geert Uytterhoeven
2004-04-28 10:16                                       ` Michel Dänzer
2004-04-28 16:37                                         ` Otto Solares
2004-04-28 16:50                                           ` James Simmons
2004-04-28 22:26                                           ` Michel Dänzer
2004-04-28 23:42                                             ` Benjamin Herrenschmidt
2004-04-28 23:59                                               ` James Simmons
2004-04-29  1:06                                               ` Otto Solares
2004-04-29  1:20                                                 ` Benjamin Herrenschmidt
2004-04-29 16:56                                                   ` James Simmons
2004-04-29 21:57                                                     ` Benjamin Herrenschmidt
2004-04-30 15:06                                                       ` Ville Syrjälä
2004-04-30 16:50                                                         ` James Simmons
2004-05-01  0:40                                                           ` Otto Solares
2004-05-06 19:28                                                             ` Mobility M1 refresh code problem 2.4.26? Richard Smith
2004-05-06 19:57                                                               ` Mikael Eriksson
2004-05-06 20:35                                                                 ` Richard Smith
2004-05-06 20:42                                                                   ` Geert Uytterhoeven
2004-05-06 21:12                                                                     ` Richard Smith
2004-05-07  7:57                                                                       ` Mikael Eriksson
2004-05-07 14:11                                                                         ` Richard Smith
2004-05-07 15:34                                                                           ` Mikael Eriksson
2004-05-07 19:42                                                                             ` Richard Smith
2004-05-07 23:11                                                                               ` Mikael Eriksson
2004-04-29  8:32                                               ` [PATCH] neofb patches Geert Uytterhoeven
2004-04-29  1:07                                             ` Otto Solares
2004-04-29  1:23                                               ` Benjamin Herrenschmidt
2004-04-29 13:01                                               ` Michel Dänzer
2004-04-29 17:52                                                 ` Otto Solares
2004-04-29 23:12                                                   ` Michel Dänzer
2004-04-30  1:18                                                     ` Otto Solares
2004-04-30  1:28                                                       ` Michel Dänzer
2004-04-30 21:26                                                         ` Otto Solares
2004-04-28 23:30                                           ` Benjamin Herrenschmidt
2004-04-28 17:39                                       ` James Simmons
2004-04-28 18:03                                         ` Geert Uytterhoeven
2004-04-28 22:46                                         ` John Zielinski
2004-04-27  8:56                   ` Geert Uytterhoeven
2004-04-23 16:07         ` James Simmons

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=408F5637.9050903@undead.cc \
    --to=grim@undead.cc \
    --cc=alex@foogod.com \
    --cc=benh@kernel.crashing.org \
    --cc=geert@linux-m68k.org \
    --cc=jsimmons@infradead.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).