Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
[BASH] Menubox si inputbox
Freakz Forum Index
->
Trash Bin
->
Trash
->
Programming / Scripting / Database
Author
Message
894
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
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
Freakz Forum Index
->
Trash Bin
->
Trash
->
Programming / Scripting / Database
The time now is 12-02-2025, 06:47:24
Copyright info
Based on phpBB
ro
/
com
B
Login
I forgot my password
World of Warcraft
Login for more...
Download WoW 7.3.5
Misc
eSports
Achievements
Buy reputation with votes
Reputation trades
Forum rules
Ban list
Members list
User guide (FAQ)
World of Warcraft
View details