niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » shell
zsh: no read -p "prompt qestion: " varname ???
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
Geoff Wing
*nix forums beginner


Joined: 13 Feb 2005
Posts: 2

PostPosted: Sun Feb 13, 2005 3:32 am    Post subject: Re: zsh: no read -p "prompt qestion: " varname ??? Reply with quote

shea martin <smartin@arcis.com> typed:
: I just found the answer 'vared -c -p 'prompt qeustion'.
: Funny, 'man zsh | grep vared'. I must have a bad version of zsh.

% man zshall | grep vared

By default the man page is split into several files. zshall pulls in each
section/file.

Regards,
Geoff
Back to top
Shea Martin
*nix forums beginner


Joined: 06 Apr 2005
Posts: 47

PostPosted: Sat Feb 12, 2005 7:52 pm    Post subject: Re: zsh: no read -p "prompt qestion: " varname ??? Reply with quote

Ed Morton wrote:
Quote:


shea martin wrote:

bash had a -p option for read which allowed prompt to be specified.
zsh does not seem to have this.

I can't seem to find the manpage dealing with the builtin read. In
bash 'help read' would print out what I want, but I in zsh 'help read'
gives "key 'read' not found".

Pointers?


Did you try "man zsh"? There's a copy of the man page at
http://www.neosoft.com/neosoft/man/zsh.1.html if you're missing yours.

Ed.


I just found the answer 'vared -c -p 'prompt qeustion'.

Funny, 'man zsh | grep vared'. I must have a bad version of zsh.

Thanks,

~S
Back to top
Ed Morton
*nix forums Guru


Joined: 20 Feb 2005
Posts: 1073

PostPosted: Sat Feb 12, 2005 7:41 pm    Post subject: Re: zsh: no read -p "prompt qestion: " varname ??? Reply with quote

shea martin wrote:

Quote:
bash had a -p option for read which allowed prompt to be specified. zsh
does not seem to have this.

I can't seem to find the manpage dealing with the builtin read. In bash
'help read' would print out what I want, but I in zsh 'help read' gives
"key 'read' not found".

Pointers?

Did you try "man zsh"? There's a copy of the man page at
http://www.neosoft.com/neosoft/man/zsh.1.html if you're missing yours.

Ed.
Back to top
Shea Martin
*nix forums beginner


Joined: 06 Apr 2005
Posts: 47

PostPosted: Sat Feb 12, 2005 7:12 pm    Post subject: zsh: no read -p "prompt qestion: " varname ??? Reply with quote

bash had a -p option for read which allowed prompt to be specified. zsh does not
seem to have this.

I can't seem to find the manpage dealing with the builtin read. In bash 'help
read' would print out what I want, but I in zsh 'help read' gives "key 'read'
not found".

Pointers?

TIA,

!S
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 11:21 pm | All times are GMT
navigation Forum index » Programming » shell
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts ConfigParser: what read('non-existent-filename') returns ... Danil Dotsenko python 4 Thu Jul 20, 2006 5:50 pm
No new posts socket read modifies third parameter after the call: Very... jainarunk@gmail.com networking 1 Thu Jul 20, 2006 3:47 pm
No new posts ===Welcome to comp.lang.c++! Read this first. Shiva C++ 0 Wed Jul 19, 2006 4:29 pm
No new posts multiple InnoDB read-only server instances on same file s... pradhuman jhala MySQL 1 Tue Jul 18, 2006 11:48 pm
No new posts A new reader? Welcome to comp.os.linux.setup, read this f... FAQ (bi-weekly) Setup 0 Tue Jul 18, 2006 11:10 pm

Cheap Magazines | Magic the Gathering | Credit Card Consolidation | Mobile Phones | Debt Consolidation
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1744s ][ Queries: 20 (0.0942s) ][ GZIP on - Debug on ]