http://www.perlmonks.org?node_id=1196057

Would it be possible on the screens that display items to be widened, so that things like this:

pi@raspberrypi:~/repos/rpi-wiringpi $ bbtester --fg --stdout -d 7 -a [2017-07-25 17:52:44.318][lvl 7][Tester] logging to STDOUT [2017-07-25 17:52:44.319][lvl 5][Tester.new] instantiating new Test::B +rewBuild::Tester object [2017-07-25 17:52:44.319][lvl 7][Tester.new] args: [2017-07-25 17:52:44.319][lvl 7][Tester.new] auto: 1 debug: 7 stdout: 1 [2017-07-25 17:52:44.321][lvl 6][Tester.listen] successfully created n +etwork socket on IP 0.0.0.0 and port 7800 [2017-07-25 17:52:44.322][lvl 7][Tester.listen] 0.0.0.0 now accepting +incoming connections [2017-07-25 17:52:44.322][lvl 7][Tester.listen] work dir is: /home/pi/ +brewbuild [2017-07-25 17:52:44.322][lvl 7][Tester.listen] chdir to work dir: /ho +me/pi/brewbuild [2017-07-25 17:52:44.323][lvl 7][Tester.listen] TESTER: 0.0.0.0 PLATFO +RM: armv7l-linux [2017-07-25 17:52:44.323][lvl 7][Tester.listen] waiting for a connecti +on... [2017-07-25 17:54:10.016][lvl 7][Tester.listen] received ack: localhos +t [2017-07-25 17:54:10.016][lvl 7][Tester.listen] returned ack: localhos +t [2017-07-25 17:54:10.017][lvl 7][Tester.listen] received cmd: brewbuil +d -d 7 [2017-07-25 17:54:10.018][lvl 7][Tester.listen] sending 'ok' [2017-07-25 17:54:10.019][lvl 7][Tester.listen] received repo: https:/ +/github.com/stevieb9/rpi-wiringpi [2017-07-25 17:54:10.020][lvl 5][Git.new] instantiating new object [2017-07-25 17:54:10.020][lvl 6][Git.git] git command set to 'git' [2017-07-25 17:54:10.021][lvl 7][Tester.listen] using Git: git [2017-07-25 17:54:10.021][lvl 7][Tester.listen] before all checks, rep +o set to https://github.com/stevieb9/rpi-wiringpi [2017-07-25 17:54:10.021][lvl 6][Git.name] converting repository link +to repo name [2017-07-25 17:54:10.022][lvl 6][Git.name] repo link converted to rpi- +wiringpi [2017-07-25 17:54:10.022][lvl 7][Tester.listen] chdir to: /home/pi/bre +wbuild/rpi-wiringpi [2017-07-25 17:54:10.022][lvl 7][Tester.listen] repo rpi-wiringpi exis +ts [2017-07-25 17:54:10.022][lvl 6][Tester.listen] in auto mode [2017-07-25 17:54:10.032][lvl 6][Git.link] found https://github.com/st +evieb9/rpi-wiringpi for the repo [2017-07-25 17:54:10.032][lvl 7][Git.status] checking git status [2017-07-25 17:54:10.053][lvl 6][Git.link] found https://github.com/st +evieb9/rpi-wiringpi for the repo [2017-07-25 17:54:10.053][lvl 6][Git.revision.revision] initiating git + revision [2017-07-25 17:54:10.054][lvl 6][Git.revision] local: 'rev-parse HEAD' + sent [2017-07-25 17:54:10.063][lvl 5][Git.revision] commit checksum: 4df4fe +ea34b3b4816f31b3086863987e3a3c7278 [2017-07-25 17:54:10.073][lvl 6][Git.link] found https://github.com/st +evieb9/rpi-wiringpi for the repo [2017-07-25 17:54:10.073][lvl 6][Git.revision.revision] initiating git + revision [2017-07-25 17:54:10.074][lvl 6][Git.revision] remote: 'ls-remote http +s://github.com/stevieb9/rpi-wiringpi' sent [2017-07-25 17:54:10.884][lvl 5][Git.revision] commit checksum: 459719 +530fd54a1c864346913fd44472c3dd0d2e [2017-07-25 17:54:10.885][lvl 7][Tester.listen] Git check: status: 1 local: 4df4feea34b3b4816f31b3086863987e3a3c7278 remote: 459719530fd54a1c864346913fd44472c3dd0d2e [2017-07-25 17:54:10.885][lvl 6][Tester.listen] in auto mode, checking + commit checksum reqs [2017-07-25 17:54:10.886][lvl 7][Tester.listen] pulling rpi-wiringpi [2017-07-25 17:54:10.887][lvl 6][Git.clone] initiating git pull remote: Counting objects: 7, done. remote: Compressing objects: 100% (3/3), done. remote: Total 7 (delta 4), reused 7 (delta 4), pack-reused 0 Unpacking objects: 100% (7/7), done. From https://github.com/stevieb9/rpi-wiringpi 4df4fee..4597195 master -> origin/master [2017-07-25 17:54:12.191][lvl 7][Tester.listen] Updating 4df4fee..4597 +195 Fast-forward MANIFEST | 1 + MANIFEST.SKIP | 36 ++++++++++++++++++------------------ 2 files changed, 19 insertions(+), 18 deletions(-) [2017-07-25 17:54:12.196][lvl 5][Tester.listen] COMMENCING TEST RUN; a +rgs: debug => 7 [2017-07-25 17:54:12.199][lvl 7][BrewBuild] in _create_log() [2017-07-25 17:54:12.200][lvl 6][BrewBuild] in new(), constructing Tes +t::BrewBuild object [2017-07-25 17:54:12.201][lvl 7][BrewBuild.BrewCommands.new] instantia +ting new object [2017-07-25 17:54:12.202][lvl 6][BrewBuild.BrewCommands.brew] *brew cm +d is: perlbrew [2017-07-25 17:54:12.203][lvl 5][BrewBuild._set_plugin] [2017-07-25 17:54:12.207][lvl 4][BrewBuild._set_plugin] successfully l +oaded Test::BrewBuild::Plugin::DefaultExec plugin [2017-07-25 17:54:12.210][lvl 7][BrewBuild] using temp bblog dir: /tmp +/8Wu5bKwNNh [2017-07-25 17:54:12.211][lvl 7][Tester.listen] executing test() [2017-07-25 17:54:12.212][lvl 6][BrewBuild.test] warnings trapped loca +lly [2017-07-25 17:54:12.213][lvl 6][BrewBuild] Test::BrewBuild class/obj +accessing the log object [2017-07-25 17:54:12.214][lvl 6][BrewBuild.Test::BrewBuild::Plugin::De +faultExec::brewbuild_exec] performing plugin duties [2017-07-25 17:54:12.215][lvl 6][BrewBuild.exec] instructions to be ex +ecuted: cpan App::cpanminus cpanm --installdeps . cpanm -v --test-only . [2017-07-25 17:54:12.217][lvl 6][BrewBuild.exec] created temp file for + storing output: /tmp/1svWncOk3f [2017-07-25 17:55:04.247][lvl 7][BrewBuild.test] ***** perl-5.24.1 ========== Loading internal null logger. Install Log::Log4perl for logging messag +es CPAN: Storable loaded ok (v2.56_01) Reading '/home/pi/.cpan/Metadata' Database was generated on Tue, 25 Jul 2017 19:29:02 GMT CPAN: Module::CoreList loaded ok (v5.20170114_24) App::cpanminus is up to date (1.7043). --> Working on . Configuring /home/pi/brewbuild/rpi-wiringpi ... OK <== Installed dependencies for .. Finishing. --> Working on . Configuring /home/pi/brewbuild/rpi-wiringpi ... Generating a Unix-styl +e Makefile Writing Makefile for RPi::WiringPi Writing MYMETA.yml and MYMETA.json OK Building and testing RPi-WiringPi-2.3621 ... Skip blib/lib/RPi/FAQ-Tut +orial.pod (unchanged) Skip blib/lib/RPi/WiringPi/Core.pm (unchanged) Skip blib/lib/RPi/WiringPi.pm (unchanged) cp bin/pinmap blib/script/pinmap "/home/pi/perl5/perlbrew/perls/perl-5.24.1/bin/perl" -MExtUtils::MY -e + 'MY->fixin(shift)' -- blib/script/pinmap Manifying 3 pod documents PERL_DL_NONLAZY=1 "/home/pi/perl5/perlbrew/perls/perl-5.24.1/bin/perl" + "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harne +ss::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ....................... ok t/05-pin.t ........................ ok t/10-register.t ................... ok t/15-pwm_spi_adc.t ................ ok t/20-cleanup.t .................... ok t/25-sig_die.t .................... ok t/35-pin_map.t .................... ok t/40-interrupt_rising_and_pud.t ... ok t/41-interrupt_falling_and_pud.t .. ok t/42-interrupt_both_and_pud.t ..... ok t/45-shift_reg_adc.t .............. ok t/55-dac.t ........................ ok t/60-lcd.t ........................ ok t/65-i2c.t ........................ ok t/70-alt_modes.t .................. ok t/75-serial.t ..................... ok t/80-mode_state_all_pins.t ........ ok t/85-pwm_hw_mods.t ................ ok t/90-servo.t ...................... ok t/manifest.t ...................... ok t/pod-coverage.t .................. ok All tests successful. Files=21, Tests=2411, 34 wallclock secs ( 1.84 usr 0.10 sys + 12.40 c +usr 1.30 csys = 15.64 CPU) Result: PASS OK Successfully tested RPi-WiringPi-2.3621 ***** [2017-07-25 17:55:04.250][lvl 5][BrewBuild.test] got 1 results [2017-07-25 17:55:04.250][lvl 6][BrewBuild.test] 5.24.1 PASSED... [2017-07-25 17:55:04.253][lvl 5][BrewBuild.test] Test::BrewBuild run f +inished [2017-07-25 17:55:04.253][lvl 7][Tester.listen] chdir to: /home/pi/bre +wbuild/rpi-wiringpi/bblog [2017-07-25 17:55:04.254][lvl 7][Tester.listen] no log files generated +, nothing to process [2017-07-25 17:55:04.254][lvl 7][Tester.listen] chdir to: /home/pi/bre +wbuild/rpi-wiringpi [2017-07-25 17:55:04.255][lvl 7][Tester.listen] removing log dir: /hom +e/pi/brewbuild/rpi-wiringpi/bblog [2017-07-25 17:55:04.256][lvl 5][Tester.listen] storing and sending re +sults back to dispatcher [2017-07-25 17:55:04.258][lvl 7][Tester.listen] work dir is: /home/pi/ +brewbuild [2017-07-25 17:55:04.259][lvl 7][Tester.listen] chdir to work dir: /ho +me/pi/brewbuild [2017-07-25 17:55:04.260][lvl 7][Tester.listen] TESTER: 0.0.0.0 PLATFO +RM: armv7l-linux [2017-07-25 17:55:04.261][lvl 7][Tester.listen] waiting for a connecti +on...

...expand without wrapping?

Replies are listed 'Best First'.
Re: Expand the width of code tags?
by beech (Parson) on Jul 26, 2017 at 00:53 UTC

      beech, that's pretty damned awesome, I had no idea :)

      To be honest, the whole post came out way too early by accident... I just did too many things I don't normally (like filling in title), and bounced on the Submit button. d'oh!

      Turning Code Wrapping Off in the Display Settings that beech mentions here was very helpful :) There appears to be a few things I've never taken the time to look at or perhaps had forgotten about.

      It's a clean-up week. Here's to mistake-making leading to the showing of an awesome Perlmonks feature, amongst other things (like learning about a simple regex problem in a manifest).

      -stevieb

      ab->bc
Re: Expand the width of code tags?
by LanX (Saint) on Jul 26, 2017 at 01:32 UTC
    Not sure what your intention is.

    Display Settings has even more possibilities to change the wrapping.

    But I hope you are aware of the download link under each code section.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

Re: Expand the width of code tags?
by RonW (Parson) on Jul 27, 2017 at 20:48 UTC