由买买提看人间百态

topics

全部话题 - 话题: cygwin
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
c******l
发帖数: 36
1
来自主题: Software版 - cygwin 在dos command console里不工作
use putty patch for cygwin.. DOS console is trash..
r*****e
发帖数: 185
2
【 以下文字转载自 Software 讨论区 】
【 原文由 rapture 所发表 】
when I use Cygwin (dos mode) to run a program, I can only see the last
screen of the result that's been pinted on the screen.
Is there any way to set the dos window as that kind of window
which you can scroll back and see what's shown before this screen?
Dont tell me to print the result into a file. There gotta be
a way round.
Thanks aloooot
a**a
发帖数: 203
3
【 以下文字转载自 Programming 讨论区 】
【 原文由 ahwa 所发表 】
问题找到了, 是pclose()在Cygwin底下不能同时打开两个pipe.
下面有两个程序,test_prog.c运行时就死在那里了. test_prog2.c运行
就无错. 请问有什么办法可以解决吗,在不改原程序包的情况下. Thank
you for any comments or suggestions.
m***m
发帖数: 67
4
来自主题: Unix版 - cygwin
Anyone play with this before? want give some opinion?
Just found out this something interesting to play with.
if you want to run your windows and program in unix enviroment a bit, without
worry too much about sysadmin this looks so conveient. no vmware, no dualboot.
website": cygwin.com
X****r
发帖数: 3557
5
来自主题: Unix版 - cygwin
It is very interesting and convenient to use. However, since it finally has to
translate system calls into Windows APIs, it is sometimes very slow, e.g. when
run shell scripts.
I used cygwin mostly as an X server, since it comes with a ported version
of XFree86. See, I have DSL installed in my home, so I'd use really *nix
in my office remotely :)
m***m
发帖数: 67
6
来自主题: Unix版 - cygwin
I need setup a lab for teaching, the user is not me, they are undergraduate
student, and i have to configure everything as automatic as possible.
just run into problem with CYGWIN, the cxterm doesn't compile there.
It's good to know it even can setup system daemon like sshd. let me try try.
c*****e
发帖数: 32
7
来自主题: Unix版 - cygwin

I have used the XFree86 server came with Cygwin, it's a little bit slow.
the following link listed several Xservers for Windows, you may want to
check them out.
http://fourier.haystack.edu/XServers.html
n******t
发帖数: 4406
8
来自主题: Unix版 - cygwin
I do not know why these guys are focused on those
crappy GUI stuff rather than give a better support
on those basic posix api. All the signal related
API are problematic, even fork have very different
behaviour from UNIX platforms.
As for XFree, it is no match for windows
even in its native platform, how can one expect it
to outperform windows on CYgWin?
c**********g
发帖数: 222
9
来自主题: Unix版 - cygwin 问题一问
我在windows xp上装了个cygwin,就是window下运行的unix.
但是我运行的时候系统总是说I have no name。
请问熟悉unix的大侠,怎么克服这个问题,例如设定自己的home directory?
多谢!
q*******t
发帖数: 29
10
来自主题: Unix版 - cygwin 问题一问
Do you have an account for XP?
I use win2k, the username is the same under cygwin as that for win2k.
q*******t
发帖数: 29
11
来自主题: Unix版 - cygwin 问题一问
No idea about XP.. maybe you need to check cygwin doc's.
p*u
发帖数: 2454
12
来自主题: Unix版 - Cygwin一问
安装后发现Cygwin的Xwin象Xnest一样,新图形出口要先出框架,按下左鼠标键后才显示
窗口,我不是很喜欢这种windows
manager,我又没有装KDE。请问可不可以设置成象unix下一样的形式。谢谢大家。
c*****e
发帖数: 32
13
来自主题: Unix版 - Cygwin一问
如果你的 Cygwin package 下载全了的话。除了你当前用的 twm,还有至少四种 Windows
Manager.
1. WindowMaker(wmaker)
2. openbox
3. fvwm2
4. mwm <-我不喜欢,所以不介绍了
你把 /etc/X11/xinit/xinitrc 拷贝到 $HOME/.xinitrc ;然后修改这个文件的最后几行
以得到你想要的Windows Manager. 我的最后几行是这样的:
...
# start some nice programs
openbox & <--- 关键是这行要改成你想要的 windows manager.
xclock -geometry 50x50-1+1 &
xterm -geometry 80x66+0+0 -name login
WindowMaker 和 Openbox 都是启动后再配置容易一些。
fvwm2 要先建一个 $HOME/.fvwm2rc 如果你不会写可以用
/usr/X11R6/share/fvwm2/system.fvwm2rc
s*****g
发帖数: 2
14
来自主题: Unix版 - cygwin performance problem
I now use Exceed as Xserver, and run cygwin, but it takes
1 second to run almost any program. "vi", "emacs" all takes
1 second.
s***t
发帖数: 115
15
来自主题: Unix版 - cygwin performance problem
what do you expect Cygwin/XFree86 in Windows?
I just use it as a sub to Xwin32, which bothers me by 2 hour limit.
s*****e
发帖数: 21415
16
来自主题: Unix版 - cygwin performance problem
what do you mean?
why don't you just use cygwin xfree 86 instead?
but anyway.. i don't use these..
w*y
发帖数: 74
17
the same as type "telnet" only.
If there is no "telnet" command supported by cygwin, there should be "command
not found" instead of another line of shell prompt coming out. So, it is
really weird.

