Re: Silly patch to allow alt + f[1-4] to switch consoles.

2005-07-12 Thread Shawn K. Quinn
On Mon, 2005-07-11 at 23:28 -0600, Chris Kuethe wrote:
 On 7/11/05, Shawn K. Quinn [EMAIL PROTECTED] wrote:
  Which leads me to ask... why is OpenBSD the only odd one out that
  requires Ctrl+Alt+F{1,2,3,4,5} when switching between text consoles? Is
  there really a good reason for leaving it the way it is?
 
 Because some X11 apps use ALT+Fx.

GNU/Linux and FreeBSD still require Ctrl-Alt-Fx to switch back to a text
console from X11. That's no reason to require Ctrl-Alt-Fx when switching
between text consoles when X11 isn't even involved.

-- 
Shawn K. Quinn [EMAIL PROTECTED]



Re: Silly patch to allow alt + f[1-4] to switch consoles.

2005-07-12 Thread Artur Grabowski
Shawn K. Quinn [EMAIL PROTECTED] writes:

 On Mon, 2005-07-11 at 23:28 -0600, Chris Kuethe wrote:
  On 7/11/05, Shawn K. Quinn [EMAIL PROTECTED] wrote:
   Which leads me to ask... why is OpenBSD the only odd one out that
   requires Ctrl+Alt+F{1,2,3,4,5} when switching between text consoles? Is
   there really a good reason for leaving it the way it is?
  
  Because some X11 apps use ALT+Fx.
 
 GNU/Linux and FreeBSD still require Ctrl-Alt-Fx to switch back to a text
 console from X11. That's no reason to require Ctrl-Alt-Fx when switching
 between text consoles when X11 isn't even involved.

Yes it is a good reason. The same keyboard combination works
regardless of what state your console happens to be in. What next?
Shift-Alt-Fx when you have colors on your console,
Meta-Super-Hyper-F(x^2) when you changed the reesolution and
triple-click on the mouse + wave with a dead chicken if you're in ddb?

Geez. I wanted to call you lazy for not wanting to press another key,
but then I realized that actually I'm lazy because I don't want to
remember which magic wand to wave in what situation. I prefer my magic
to be consistent.

//art



Re: Silly patch to allow alt + f[1-4] to switch consoles.

2005-07-12 Thread Edd Barrett
On 7/12/2005, Artur Grabowski [EMAIL PROTECTED] wrote:



Shawn K. Quinn [EMAIL PROTECTED] writes:



 On Mon, 2005-07-11 at 23:28 -0600, Chris Kuethe wrote:

  On 7/11/05, Shawn K. Quinn [EMAIL PROTECTED] wrote:

   Which leads me to ask... why is OpenBSD the only odd one out that

   requires Ctrl+Alt+F{1,2,3,4,5} when switching between text consoles? Is

   there really a good reason for leaving it the way it is?

 

  Because some X11 apps use ALT+Fx.



 GNU/Linux and FreeBSD still require Ctrl-Alt-Fx to switch back to a text

 console from X11. That's no reason to require Ctrl-Alt-Fx when switching

 between text consoles when X11 isn't even involved.



Yes it is a good reason. The same keyboard combination works

regardless of what state your console happens to be in. What next?

Shift-Alt-Fx when you have colors on your console,

Meta-Super-Hyper-F(x^2) when you changed the reesolution and

triple-click on the mouse + wave with a dead chicken if you're in ddb?



Geez. I wanted to call you lazy for not wanting to press another key,

but then I realized that actually I'm lazy because I don't want to

remember which magic wand to wave in what situation. I prefer my magic

to be consistent.



//art



--

This email has been verified as Virus free

Virus Protection and more available at http://www.plus.net





Does this really matter?



If it does then someone should add an option that can be included in the

wscons config file (someplace in /etc. I forget the name).



Edd



Re: Silly patch to allow alt + f[1-4] to switch consoles.

2005-07-12 Thread Artur Grabowski
Edd Barrett [EMAIL PROTECTED] writes:

 Does this really matter?

What is it with trolls on the mailing lists these days?

 If it does then someone should add an option that can be included in the
 wscons config file (someplace in /etc. I forget the name).

Maybe someone should run Linux if someone wants options, tweaks and knobs.

//art



Re: Silly patch to allow alt + f[1-4] to switch consoles.

2005-07-12 Thread Edd Barrett
On 7/12/2005, Artur Grabowski [EMAIL PROTECTED] wrote:



Edd Barrett [EMAIL PROTECTED] writes:



 Does this really matter?



What is it with trolls on the mailing lists these days?



??





 If it does then someone should add an option that can be included in the

 wscons config file (someplace in /etc. I forget the name).



Maybe someone should run Linux if someone wants options, tweaks and knobs.





There are already plenty in that file for key delays, keymap settings,

burn timeouts etc. I'm not sure what your point is here.



While we are on the subject of keyboards, why is it that shift-3 in uk

keymap sends a hash-enter instead of a pound sign.



Edd



Re: Silly patch to allow alt + f[1-4] to switch consoles.

