Re: terminal patches



Havoc Pennington <hp@redhat.com> writes:

> Hi,
> 
> Jonathan is honeymooning, but he asked me to submit these
> gnome-terminal patches from RH 6.2 for inclusion in April GNOME. One
> of them makes gnome-terminal comply with the Debian backspace/delete
> behavior which is now standard for both Debian and Red Hat and people
> seem to feel is correct. I'm not sure what the others do but I guess
> it's pretty obvious to the people that would be applying the patch.

[...]

> ===File /usr/src/redhat/SOURCES/gnome-core-1.0.55-swapbs.patch===
> --- gnome-core-1.0.55/gnome-terminal/gnome-terminal.c.swapbs	Tue Feb 29 10:15:29 2000
> +++ gnome-core-1.0.55/gnome-terminal/gnome-terminal.c	Tue Feb 29 10:16:11 2000
> @@ -482,7 +482,7 @@
>  		cfg->color_type = PALETTE_LINUX;
>  	cfg->bell      = gnome_config_get_bool ("bell_silenced=0");
>  	cfg->blink     = gnome_config_get_bool ("blinking=0");
> -	cfg->swap_keys = gnome_config_get_bool ("swap_del_and_backspace=0");
> +	cfg->swap_keys = gnome_config_get_bool ("swap_del_and_backspace=1");
>  
>  	cfg->login_by_default = gnome_config_get_bool ("login_by_default=0");

As we discovered with Red Hat 6.2, changing the default this way is not
a good idea, since it doesn't affect anybody who has ever previously
ran gnome-terminal.

I think it is a better idea to create a new config key
"swap_del_and_backspace_2" or whatever - with the reversed sense from
the current one, and have that default to FALSE.

People who did not reverse del_and_backspace previously and meant not
to reverse del_and_backspace would have to go into the config options,
and change it, but most people would see the correct behavior 
automatically.

Regards,
                                        Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]