Bug 233133 - shells/bash: .history ??? button up issues .bash_history
Summary: shells/bash: .history ??? button up issues .bash_history
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-11 11:08 UTC by Aleks
Modified: 2019-01-07 07:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleks 2018-11-11 11:08:54 UTC
BASH

button up issues

echo $worksp cd "`printf '%b' '\0057root'`"ace


#+1530174595
cd "`printf '%b' '\0057usr\0057local\0057etc'`"
#+1530174806
exit
#+1530186887
set echo_style=both ; set prompt='%n@%m:%~%# ' ; alias precmd 'echo $cwd:q >>/tmp/mc-root/mc.pipe.82196; kill -STOP $$'
#+1530186887
cd "`printf '%b' '\0057usr\0057home\0057siuchin'`"
#+1530186889
cd "`printf '%b' '\0057usr\0057home'`"
#+1530186890
cd "`printf '%b' '\0057usr'`"
#+1530186894
cd "`printf '%b' '\0057'`"
#+1530186897
cd "`printf '%b' '\0057home'`"
#+1530186901
cd "`printf '%b' '\0057'`"
#+1530186902
cd "`printf '%b' '\0057mnt'`"
#+1530186903
cd "`printf '%b' '\0057mnt\0057samba'`"
#+1530186904
cd "`printf '%b' '\0057mnt'`"
#+1530186905
cd "`printf '%b' '\0057mnt\0057sambaold'`"
#+1530186906
cd "`printf '%b' '\0057mnt'`"
#+1530186910
cd "`printf '%b' '\0057mnt\0057backu
p'`"


???????


.bash_history    
bash

./fail2ban
./fail2ban restart
./fail2ban restart cd "`printf '%b' '\0057usr\0057local\0057etc\0057rc\0056d'`"
./fail2ban restart.
'str' object has no attribute 'args' cd "`printf '%b' '\0057usr\0057local\0057etc\0057fail2ban'`"
./fail2ban restart.
./fail2ban start
./fail2ban stop
./fail2ban start

Do not know this for a long time.
Comment 1 Emanuel Haupt freebsd_committer freebsd_triage 2018-11-11 18:35:51 UTC
I don't understand. Could you please elaborate the issue?
Comment 2 Aleks 2018-11-12 19:32:07 UTC
I press the up arrow and see

echo $worksp cd "`printf '%b' '\0057root'`"ace
Comment 3 Emanuel Haupt freebsd_committer freebsd_triage 2018-11-13 06:32:40 UTC
At this point, with the information provided, I cannot reproduce the output you're describing.

Can you provide a use case on how this can be reproduced? What environment are you using?
Comment 4 Emanuel Haupt freebsd_committer freebsd_triage 2018-11-14 12:24:26 UTC
Cannot reproduce.
Comment 5 Aleks 2019-01-07 07:46:30 UTC
12.0-STABLE FreeBSD 

like not observing jail

/root/.history  


#+1545651659
cd "`printf '%b' '\0057boot\0057kernel'`"
#+1545651661
cd "`printf '%b' '\0057boot'`"
#+1545651664
cd "`printf '%b' '\0057boot\0057xxx'`"
#+1545651665
cd "`printf '%b' '\0057boot\0057xxx\0057kernel1'`"
#+1545651668
cd "`printf '%b' '\0057boot\0057xxx'`"
#+1545651669
cd "`printf '%b' '\0057boot\0057xxx\0057kernel1'`"
#+1545651675
cd "`printf '%b' '\0057boot'`"
#+1545651678
cd "`printf '%b' '\0057boot\0057kernel'`"
#+1545651680
cd "`printf '%b' '\0057boot\0057xxx\0057kernel1'`"
#+1545651685
cd "`printf '%b' '\0057boot\0057kernel'`"
#+1545651686
cd "`printf '%b' '\0057boot\0057xxx\0057kernel1'`"
#+1545651687
cd "`printf '%b' '\0057boot\0057kernel'`"
#+1545651688
cd "`printf '%b' '\0057boot\0057kernel'`"
#+1545651688
cd "`printf '%b' '\0057boot\0057xxx\0057kernel1'`"
#+1545651689
cd "`printf '%b' '\0057boot\0057xxx\0057kernel1'`"
#+1545651691
cd "`printf '%b' '\0057boot\0057xxx'`"
#+1545651692
cd "`printf '%b' '\0057boot\0057xxx\0057kernel'`"
#+1545651695
cd "`printf '%b' '\0057boot\0057kernel'`"
#+1545651696
cd "`printf '%b' '\0057boot'`"
#+1545651698
cd "`printf '%b' '\0057boot'`"
#+1545651698
cd "`printf '%b' '\0057boot\0057kernel'`"
#+1545651699
cd "`printf '%b' '\0057boot\0057kernel\0056old'`"
#+1545651700