From: Castor Fu <castor@drizzle.Stanford.EDU>
To: sam-fans@hawkwind.utcs.toronto.edu
Subject: sam and tiling
Date: Thu, 8 Sep 1994 01:23:56 -0400 [thread overview]
Message-ID: <199409080523.WAA15341@hassle.Stanford.EDU> (raw)
Do people like the window creation mechanism on sam? I found that more often
then not, I didn't really want to choose a particular window size, but
simply wanted to put one somewhere.
However, the current behavior with the single click didn't seem to quite
agree with me.
Taking a cue from Oberon and acme, I decided to patch getr in samterm/main.c
by adding the following in the appropriate place:
modifying the code like so:
if (p.y <= r.min.y)
rp->max.y = r.min.y;
else if (p.y >= r.max.y)
rp->min.y = r.max.y;
else {
rp->min.y = r.min.y;
rp->max.y = r.max.y;
}
[and similarly for the x coords].
This allows the command window to define 8 other sectors, which don't
overlap. I've been working with it for a few hours now, and I feel the screen
real estate is better utilized.
-castor
reply other threads:[~1994-09-08 5:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=199409080523.WAA15341@hassle.Stanford.EDU \
--to=castor@drizzle.stanford.edu \
--cc=sam-fans@hawkwind.utcs.toronto.edu \
/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).