* Re: samx2 patches
@ 1994-03-18 13:51 Andrew Higham
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Higham @ 1994-03-18 13:51 UTC (permalink / raw)
To: laden, sam-fans
> btw: a useful patch i have not seen is the removal of 'click-to-type'
> i am _very_ new to sam so i dont realy know if this would somehow break
> some functionality, but it seems like a simple fix which could save plenty
> of mouse clicks. anyone done this?
The following patch is a combination of a couple of patches discussed here
before.
Sam works fine without click-to-type. The only small problem is that it is
a bit too easy to change the focus of commands by moving the mouse pointer
through another file window on its way to the ~sam~ window. But I find the
default click-to-type has more problems for someone who uses a point-to-type
window manager.
Andrew
# to apply: patch -d newsam -p1 < thispatch
*** sam4.1/samterm/main.c Fri Mar 18 11:37:28 1994
--- newsam/samterm/main.c Fri Mar 18 12:25:02 1994
***************
*** 102,107 ****
--- 102,109 ----
scroll(which, 3, fwdbut == 3 ? 3 : 1);
else
menu3hit();
+ }else if(nwhich && nwhich!=which){
+ current(nwhich);
}
mouseunblock();
}
***************
*** 128,134 ****
flborder(which, 0);
if(nw){
flushtyping(1);
- flupfront(nw);
flborder(nw, 1);
buttons(Up);
t = (Text *)nw->user1;
--- 130,135 ----
*** sam4.1/samterm/menu.c Fri Mar 18 11:37:28 1994
--- newsam/samterm/menu.c Fri Mar 18 12:25:06 1994
***************
*** 178,183 ****
--- 178,184 ----
i = 0;
while(i!=t->front && t->l[i].textfn==0);
current(&t->l[i]);
+ flupfront(&t->l[i]);
}else if(!lock)
sweeptext(0, tag[m-NMENU3]);
break;
^ permalink raw reply [flat|nested] 2+ messages in thread
* samx2 patches
@ 1994-03-18 0:25 laden
0 siblings, 0 replies; 2+ messages in thread
From: laden @ 1994-03-18 0:25 UTC (permalink / raw)
To: sam-fans
hi, has anyone applied the samx2 patches to the current (4.1) version of
sam? i get 3 failures from 'patch', not to mention real bugs probably
introduced.
if anyone has done this already, could they post them to the list.
btw: a useful patch i have not seen is the removal of 'click-to-type'
i am _very_ new to sam so i dont realy know if this would somehow break
some functionality, but it seems like a simple fix which could save plenty
of mouse clicks. anyone done this?
thanks,
guy.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-03-18 15:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-03-18 13:51 samx2 patches Andrew Higham
-- strict thread matches above, loose matches on Subject: below --
1994-03-18 0:25 laden
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).