Comments (3)
你是用的remote-ssh连接的VMware虚拟机吗?我找时间尝试复现一下
插件本来只是为了运行点dos小游戏而写的,没想到还可以用来远程开发🤣
from masm-tasm.
您好,目前我是使用X11转发来解决您发现的两点问题的:
- dosbox运行在X Window下,而非纯命令行下
- 远程的X Window会被转发回本机,实现我在issue内第二张图片的效果
嗐,那个x11是怎么配置的鸭🦆
X11的配置比较简单,首先要在直接连接的过程中添加-x参数,或者在ssh_config配置文件内对保存的host添加一行ForwardX11 yes
,然后Windows本机启动一个X11服务器(比如VcXsrv或者我在用的X410),之后远程服务器的X Window就能直接在本机上显示了,实现我issue内图2的效果。
至于要在远程机器启动X Window原因,其实是我个人比较扭曲的需求。我目前在使用性能较差的Windows平板进行开发工作,所以希望尽可能将环境搬到远程服务器上。
您提到的手动设置TERM变量确实是一个方案,不过我测试要在启动命令内设置才有效,我目前进行如下设置后
{
"masmtasm.dosbox.command": "export TERM=\"xterm-256color\" TERM_PROGRAM=\"vscode\" SHELL=\"/usr/bin/fish\" DISPLAY=\"localhost:10.0\"&& dosbox"
}
已经可以正常启动dosbox了,考虑到这种需求的小众性,确实没有修复的必要性,如果您也认为不必修复的话可以close了,感谢您的帮助。
from masm-tasm.
我复现问题了,错误信息为Error opening terminal: unknown.
错误原因应该是没有指定终端。网上说只要指定一下环境变量TERM即可
但是我觉得这个bug似乎可能修复的意义不大:
- 因为dosbox是GUI软件,似乎无法在纯命令行下正常运行和退出
- 插件在远程的机器中运行,在远程打开dosbox,在本机也无法看到运行效果呀
嗐,那个x11是怎么配置的鸭🦆
from masm-tasm.
Related Issues (20)
- Multiple file assembly support
- MASM-TASM怎么更改颜色 HOT 7
- Any plan for supporting bare-metal x86 (or x64) development? HOT 2
- How to view the console output in the debug window? HOT 4
- integration with Turbo Debugger (TD) HOT 1
- bug report: Format Document function
- 关于几个bug HOT 2
- Irvine32.inc file not found HOT 1
- 格式化时文件被还原 HOT 4
- Cannot read properties of undefined (reading 'fsPath') HOT 2
- I HOT 2
- Error to execute a command HOT 3
- 代码被格式化为错误的结果 HOT 1
- 未能正确区分ASCII的大小写 HOT 2
- Variable in section .data is initialized to wrong value HOT 1
- 插件中右键无法打开dos环境同时无法运行/调试当前程序 HOT 2
- 能否通过设置来将编译完成的exe文件输出到源asm的目录?
- File not found error
- 关于工作目录的挂载问题
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 masm-tasm.