User
Pass
2FA
 
 

[BASH] Menubox si inputbox

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> Trash -> Programming / Scripting / Database
Author Message869
4drian

[Mentally Stable]



Status: Offline
(since 06-11-2009 17:32)
Joined: 07 Sep 2009
Posts: 10, Topics: 6
Location: Romania

Reputation: 91.7
Votes: 4

Post Posted: 24-10-2009, 19:14:17 | Translate post to: ... (Click for more languages)

Salut! As dori sa scriu in BASH un cod in care sa imi apara simultan un menubox si un inputbox. Am incercat sa fac asta cu codul acesta:
Code:
dialog --title "Titlu" \
--backtitle "Termeni si conditii de utilizare" \
--menu "Salut" 15 50 4 \
Date/time "Displays date and time" \
Calendar "Displays a calendar" \
Editor "Start a text editor" \
Exit "Exit to the shell" \
--inputbox "Introdu numele tau!" 8 60

retval=$?
case $retval in
0)
echo 'The name is '$input';;
1)
echo "Cancel pressed.";;
esac

Dar nu a mers. Ma puteti ajuta? Multumesc anticipat. -

0 0
  
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> Trash -> Programming / Scripting / Database  


The time now is 28-09-2024, 03:24:43
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x