zsh-workers
 help / color / mirror / code / Atom feed
* older issues
@ 2002-02-21  4:15 Clint Adams
  2002-02-21  7:09 ` Bart Schaefer
  0 siblings, 1 reply; 5+ messages in thread
From: Clint Adams @ 2002-02-21  4:15 UTC (permalink / raw)
  To: zsh-workers

I think that each of the following should either be put into Etc/BUGS or
the documentation.  Any comments?

    * Unrandom $RANDOM in subshells
    * time and repeat builtins don't mix
    * certain prompt expansions are elided if LINES<3
    * Zsh should clean up its signals on startup
    * zsh does not know how to handle multibyte characters


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

* Re: older issues
  2002-02-21  4:15 older issues Clint Adams
@ 2002-02-21  7:09 ` Bart Schaefer
  2002-02-21 13:21   ` PATCH: RANDOM docs Clint Adams
  2002-02-21 13:39   ` older issues Clint Adams
  0 siblings, 2 replies; 5+ messages in thread
From: Bart Schaefer @ 2002-02-21  7:09 UTC (permalink / raw)
  To: zsh-workers

On Feb 20, 11:15pm, Clint Adams wrote:
} Subject: older issues
}
} I think that each of the following should either be put into Etc/BUGS or
} the documentation.  Any comments?
} 
}     * Unrandom $RANDOM in subshells

Not a bug, so definitely shouldn't be in BUGS.  The doc for RANDOM could
make it more explicit that the results are is an intentionally repeatable
psuedo-random sequence.

}     * time and repeat builtins don't mix

What does this mean?  "repeat N time ..." works fine; "time repeat N ..."
works just as well as "time" works with any other builtin (which is to
say, it doesn't time builtins at all).  There's no reason to record this
_specific_ instance of "time" not working with a builtin.

}     * certain prompt expansions are elided if LINES<3

As I just noted in another message, this is a SINGLE_LINE_ZLE effect, and
is not a bug per se.

}     * Zsh should clean up its signals on startup

I think zsh already does exactly the "cleaning up" that it means to.  I
don't agree with what you think it "should" do.

I'm not sure where to document the behavior; Invocation?  Jobs & Signals?
(The "Signals" subsection is pretty brief.)

}     * zsh does not know how to handle multibyte characters

That belongs on a TODO list, not in a BUGS file or the doc.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


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

* PATCH: RANDOM docs
  2002-02-21  7:09 ` Bart Schaefer
@ 2002-02-21 13:21   ` Clint Adams
  2002-02-21 13:39   ` older issues Clint Adams
  1 sibling, 0 replies; 5+ messages in thread
From: Clint Adams @ 2002-02-21 13:21 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: zsh-workers

> Not a bug, so definitely shouldn't be in BUGS.  The doc for RANDOM could
> make it more explicit that the results are is an intentionally repeatable
> psuedo-random sequence.

Index: Doc/Zsh/params.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/params.yo,v
retrieving revision 1.14
diff -u -r1.14 params.yo
--- Doc/Zsh/params.yo	31 Jan 2002 14:44:15 -0000	1.14
+++ Doc/Zsh/params.yo	21 Feb 2002 13:20:47 -0000
@@ -574,9 +574,14 @@
 )
 vindex(RANDOM)
 item(tt(RANDOM) <S>)(
-A random integer from 0 to 32767, newly generated each time
+A pseudo-random integer from 0 to 32767, newly generated each time
 this parameter is referenced.  The random number generator
 can be seeded by assigning a numeric value to tt(RANDOM).
+
+The values of tt(RANDOM) form an intentionally-repeatable pseudo-random
+sequence; subshells that reference tt(RANDOM) will result
+in identical pseudo-random values unless the value of tt(RANDOM) is
+referenced or seeded in the parent shell in between subshell invocations.
 )
 vindex(SECONDS)
 item(tt(SECONDS) <S>)(


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

* Re: older issues
  2002-02-21  7:09 ` Bart Schaefer
  2002-02-21 13:21   ` PATCH: RANDOM docs Clint Adams
@ 2002-02-21 13:39   ` Clint Adams
  2002-02-21 15:09     ` Etc/.distfiles Bart Schaefer
  1 sibling, 1 reply; 5+ messages in thread
From: Clint Adams @ 2002-02-21 13:39 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: zsh-workers

> What does this mean?  "repeat N time ..." works fine; "time repeat N ..."
> works just as well as "time" works with any other builtin (which is to
> say, it doesn't time builtins at all).  There's no reason to record this
> _specific_ instance of "time" not working with a builtin.

Yes, sorry.  That should have referred to the general problem of not
being able to time builtins.

> I think zsh already does exactly the "cleaning up" that it means to.  I
> don't agree with what you think it "should" do.

Not my words.

> I'm not sure where to document the behavior; Invocation?  Jobs & Signals?
> (The "Signals" subsection is pretty brief.)

Actually, I think the Signals subsection is clear enough on this matter.
 
> That belongs on a TODO list, not in a BUGS file or the doc.

Index: Etc/.distfiles
===================================================================
RCS file: /cvsroot/zsh/zsh/Etc/.distfiles,v
retrieving revision 1.2
diff -u -r1.2 .distfiles
--- Etc/.distfiles	15 Nov 2001 18:44:46 -0000	1.2
+++ Etc/.distfiles	21 Feb 2002 13:39:31 -0000
@@ -1,6 +1,6 @@
 DISTFILES_SRC='
     .cvsignore .distfiles Makefile.in
-    BUGS CONTRIBUTORS FAQ FAQ.yo FEATURES MACHINES NEWS STD-TODO
+    BUGS CONTRIBUTORS FAQ FAQ.yo FEATURES MACHINES NEWS STD-TODO TODO
     FTP-README pubring.pgp
     completion-style-guide zsh-development-guide
 '
Index: Etc/TODO
===================================================================
RCS file: Etc/TODO
diff -N Etc/TODO
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Etc/TODO	21 Feb 2002 13:39:31 -0000
@@ -0,0 +1,5 @@
+This file describes features to be implemented in the future.
+
+* support for multibyte characters, including UTF-8
+
+* programmable spell-correction


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

* Etc/.distfiles
  2002-02-21 13:39   ` older issues Clint Adams
@ 2002-02-21 15:09     ` Bart Schaefer
  0 siblings, 0 replies; 5+ messages in thread
From: Bart Schaefer @ 2002-02-21 15:09 UTC (permalink / raw)
  To: zsh-workers

} Index: Etc/.distfiles
} ===================================================================
} -    BUGS CONTRIBUTORS FAQ FAQ.yo FEATURES MACHINES NEWS STD-TODO
} +    BUGS CONTRIBUTORS FAQ FAQ.yo FEATURES MACHINES NEWS STD-TODO TODO

Hey, how did STD-TODO get in there?  That file was supposed to be in
CVS only, not included in distributions.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


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

end of thread, other threads:[~2002-02-21 15:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-21  4:15 older issues Clint Adams
2002-02-21  7:09 ` Bart Schaefer
2002-02-21 13:21   ` PATCH: RANDOM docs Clint Adams
2002-02-21 13:39   ` older issues Clint Adams
2002-02-21 15:09     ` Etc/.distfiles Bart Schaefer

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