what's
s**n
发帖数: 449
18
did u install the pkg "inetutils"?
my guess is u didn't, then cygwin tried to use the windows version
of "telnet".
w*y
发帖数: 74
19
来自主题: Unix版 - can't open display in cygwin
Thanks suan for solve my last problem.
Now,I can telnet to UNIX server with cygwin. But I got another problem.
Here is my operation:
1.ipconfig
(get my ip address)
2.telnet UNIXServerName
3.bash
4.export DISPLAY=myIP:0.0
5.echo $DISPLAY
(echo myIP:0.0,it is right)
6.a.out (it is an file under my UNIX current directory and need to open x
window. It runs great on UNIX workstation,but I want to do the project at
home)
the response is:
GLUT:Fatat error in a.out:can not open display:myIP:0.0
Did I do
w*y
发帖数: 74
20
来自主题: Unix版 - can't open display in cygwin
I typed ssh -l userName -x UNIXServerName
after login, I tried the a.out file and got the same result. Jesus!
I noticed that,when I login,there was a line of words at the end of
anouncement:
type cygwin unkown
what's that mean? Is that all right?
w*y
发帖数: 74
21
来自主题: Unix版 - Niu!Re: can't open display in cygwin
You are really Da Niu! Problem solved!
Now,I can get the same image using cygwin on my PC as what I got on UNIX
workstation at school. So happy!
The only problem now is that I can't go through the image, that I am supposed
to be able to do if I put cursor inside the image window and press '+" or '-'
to forward or backward the image.In another word, the image can't be scrolled.
That might be due to the performance of my PC. Anyway,I am satisfied with the
progress. Really happy, thanks again!
x******g
发帖数: 3952
22
来自主题: Unix版 - cygwin 问题请教
I had similar problem using startx.
Instead of figuring that out, now I run
C:\cygwin\usr\X11R6\bin\startxwin.bat
to start X directly from Windows and it works fine.
c*******s
发帖数: 19
23
i installed cygwin/xfree 86,
when I start xfree 86, i get into "fvwm" ,
however, one small problem occurs,
1. when I open xterm, it could not recognize "cd ~/" and it is not appearing
my $usr@host$ kind of default appearance
2. 方向建向上,并不recall the last command, instead the scroller just
literally "go up".
here is my .xinitric file,
xhost + localhost
cd
xterm -display $DISPLAY -name "xterm-1" -sb -sl 1000 -geometry +0+0 &
xterm -display $DISPLAY -name "xterm-2" -sb -sl 1000 -geometry +270+190 &
f
e******g
发帖数: 14
24
来自主题: Unix版 - how to change a cygwin account
anybody know that?
my situation is at first I use account name "Jack", later I change my account
name "jack", but the home directory in cygwin doesn't change at all,
/home/Jack . I need to be /home/jack ! anybody has idea about that.
I guess there should be some command related to "mkpasswd" , but I don't know
know to use that command.
m****t
发帖数: 2684
25
来自主题: Unix版 - cygwin 下自动断线的问题
我用cygwin连上我们的linux server, 但是每当发呆超过半个小时就自动断线,
我想应该不是server的问题,因为我的另一台mac机没这毛病.请问应该设置哪个
文件才会克服上述问题.谢谢.
j******e
发帖数: 232
26
我以前的xterm on cygwin没有这种问题
我现在换了最新的xorg X11
xterm中键不能paste了
其他软件每没有问题(我试了emacs而已)
any ideas?
How do I debug it?
Thanks1
j******e
发帖数: 232
27
【 以下文字转载自 Linux 讨论区 】
【 原文由 javalife 所发表 】
就是一行满了转成新行的最右边的换行箭头
以前我用stand-alone xemacs for windows那个箭头没问题。
现在我用cygwin的xemacs,那个箭头变成A字上面带个~。
很ugly,谁知道怎么设成箭头?
thanks!
g**r
发帖数: 48
28
过去有人告诉过我,忘了
在家上网,用cygwin xterm调用学校计算中心的软件,用什么命令可以成功打开呢?
t******q
发帖数: 117
29
redirct xterm from server to your local host.
xterm --display ip:0.0?
man xterm to get the detail.
once you get the xterm running, you can run other gui tools.
as ms said, you need install x server in cygwin.
h****r
发帖数: 2056
30
what are you trying to do?
You can lunch the cygwin terminal, it likes all other unix terminal,
then you can run grep on it.
m*f
发帖数: 8162
31
来自主题: Unix版 - cygwin on windows vista
不想回到winxp,但是又要cygwin工作,有什么比较好的办法吗?谢谢谢谢
s*j
发帖数: 7
32
来自主题: Unix版 - SIGSEGV,Segmentation fault in Cygwin
在xp下装了一个Cygwin,用gdb debug一个小例子程序,设了断点后,就出现了上面的错
误。。Program received signal SIGSEGV, Segmentation fault. 这个程序拿到其他装
Cynwin的机子上debug,没有什么问题。
google了一下这个问题,看到说 You need to simplefy your PATH. The main probl
em you're having is that you're
mixing UNIX TOOL PACKAGES. 建议add `export
PATH=/bin:/usr/bin:/usr/local/bin:/what/ever/other/paths:." to your ~/.bashr
c file。加了以后,好像还是不行。
请指点一下。谢谢。
r****e
发帖数: 3
33
来自主题: Windows版 - Re: Cygwin 安装问题,帮我呀!
运行regedit, 把cygwin的key值删掉重装试试
HKEY_CURRENT_USER/SOFTWARE/Cygnus Solutions

HKEY_LOCAL_MACHINE/SOFTWARE/Cygnus Solutions



n********e
发帖数: 92
34
来自主题: Windows版 - Help on CYGWIN and PCX server
Can I run PCXserver (such as Hummingbird Exceed) using CYGWIN as a client?
on my PC (with XP)
Thanx!
m*f
发帖数: 8162
35
来自主题: Windows版 - cygwin for vista
不想回到winxp,但是又要cygwin工作,有什么比较好的办法吗?谢谢谢谢
m**c
发帖数: 90
36
来自主题: Windows版 - cygwin for vista

How about using VMWare? I don't know if it works with Vista, but if it does
, it is a much better way to run Unix/Linux. I used to have cygwin, but it
is such a pain to update packages (most of them are out-of-date anyway), and
it doesn't work the way it is supposed to. I am running a Ubuntu server
inside Windows XP Pro, and I can access the Windows HD from Ubuntu via
standard Windows share.
g**i
发帖数: 167
37
来自主题: Windows版 - cygwin下的默认路径 (转载)
谢谢!
不过,这样做后还是不行,不论我是重新启动cygwin还是重起机子。
怎么回事儿?
e***s
发帖数: 1
38
我在 Windows 2K + cygwin 1.3.10 下配置 GSL 1.2 ,编译与安装都没有问题,可是
当我试图使用一个示例程序时,出现链接错误,向大家请教——
s**b
发帖数: 169
39
来自主题: Computation版 - 是不是cygwin问题?
cygwin下,运行a.out,显示segmentation fault, (core dumped),
possibly due to stack overflow(underflow?).
最大的数组 double 20000*16。其他的可以忽略不计。
winxp, 1.5G
s**b
发帖数: 169
40
来自主题: Computation版 - 是不是cygwin问题?
那是不是cygwin对这个支持不太好?
f*******a
发帖数: 80
41
来自主题: Computation版 - 是不是cygwin问题?
how do you allocate memory for the data? It is not a limitation of CYGWIN.
If you are using malloc in C, notice there is a default stack size for each
program. You cannot claim for a size greater than the default size by
specifying a flag in gcc, which allows you to specify the stack size. Check
gcc manual.
However, I recommand to use the data structure "vector" in C++ and use g++.
vector gives the freedom for dynamic memory allocation.
s**b
发帖数: 169
42
来自主题: Computation版 - 是不是cygwin问题?
i use similar parameters and have the mentioned error.
I can only change stacksize in a range, ohterwise it will give
some kind of warning by cygwin.
not sure the detail.
s**b
发帖数: 169
43
来自主题: Computation版 - 是不是cygwin问题?
you mean in the code?
anyway, it can run under linux but not cygwin,
so i want to know if there is anyway to correct this problem.
h*******c
发帖数: 248
44
这个问题不知道有人碰到过没有?其实我就是有个unix下的script把sas数据按文本打
印到标准输出,我好在后面拿我的其它script接着。在cygwin+windows SAS怎么实现这
个呢?
x******a
发帖数: 6336
45
来自主题: Programming版 - C++ problem
I got thousands problems on the following piece of code "dumpfile.h" when I
compile under cygwin. it is ok under visual stduio... can anyone help?
Thanks!
#include
#include
#include //ostream_iterator
#include //cerr
#include //std::copy
template
void dump_to_file(const char* filename, const std::vector& v_d){
std::ofstream ofs(filename);
if(!ofs){
std::cerr<<"Unable to open the file to write!n";
return ;... 阅读全帖
R*******c
发帖数: 249
46
搞了三四天了,还是没成功,实在是崩溃了。。。只能上来请大牛们帮忙看看问题出在哪?
从网上下载了一个R的package(一个zip文件),这个包是在mac上build的,在mac里运行没有
问题,我现在想在windows下用这个包,直接通过R里面的install package from local
zip file会有错误如下:
Error in gzfile(file, "r") : cannot open the connection
In addition: Warning messages:
1: In unzip(zipname, exdir = dest) : error 1 in extracting from zip
file
2: In gzfile(file, "r") :
cannot open compressed file 'curves2_1.0.1.tar.gz/DESCRIPTION',
probable reason 'No such file or directory'
所以决定先将zip文件解压缩成文件夹,然后在windows下把这个包buil... 阅读全帖
T*******x
发帖数: 8565
47
来自主题: Software版 - Telnet本机
本人有一个很顺手的用法,在Windows XP上一直都可以,
现在到了Windows Vista上不行了:
我在Windows机器上装了cygwin,然后启动cygwin的inetd.exe,
然后我用putty telnet到本机,
这样我既使用比较好用的putty,又使用我比较喜欢的unix命令系统。
以前在Windows XP上一直可以,到Windows Vista上突然不行了。
我已经把inetd设为一个service,启动了,但就是没法telnet。
总是说connection refused。这是什么原因啊?
说实话,我一直不明白telnet到一台机器之后,
是如何使用那台机器上的操作系统的。
比如我这台机器装了cygwin,telnet之后就是使用cygwin的unix命令。
为什么不是使用Windows的dos命令?是怎么衔接上的?
如果我不装cygwin,直接装一个telnet daemon,
然后在telnet上来,会发生什么情况?
s********i
发帖数: 17328
48
要真正的跑linux VM,方法多的是,Hyper-V, Azure, Docker等等,还不要说VMware这
些第三方软件。
微软说的很清楚,WSL定位是给developer用的,确切的说是给非windows developer用
的(即Visual Studio之外的,WSL最基本支持的东西,NodeJS/NPM, Perl, Python,
git),opensouce开发已经强大到微软不能不想对策了。一般开源的东西都是linux上
的,无论工具还是应用,这些开发者,要么选MAC,要么选linux,要么用cygwin对付,
这些方案其实都不尽如人意。MAC/Cygwin上的应用都要重新编译,没人编译就没的用
,linux上其他应用太差,比如写个PPT咋办?
WSL的想法很好的解决了这个用户群体,一个WIN10+WSL就可以了,强大的Windows GUI
应用和Linux的开发工具和应用,你不需要去装linux虚拟机,不需要担心你要的东西
MAC/Cygwin上没有。现阶段,微软应该针对这些用户把它做好,而不是去搞啥完全兼
容Linux的功能,尤其是server部分,那不是重点... 阅读全帖
s********i
发帖数: 17328
49
要真正的跑linux VM,方法多的是,Hyper-V, Azure, Docker等等,还不要说VMware这
些第三方软件。
微软说的很清楚,WSL定位是给developer用的,确切的说是给非windows developer用
的(即Visual Studio之外的,WSL最基本支持的东西,NodeJS/NPM, Perl, Python,
git),opensouce开发已经强大到微软不能不想对策了。一般开源的东西都是linux上
的,无论工具还是应用,这些开发者,要么选MAC,要么选linux,要么用cygwin对付,
这些方案其实都不尽如人意。MAC/Cygwin上的应用都要重新编译,没人编译就没的用
,linux上其他应用太差,比如写个PPT咋办?
WSL的想法很好的解决了这个用户群体,一个WIN10+WSL就可以了,强大的Windows GUI
应用和Linux的开发工具和应用,你不需要去装linux虚拟机,不需要担心你要的东西
MAC/Cygwin上没有。现阶段,微软应该针对这些用户把它做好,而不是去搞啥完全兼
容Linux的功能,尤其是server部分,那不是重点... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)