LinuxQuestions.org
Visit Jeremy's Blog.
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, 01: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, 08: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: 12,355
Blog Entries: 16

Rep: Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146
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, 02: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, 03:36 AM   #4
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 841

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

OK
 
Old 07-01-2015, 04: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, 09:29 AM   #6
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 841

Rep: Reputation: 201Reputation: 201Reputation: 201
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, 07:57 AM   #7
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 841

Rep: Reputation: 201Reputation: 201Reputation: 201
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 01:38 AM
perl/graphviz -- making clickable/scrollable graphs mistersnorfles Programming 1 08-27-2007 12:37 AM
C - xlib - scrollable text box serbet Linux - Software 1 09-22-2004 01:01 PM
C Xlib scrollable text box serbet Programming 0 09-22-2004 03:13 AM
Acrobat R: document scrollable? svissche Linux - General 0 03-10-2004 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:02 PM.

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