zsh-workers
 help / color / mirror / code / Atom feed
* a tiny patch for _cvs
@ 2001-07-17 16:19 Akinori MUSHA
  2001-07-18  7:10 ` Sven Wischnowsky
  0 siblings, 1 reply; 2+ messages in thread
From: Akinori MUSHA @ 2001-07-17 16:19 UTC (permalink / raw)
  To: zsh-workers

Hello again,

We found that the compdef for cvs(1) didn't grok the -R option, which
had been introduced by FreeBSD (and later adopted by OpenBSD) quite
some time ago.

As the option is very useful for resolving the permission issue and
improving the performance over NFS or SSH, we really get used to it.
We'd appreciate if you could kindly merge the attached patch.


Regards,

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"Freeze this moment a little bit longer, make each impression
  a little bit stronger..  Experience slips away -- Time stand still"

--- _cvs.orig	Wed Jul 18 00:52:28 2001
+++ _cvs	Wed Jul 18 00:54:02 2001
@@ -3,8 +3,17 @@
 # redefine _cvs.
 
 _cvs () {
+  local extra
+
   # "+Qqrwtnlvb:T:e:d:Hfz:s:xa"
+  case $OSTYPE in
+  freebsd*|openbsd*)
+    extra='-R[read only access]'
+    ;;
+  esac
+
   _arguments -s \
+    $extra \
     '-a[authenticate]' \
     '-f[disable .cvsrc]' \
     '(-n)-l[disable logging]' \


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: a tiny patch for _cvs
  2001-07-17 16:19 a tiny patch for _cvs Akinori MUSHA
@ 2001-07-18  7:10 ` Sven Wischnowsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2001-07-18  7:10 UTC (permalink / raw)
  To: zsh-workers; +Cc: Akinori MUSHA

Akinori MUSHA wrote:

> Hello again,
> 
> We found that the compdef for cvs(1) didn't grok the -R option, which
> had been introduced by FreeBSD (and later adopted by OpenBSD) quite
> some time ago.
> 
> As the option is very useful for resolving the permission issue and
> improving the performance over NFS or SSH, we really get used to it.
> We'd appreciate if you could kindly merge the attached patch.

I've added that.  Thanks for your work on improving our support for
BSDish systems.

One comment: you could save us some work if you could build your diffs
relative to the top level directory (the one with sub-directories
Completion, Src, ...).


Bye
  Sven


-- 
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-18  7:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-17 16:19 a tiny patch for _cvs Akinori MUSHA
2001-07-18  7:10 ` Sven Wischnowsky

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).