2005-07-12 Thread Jan Izary
GNU/Linux and FreeBSD still require Ctrl-Alt-Fx to switch back to a text 
console from X11. That's no reason to require Ctrl-Alt-Fx when switching 
between text consoles when X11 isn't even involved.



No, reverse that.  Why bother changing it at all?  Just leave it be instead 
of having the same command be different if you're running something.


_
Powerful Parental Controls Let your child discover the best the Internet has 
to offer. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN. Premium right now and get the 
first two months FREE*.




Re: Silly patch to allow alt + f[1-4] to switch consoles.

2005-07-12 Thread Hannah Schroeter
Hello!

On Tue, Jul 12, 2005 at 04:33:37AM -0500, Edd Barrett wrote:
[...]

While we are on the subject of keyboards, why is it that shift-3 in uk
keymap sends a hash-enter instead of a pound sign.

Don't add empty lines between every line of your text.

Then, check whether that is the same if you try it using
cat or od -c, like:

$ od -c
#
^D

What's the output of that?

Edd

Kind regards,

Hannah.



Re: Silly patch to allow alt + f[1-4] to switch consoles.

2005-07-12 Thread Mats O Jansson
On Tue, 12 Jul 2005, Edd Barrett wrote:
 
 While we are on the subject of keyboards, why is it that shift-3 in uk
 keymap sends a hash-enter instead of a pound sign.

Well my 3.7-current gives a sterling sign as expected in console.

Hash sign is hex 0x23 and sterling is 0xa3. Could it be your shell
that doesn't know how to handle 8-bit characters?

I'm using ksh and has a .kshrc that contains set +o emacs-usemeta.

-moj
 
 Edd



Re: Silly patch to allow alt + f[1-4] to switch consoles.

2005-07-12 Thread Han Boetes
Artur Grabowski wrote:

 What is it with trolls on the mailing lists these days?

Nah, he was persistant, enthousiastic and unhindered by knowledge.
It's pretty impossible for a guru to have a decent conversation
with a stuborn noob. That's what happened here.


# Han



Re: Silly patch to allow alt + f[1-4] to switch consoles.

2005-07-12 Thread Stuart Henderson

--On 12 July 2005 04:33 -0500, Edd Barrett wrote:

While we are on the subject of keyboards, why is it that shift-3 in 

uk

keymap sends a hash-enter instead of a pound sign.


That's not the keymap, it's the shell. You don't get #enter when you 
type it into vi. Same thing happens ssh'd in from a Windows box. I 
actually found it quite useful as a quick way to stop typing on the 
current command and enter something else, but still have it in the 
history to use later.




Re: Silly patch to allow alt + f[1-4] to switch consoles.

2005-07-12 Thread Michael Shalayeff
Making, drinking tea and reading an opus magnum from Shawn K. Quinn:
 On Mon, 2005-07-11 at 22:31 -0500, Jaime Fournier wrote:
  This has only been  used slightly without any real testing, so if you
  find 
  any crashes due to it let me know.
  
  There is absolutely no guarantee that this is usable for any purpose.
  I use it without any problems to allow for easier console switching.
  But ymmv.
  For those more accustomed to the FreeBSD/Linux behavior.
 
 Which leads me to ask... why is OpenBSD the only odd one out that
 requires Ctrl+Alt+F{1,2,3,4,5} when switching between text consoles? Is
 there really a good reason for leaving it the way it is?

why do they drive on the other side of the road in some countries?
who cares!
deal w/ it.

cu

-- 
paranoic mickey   (my employers have changed but, the name has remained)



Silly patch to allow alt + f[1-4] to switch consoles.

2005-07-11 Thread Jaime Fournier
This has only been  used slightly without any real testing, so if you find 
any crashes due to it let me know.


There is absolutely no guarantee that this is usable for any purpose.
I use it without any problems to allow for easier console switching.
But ymmv.
For those more accustomed to the FreeBSD/Linux behavior.

--- sys/dev/wscons/wskbd.c  Fri Jul  8 01:40:08 2005
+++ sys.mine/dev/wscons/wskbd.c Mon Jul 11 22:20:16 2005
@@ -1370,6 +1370,7 @@

case KS_Cmd2:
update_modifier(sc-id, *type, 0, MOD_COMMAND2);
+   update_modifier(sc-id, *type, 0, MOD_COMMAND1);
break;
}



Re: Silly patch to allow alt + f[1-4] to switch consoles.

2005-07-11 Thread Shawn K. Quinn
On Mon, 2005-07-11 at 22:31 -0500, Jaime Fournier wrote:
 This has only been  used slightly without any real testing, so if you
 find 
 any crashes due to it let me know.
 
 There is absolutely no guarantee that this is usable for any purpose.
 I use it without any problems to allow for easier console switching.
 But ymmv.
 For those more accustomed to the FreeBSD/Linux behavior.

Which leads me to ask... why is OpenBSD the only odd one out that
requires Ctrl+Alt+F{1,2,3,4,5} when switching between text consoles? Is
there really a good reason for leaving it the way it is?

-- 
Shawn K. Quinn [EMAIL PROTECTED]