Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* fix for init.d/gpm
@ 1996-11-08 18:01 Harald Koenig
  0 siblings, 0 replies; only message in thread
From: Harald Koenig @ 1996-11-08 18:01 UTC (permalink / raw)


using a mouse with logitech protocol I'd like to use the following
parameters for gpm:  

	# gpm -t logi -b 9600 -s 150 -r 30

but with
	# cat /etc/sysconfig/mouse
	MOUSETYPE="logi -b 9600 -s 150 -r 30"

but I'll need the following patch

--- /etc/rc.d/init.d/gpm~	Tue Sep 10 19:09:21 1996
+++ /etc/rc.d/init.d/gpm	Fri Nov  8 18:19:38 1996
@@ -12,7 +12,7 @@
 		. "$MOUSECFG"
 	fi
 
-	if [ -n ${MOUSETYPE} ]; then
+	if [ -n "${MOUSETYPE}" ]; then
 		daemon gpm -t $MOUSETYPE
 	else
 		daemon gpm

Harald

--
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-11-08 18:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-08 18:01 fix for init.d/gpm Harald Koenig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox