The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need help with script for menu sinjin Shell Programming and Scripting 0 12-10-2007 03:27 PM
Creating a menu within a script file sinjin Shell Programming and Scripting 8 12-10-2007 01:18 AM
Menu Script question lanmanb4 UNIX for Dummies Questions & Answers 2 07-28-2005 10:08 AM
Menu script Ypnos Shell Programming and Scripting 9 07-02-2003 04:25 PM
Changing korn shell script text Menu colors? darthur UNIX for Dummies Questions & Answers 6 01-20-2002 07:15 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-03-2008
claudlu claudlu is offline
Registered User
  
 

Join Date: May 2008
Posts: 2
dialog menu script. please HELP

hello.

i want to create a useradd dialog menu.
i cannot make a single menu with 4 box inputs ( user, pass, fullname, shell ) because the dialog utility is either limited or either i know to less about using the dialog utility.
from what i see it only allows me to post these 4 boxes one by one, i mean first i input the user, i hit enter, a new dialog box apears for password, again i hit enter for fullname, etc.

can't i just use dialog to build more boxes in a single menu interface ? like anaconda does on redhat for example.

thanks.
  #2 (permalink)  
Old 05-04-2008
claudlu claudlu is offline
Registered User
  
 

Join Date: May 2008
Posts: 2
cmon

cmon, nobody?
  #3 (permalink)  
Old 05-04-2008
vgersh99's Avatar
vgersh99 vgersh99 is online now Forum Staff  
Moderator
  
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 5,121
Pls don't bump-up posts - it's against the Rules
  #4 (permalink)  
Old 05-18-2009
mkopal mkopal is offline
Registered User
  
 

Join Date: May 2009
Posts: 1
dialog with mixedform option

Most probably you don't need it anymore but maybe it will help to other guys. Here is a sample how it can be done :

Code:
/usr/bin/dialog --title "Mixed Form" --backtitle "Mixed Form" --insecure \
                --mixedform "This is simple mixedform :" 15 50 0 \
                "User name       : " 1 1 "user" 1 20 20 0 0 \
                "Password        :"      2 1    "pass1"  2 20  20 0 1 \
                "Retype Password :"      3 1    "pass2"  3 20  20 0 1 2> /tmp/file
P.S. Be careful option --mixedform is only available in latest dialog command.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0