NEW - Der Feed des Merlin Images jetzt bei BoxPirates - NEW

NEW - BoxPirates Plugin Feed - NEW
Unsere Plugins direkt über den Plugin Browser eure Box installierbar

Tools Console - dreamOS - OE2.5 - armhf/mipsel

    • Tools Console - dreamOS - OE2.5 - armhf/mipsel

      Hier ein paar kleine 'Helfer' für die Nutzung im CLI.

      hisham.hm/htop/
      rigaux.org/hexedit.html
      iptraf.seul.org/

      Damit man im CLI 'vernüftig' Arbeiten kann, bzw. alles richtig angezeigt bekommt und Maus Support hat muss

      Term=xterm gesetzt sein.
      Das erreicht man einmalig durch die Eingabe
      export TERM=xterm
      Besser (dauerhaft) ist es das in /etc/profile zu editieren.

      Editieren unter Windows mit einem Linux fähigen Editor, mein Favorit ist Geany gibt es für alle Betriebssysteme!
      Zeilenende muss auf LF festgelegt werden.

      In /etc/profile kann man auch anderes festlegen.
      Sprache, Editor Pfade usw.

      Hier ein Auszug meiner /etc/profile

      Quellcode

      1. PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/games:/usr/games
      2. EDITOR='nano -m'
      3. TERM=xterm
      4. SHELL=bash
      5. LANG=de_DE.UTF-8
      6. LANGUAGE=de
      7. PYTHONOPTIMIZE=1
      8. HZ=100
      9. XDG_RUNTIME_DIR=/run/user/1000
      10. TZ=CET
      11. QT_NO_GLIB=1
      12. XTERM_LOCALE=de_DE.UTF-8
      13. COLUMS=80
      14. LINES=60
      15. export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM SHELL LANG
      16. export LANGUAGE PYTHONOPTIMIZE HZ XDG_RUNTIME_DIR TZ QT_NO_GLIB XTERM_LOCALE COLUMS LINES
      17. export DISPLAY=:0
      18. export LC_CTYPE=de_DE@euro
      19. export gopath=/usr/lib/go
      20. export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-armhf
      21. #export ANT_HOME=/usr/local/ant
      22. #export CATALINA_HOME=/hdd/comp/OE2.5/apache-tomcat-9.0.0.M17/apache-tomcat-9.0.0..M17-src/output/build/bin/
      23. umask 022
      Alles anzeigen
      Hat man TERM=xterm gesetzt kann man auch direkt mit mc im CLI arbeiten!
      Dann benötigt man keinen externen Editor und das Zeilenende ist automatisch Richtig gesetzt.

      gruß pclin
      Dateien
      Dreambox ONE / TWO, DM920UHD, DM900UHD, DM820HD HDD + USB-HUB, Stick 64GB, USB-HDD, Wireless Touch Keyboard K400r, Wlan-Stick 11n
      ONE (Flash) DP-OE2.6 (@) eigenes OE2.6, Debian-Bullseye | TWO (Flash) DP-OE2.6 (BAXII) eigenes OE2.6, Debian-Buster, Diverse
      (Flash) DP-OE2.5 (BAXII) eigenes OE2.5-e2+kodi+X, debian-stretch, Diverse
      AudioDSP: miniDSP 2x4HD
      TV: LG OLED65BX9LB (PicCap)
      Hyperion und Plugin HyperionControl auf der Dreambox ONE | TWO
      ESP32 mit WLED Wlan 263 LED's SK6812-RGBW-NW 60 LED/m



      Ambilight for ever

      Dieser Beitrag wurde bereits 4 mal editiert, zuletzt von pclin ()


    • dhex_0.69
      dhex is a more than just another hex editor: It includes a diff mode, which can be used to easily and conveniently compare two binary files. Since it is based on ncurses and is themeable, it can run on any number of systems and scenarios. With its utilization of search logs, it is possible to track changes in different iterations of files easily.

      freshmeat.sourceforge.net/projects/dhex
      dettus.net/dhex/
      dettus.net/dhex/themes/

      Quellcode

      1. *** DHEX 0.69
      2. *** (C)opyleft 2019 by Thomas Dettbarn
      3. *** dettus@dettus.net (include DHEX somewhere in the subject)
      4. (start it with dhex -gpl to see the license)
      5. This program is free software; you can redistribute it and/or modify
      6. it under the terms of the GNU General Public License as published by
      7. the Free Software Foundation; either version 2 of the License, or
      8. (at your option) any later version.
      9. This program is distributed in the hope that it will be useful,
      10. but WITHOUT ANY WARRANTY; without even the implied warranty of
      11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
      12. GNU General Public License for more details.
      13. You should have received a copy of the GNU General Public License
      14. along with this program; if not, write to the Free Software
      15. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
      16. dhex [Parameters]: General parameters
      17. -h, -H, -? show this help
      18. -v, -V show the version number 0.69
      19. -k, -K start the keyboard setup manually
      20. -x, -X start the hexcalc program
      21. -g, -G show the license
      22. -f, -F [configfile] read the config from [configfile]
      23. -m, -M [markerfile] read the bookmarks from [markerfile]
      24. dhex [Parameters] [Filename]: Edit a single file
      25. -ab, -AB [x] set the base address to [x] (binary)
      26. -ad, -AD [x] set the base address to [x] (decimal)
      27. -ah, -AH [x] set the base address to [x] (hexadecimal)
      28. -ao, -AO [x] set the base address to [x] (octal)
      29. -ob, -OB [x] set the cursor to [x] (binary)
      30. -od, -OD [x] set the cursor to [x] (decimal)
      31. -oh, -OH [x] set the cursor to [x] (hexadecimal)
      32. -oo, -OO [x] set the cursor to [x] (octal)
      33. -sa, -SA, -sab, -SAB [x] find the ascii string x in file (b=backwards)
      34. -sh, -SH, -shb, -SHB [x] find the hex string x in file (b=backwards)
      35. -r, -R [read searchlog] read the search positions from this searchlog
      36. -w, -W [write searchlog] write the location of the occurances to this log
      37. dhex [Parameters] [Filename1] [Filename2]: Diff mode
      38. -cd, -CD [x] correlate with the minimum difference
      39. -cb, -CB, -cl, -CL correlate with the best/longest match
      40. -a1b, -A1B [x] -a2b, -A2B [y] base addresses to [x] and [y] (binary)
      41. -a1d, -A1D [x] -a2d, -A2D [y] base addresses to [x] and [y] (decimal)
      42. -a1h, -A1H [x] -a2h, -A2H [y] base addresses to [x] and [y] (hexadecimal)
      43. -a1o, -A1O [x] -a2o, -A2O [y] base addresses to [x] and [y] (octal)
      44. -o1b, -O1B [x] -o2b, -O2B [y] set the cursors to [x] and [y] (binary)
      45. -o1d, -O1D [x] -o2d, -O2D [y] set the cursors to [x] and [y] (decimal)
      46. -o1h, -O1H [x] -o2h, -O2H [y] set the cursors to [x] and [y] (hexadecimal)
      47. -o1o, -O1O [x] -o2o, -O2O [y] set the cursors to [x] and [y] (octal)
      48. -s1a, -s1ab [x] -s2a, -s2ab [y] find the ascii strings [x] and [y]
      49. -s1h, -s1hb [x] -s2h, -s2hb [y] find the hex strings [x] and [y]
      50. -r1 [searchlog1] -r2 [searchlog2] read the search positions from searchlogs
      51. -w1 [searchlog1] -w2 [searchlog2] write the search positions to searchlogs
      Alles anzeigen
      Nach /usr/bin FTPen. chmod +x

      gruß pclin
      Dateien
      Dreambox ONE / TWO, DM920UHD, DM900UHD, DM820HD HDD + USB-HUB, Stick 64GB, USB-HDD, Wireless Touch Keyboard K400r, Wlan-Stick 11n
      ONE (Flash) DP-OE2.6 (@) eigenes OE2.6, Debian-Bullseye | TWO (Flash) DP-OE2.6 (BAXII) eigenes OE2.6, Debian-Buster, Diverse
      (Flash) DP-OE2.5 (BAXII) eigenes OE2.5-e2+kodi+X, debian-stretch, Diverse
      AudioDSP: miniDSP 2x4HD
      TV: LG OLED65BX9LB (PicCap)
      Hyperion und Plugin HyperionControl auf der Dreambox ONE | TWO
      ESP32 mit WLED Wlan 263 LED's SK6812-RGBW-NW 60 LED/m



      Ambilight for ever

      Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von pclin ()


    • tmux
      Terminal multiplexer

      Arbeitet man viel mit dem Terminal empfiehlt sich auch die Verwendung von tmux.
      tmux ermöglicht es, innerhalb eines Terminals oder einer Terminalemulation verschiedene virtuelle Konsolensitzungen zu erzeugen und zu verwalten.

      github.com/tmux/tmux
      wiki.ubuntuusers.de/tmux/

      Quellcode

      1. Start new named session:
      2. tmux new -s [session name]
      3. Detach from session:
      4. ctrl+b d
      5. List sessions:
      6. tmux ls
      7. Attach to named session:
      8. tmux a -t [name of session]
      9. Kill named session:
      10. tmux kill-session -t [name of session]
      11. Split panes horizontally:
      12. ctrl+b "
      13. Split panes vertically:
      14. ctrl+b %
      15. Kill current pane:
      16. ctrl+b x
      17. Move to another pane:
      18. ctrl+b [arrow key]
      19. Cycle through panes:
      20. ctrl+b o
      21. Cycle just between previous and current pane:
      22. ctrl+b ;
      23. Kill tmux server, along with all sessions:
      24. tmux kill-server
      25. view raw
      Alles anzeigen


      gruß pclin
      Dateien
      Dreambox ONE / TWO, DM920UHD, DM900UHD, DM820HD HDD + USB-HUB, Stick 64GB, USB-HDD, Wireless Touch Keyboard K400r, Wlan-Stick 11n
      ONE (Flash) DP-OE2.6 (@) eigenes OE2.6, Debian-Bullseye | TWO (Flash) DP-OE2.6 (BAXII) eigenes OE2.6, Debian-Buster, Diverse
      (Flash) DP-OE2.5 (BAXII) eigenes OE2.5-e2+kodi+X, debian-stretch, Diverse
      AudioDSP: miniDSP 2x4HD
      TV: LG OLED65BX9LB (PicCap)
      Hyperion und Plugin HyperionControl auf der Dreambox ONE | TWO
      ESP32 mit WLED Wlan 263 LED's SK6812-RGBW-NW 60 LED/m



      Ambilight for ever

      Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von pclin ()