Comments (8)
@xyongsec Google translates that as "Double-click Clink.bat to flash out".
That doesn't give me enough information to understand what happened. I don't know what "flash out" means.
Please share much more information. The more details, the better. Screenshots can be especially useful to help clarify when automated translation is unclear.
from clink.
Video_20230602091800_Trim.mp4
from clink.
@xyongsec Thank you for the video, that helped very much!
I've never seen that happen before, and I don't know yet what could cause it.
Here are some questions to help figure it out:
- Is this the first time you have used Clink? Has this worked in the past, and stopped working? Or has it never worked?
- Try checking whether your system protection software might have blocked Clink.
- Does the path to Clink have any non-English text? (Maybe there is a problem in clink.bat with international paths, however if that's the case then I would be surprised none of the other users with international paths have reported this before.)
- Try to find the
clink.log
file. If you can find it, please share it here -- the file may have information that can help troubleshoot the problem. The file is normally located atC:\Users\<your_user_name>\AppData\Local\clink\clink.log
. Or you can email it to the address in my github profile. - What happens if you uninstall Clink, and then reinstall but uncheck the box for "Autorun when cmd.exe starts"?
from clink.
3c6c start_logger 160 ---- 2023/06/02 10:11:52.922 -------------------------------------------------
3c6c start_logger 166 Host process is 'cmd.exe' (pid 15468)
3c6c start_logger 170 DLL path is 'C:\Program Files (x86)\clink'
3c6c start_logger 185 Windows version 10.0.19045 (x64)
3c6c start_logger 187 Clink version 1.4.25.e0d48c (x64)
3c6c hook_setter::hook_setter 159 >>> Started hook transaction.
3c6c hook_setter::attach_iat 316 Attempting to hook SetEnvironmentVariableW in IAT for module 00007FF7C99D0000.
3c6c pe_info::iterate_imports 159 Found import in 'api-ms-win-core-processenvironment-l1-1-0.dll'
3c6c find_iat 124 Found import at 00007FF7C9A03860 (value is 00007FF803482FC0).
3c6c hook_setter::attach_iat 316 Attempting to hook WriteConsoleW in IAT for module 00007FF7C99D0000.
3c6c pe_info::iterate_imports 159 Found import in 'api-ms-win-core-console-l1-1-0.dll'
3c6c find_iat 124 Found import at 00007FF7C9A034F8 (value is 000000006B457990).
3c6c hook_setter::attach_iat 316 Attempting to hook GetEnvironmentVariableW in IAT for module 00007FF7C99D0000.
3c6c pe_info::iterate_imports 159 Found import in 'api-ms-win-core-processenvironment-l1-1-0.dll'
3c6c find_iat 124 Found import at 00007FF7C9A03880 (value is 000000006B454120).
3c6c hook_setter::commit 207 <<< Hook transaction committed.
3c6c hook_setter::hook_setter 159 >>> Started hook transaction.
3c6c hook_setter::detach_iat 359 Attempting to unhook 00007FFFAD21B010 from GetEnvironmentVariableW in IAT for module 00007FF7C99D0000.
3c6c pe_info::iterate_imports 159 Found import in 'api-ms-win-core-processenvironment-l1-1-0.dll'
3c6c find_iat 124 Found import at 00007FF7C9A03880 (value is 00007FFFAD21B010).
3c6c hook_setter::commit 207 <<< Hook transaction committed.
3c6c hook_setter::hook_setter 159 >>> Started hook transaction.
3c6c hook_setter::attach_iat 316 Attempting to hook ReadConsoleW in IAT for module 00007FF7C99D0000.
3c6c pe_info::iterate_imports 159 Found import in 'api-ms-win-core-console-l1-1-0.dll'
3c6c find_iat 124 Found import at 00007FF7C9A034E0 (value is 000000006B453960).
3c6c hook_setter::commit 207 <<< Hook transaction committed.
3c6c hook_setter::hook_setter 159 >>> Started hook transaction.
3c6c hook_setter::attach_iat 316 Attempting to hook SetConsoleTitleW in IAT for module 00007FF7C99D0000.
3c6c pe_info::iterate_imports 159 Found import in 'api-ms-win-core-console-l2-2-0.dll'
3c6c find_iat 124 Found import at 00007FF7C9A03558 (value is 00007FF8034969E0).
3c6c hook_setter::commit 207 <<< Hook transaction committed.
3c6c win_screen_buffer::begin 279 Using native terminal support; found 'ANSI64.dll'.
3c6c init_cached_font 553 console font "新宋体", cell width 9, pitch and family 0x36
3c6c init_cached_font 554 East Asian Ambiguous mode 3
3c6c host_lua::load_scripts 158 Loaded 0 Lua scripts in 0 ms
3c6c ={update.lua} 0 Clink updater: too soon to check for updates (1685433729 vs 1685671912).
3c6c history_db::initialise 1264 master bank ctag: |CTAG_1684292149_67792828_17948_0
3c6c history_db::compact 1526 History: 218 active, 194 deleted
3c6c history_db::compact 1526 History: 218 active, 194 deleted
3c6c history_db::compact 1526 History: 218 active, 194 deleted
3c6c history_db::compact 1526 History: 218 active, 194 deleted
from clink.
from clink.
Unchecked and reinstalled with no change
from clink.
Interesting! I see that you have ANSICON loaded (ANSI64.dll
).
What version of ANSICON are you using?
The last official release v1.89 in 2019 has a crash that looks likely to be related. See adoxa/ansicon#130. In 2020 the author tracked down the crash, but there hasn't been a new official release since then. I wonder if the window may be disappearing because ANSICON crashes immediately. If you check in the system Event Viewer (eventvwr.exe
) you might be able to find if any crashes are logged for cmd.exe.
I would recommend to stop using ANSICON, since it is known to have stability issues and performance issues, and also for many years Windows has had significantly better built-in escape code support than what ANSICON provides.
from clink.
@xyongsec Since you're using Windows 10, the simplest fix is probably to stop using ANSICON -- it isn't needed on Windows 10, and it can cause various problems (including slow output), so it's probably better to stop using it.
Also, Clink v1.4.27 fixes a crash in Clink caused by some invalid data inside ANSI64.dll or ANSI32.dll while using the clink.bat
script to open a new Clink window, if ANSICON is configured to automatically install itself into cmd.exe.
Either of those might help to resolve the problem you're encountering.
from clink.
Related Issues (20)
- Have issue to login SunOS 5.11 HOT 3
- v1.5.15 display problem in webstorm terminal HOT 16
- v1.5.17 display problem in VS Code for wider resolutions HOT 7
- install without admin rights? HOT 4
- Creating own aliases HOT 5
- Sometimes startup failed "Initializing Clink is taking a long time......." HOT 14
- Wrong version indicated for updating. HOT 2
- Allow cycling through auto suggestions HOT 5
- Crash on "F7" HOT 3
- Feature Request: Implement Ctrl+A Shortcut HOT 5
- Question: How do I change Right arrow key to only complete one next command part like Shift+Right key? HOT 7
- Feature: Please add support for command line aliases HOT 6
- Put a bunch of files in Cmder's profile.d directory and got a CMD batch recursion error HOT 7
- how to remove the default headers? HOT 1
- Change auto completion key HOT 11
- q: win10 't' key is not printed when pressed HOT 4
- Installed but no usable inside Terminal HOT 10
- How do I disable suggestions? HOT 2
- Support disabling option "wrap text output on resize" HOT 12
- Extra newline before prompt when using quiet mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clink.