Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erroneous output of "module load bad2/body" with small term width #379

Closed
Anais-G opened this issue Jan 26, 2021 · 0 comments
Closed

Erroneous output of "module load bad2/body" with small term width #379

Anais-G opened this issue Jan 26, 2021 · 0 comments
Labels
Milestone

Comments

@Anais-G
Copy link
Contributor

Anais-G commented Jan 26, 2021

Describe the bug

I am currently developing the term_width configuration and with small value of terminal width, the output of "module load bad2/body" has an unusual format.

Example

Steps to reproduce the behavior:

$ module load bad2/body --width=4
Loading bad2/body
  Module ERROR: invalid command name "bad-command"
    
    
    
    
    while executing
    "bad-command"
    
    
    
    
    (file "/home/user/modules/testsuite/modulefiles/bad2/body" line 29)
    Please contact <root@localhost>

Modules version and configuration

$ module config 
Modules Release 4.6.1+termwidth-301-gebb03aac (2021-01-25)

- Config. name ---------.- Value (set by if default overridden) ---------------
advanced_version_spec     0
auto_handling             0
avail_indepth             1
avail_report_dir_sym      1
avail_report_mfile_sym    1
collection_pin_version    0
collection_target         <undef>
color                     never
colors                    hi=1:db=2:tr=2:se=2:er=91:wa=93:me=95:in=94:mp=1;94:di=94:al=96:sy=95:de=4:cm=92:aL=100:L=90;47:H=2:F=41:nF=43:S=46:sS=44
contact                   root@localhost
csh_limit                 4000
extended_default          0
extra_siteconfig          <undef>
home                      /usr/local/Modules (env-var)
icase                     never
ignored_dirs              CVS RCS SCCS .svn .git .SYNC .sos
implicit_default          1
implicit_requirement      1
locked_configs            
mcookie_version_check     1
ml                        1
nearly_forbidden_days     14
pager                     /usr/bin/less -eFKRX
rcfile                    <undef>
run_quarantine            <undef>
search_match              starts_with
set_shell_startup         1
shells_with_ksh_fpath     
silent_shell_debug        <undef>
siteconfig                /usr/local/Modules/etc/siteconfig.tcl
tag_abbrev                auto-loaded=aL:loaded=L:hidden=H:hidden-loaded=H:forbidden=F:nearly-forbidden=nF:sticky=S:super-sticky=sS
tag_color_name            
tcl_ext_lib               /usr/local/Modules/lib/libtclenvmodules.so
term_background           dark
term_width                0 (env-var)
unload_match_order        returnlast
verbosity                 normal
wa_277                    0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants