LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2015, 02:20 AM   #1
aavika
Member
 
Registered: Dec 2014
Posts: 82

Rep: Reputation: Disabled
create scrollable textbox


hello everyone,
I want to create simple textboxes in textmode using shell script linux commands
Thank you in advance
 
Old 06-27-2015, 09:35 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,690
Blog Entries: 12

Rep: Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904
Could you please be more precise about what you are trying to accomplish.

For example, are you wanting to create dialog boxes to run as part of BASH scripts, as described here?
 
Old 07-01-2015, 03:27 AM   #3
aavika
Member
 
Registered: Dec 2014
Posts: 82

Original Poster
Rep: Reputation: Disabled
i tried these two commands:
dialog --title "TERMS AND CONDITIONS" --textbox /Server/file.txt1 22 90
whiptail --title "TERMS AND CONDITIONS" --textbox --scrolltext /Server/file.txt1 22 90

both commands are almost similar. i am trying to hide 'exit' button from dialog command and 'ok' button from whiptail command. is it possible to hide the buttons in either of the command?? i don't want any buttons.
thank you
 
Old 07-01-2015, 04:36 AM   #4
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 813

Rep: Reputation: 195Reputation: 195
Doesn't dialog have "infobox"?

OK
 
Old 07-01-2015, 05:59 AM   #5
aavika
Member
 
Registered: Dec 2014
Posts: 82

Original Poster
Rep: Reputation: Disabled
yes.. but giving me an error
 
Old 07-02-2015, 10:29 AM   #6
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 813

Rep: Reputation: 195Reputation: 195
What exactly is the error?

Could be that it doesn't accept text from a file ie. you have to give the literal directly.

OK
 
Old 07-18-2015, 08:57 AM   #7
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 813

Rep: Reputation: 195Reputation: 195
http://stackoverflow.com/questions/1...ox-in-whiptail

Seems like an unresolved bug in whiptail but ok in dialog.

So if it doesn't work in dialog also, it could be an older version (in dialog).

OK
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
python displaying list contents in scrollable window error bloodyscript Programming 2 09-25-2011 02:38 AM
perl/graphviz -- making clickable/scrollable graphs mistersnorfles Programming 1 08-27-2007 01:37 AM
C - xlib - scrollable text box serbet Linux - Software 1 09-22-2004 02:01 PM
C Xlib scrollable text box serbet Programming 0 09-22-2004 04:13 AM
Acrobat R: document scrollable? svissche Linux - General 0 03-10-2004 07:46 AM


All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration