Linux dialog utility (infobox) scrollen

Franky86

Franky86

Masternoob
Hallo, ich hab ein Script geschrieben, welches ich mit Hilfe einer Infobox oder was ähnliches öffnen will. Doch das Script ist zu lang und wird somit nicht vollständig angezeigt. Kennt jemand eine Möglichkeit, dass man Scrollen kann innerhalb einer infobox?

dialog --title "Script" --backtitle "Scriptsammlung" --infobox "`./script64`" 200 50 :rtfm:

Vielen Dank für eure :hilfe2:
 
Hallo
Hast du es mal mit der textbox versucht?

man dialog
Code:
       --textbox file height width
              A text box lets you display the contents of a text file in a dialog box.  It is like a simple text file
              viewer.  The user can move through the file by using the cursor, page-up, page-down and  HOME/END  keys
              available on most keyboards.  If the lines are too long to be displayed in the box, the LEFT/RIGHT keys
              can be used to scroll the text region horizontally.  You may also use vi-style keys h, j, k, l in place
              of  the  cursor  keys, and B or N in place of the page-up and page-down keys.  Scroll up/down using vi-
              style 'k' and 'j', or arrow-keys.  Scroll left/right using vi-style 'h' and 'l', or arrow-keys.  A  '0'
              resets  the  left/right scrolling.  For more convenience, vi-style forward and backward searching func-
              tions are also provided.

Gruß Wolfgang
 
textbox

Danke erstmal für die Hilfe, du hast Recht, jetzt zeigt er mir alles, aber leider nur in der Konsole und nicht in einer Dialogbox :think:. Muss das so sein?

Quelltext: dialog --title "Script" --backtitle "Servus" --textbox "`./script64`" 20 50
 

Ähnliche Themen

Warum funktioniert mein BASH - Dialog nicht ?

MacBook Pro hat Benutzer-Konten vergessen

Löschroutine mit Überprüfung

Signal an evdev senden (Plantronics Headset)

cvs

Zurück
Oben