From: Richard Powell <richard@powell.name>
To: 9fans <9fans@cse.psu.edu>
Subject: [9fans] Minor fix for the window command with -m and -hide options
Date: Wed, 9 Oct 2002 22:56:53 -0700 [thread overview]
Message-ID: <3DA516A5.1080402@powell.name> (raw)
Greetings,
Here is a minor change to the window script to handle the -m and -hide options together.
It might be worth noting in the man page that if -m is used it must be the first option.
Thanks,
Richard
diff -c window.org window
*** window.org Wed Oct 2 18:19:08 2002
--- window Wed Oct 2 18:19:16 2002
***************
*** 73,79 ****
{
if(mount $srv $dir 'new -pid '^`{cat /dev/ppid}^' '$"*){
bind -b $dir /dev
- echo -n `{basename $1} > /dev/label >[2] /dev/null
# toss geometry parameters to find command
while(~ $1 -*)
switch($1){
--- 73,78 ----
***************
*** 81,89 ****
--- 80,91 ----
shift 2
case -r
shift 5
+ case -hide
+ shift
}
if(~ $#* 0) cmd = rc
if not cmd = $*
+ echo -n `{basename $cmd(1)} > /dev/label >[2] /dev/null
exec $cmd < /dev/cons > /dev/cons >[2] /dev/cons
}
}&
reply other threads:[~2002-10-10 5:56 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=3DA516A5.1080402@powell.name \
--to=richard@powell.name \
--cc=9fans@cse.psu.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).