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

FuTTY does not work with Cygwin64 #42

Open
GoogleCodeExporter opened this issue Sep 14, 2015 · 6 comments
Open

FuTTY does not work with Cygwin64 #42

GoogleCodeExporter opened this issue Sep 14, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Install Cygwin64 from www.cygwin.com
2. Open FuTTY
3. Select Cygterm
4. Press "Open"

What is the expected output? What do you see instead?
FuTTY should give me the login shell, but instead the window briefly opens then 
closes.

What version of the product are you using? On what operating system?
git build: next, c3a279f, Jun 22 2012 08:55:30

Please provide any additional information below.


Original issue reported on code.google.com by c...@chaz6.com on 16 Aug 2013 at 4:14

@GoogleCodeExporter
Copy link
Author

FuTTY has been updated to work with cthelper64.exe, which I have yet to compile 
myself since I don't have Cygwin64.

Original comment by FireEgl on 31 Aug 2013 at 8:18

  • Changed state: Delayed
  • Added labels: OpSys-Windows

@GoogleCodeExporter
Copy link
Author

[deleted comment]

1 similar comment
@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I have gotten it compiled with a couple of minor tweaks which I will supply a 
patch for. For now the binaries are here: 
http://www.chaz6.com/files/futty64-9548f68a762c82962d8a6f402500bf043484fb71.zip

Original comment by c...@chaz6.com on 1 Sep 2013 at 11:35

@GoogleCodeExporter
Copy link
Author

diff --git a/putty.h b/putty.h
index 57c85ce..5897482 100644
--- a/putty.h
+++ b/putty.h
@@ -610,7 +610,7 @@ void free_ctx(Context);
 void palette_set(void *frontend, int, int, int, int);
 void palette_reset(void *frontend);
 void write_aclip(void *frontend, char *, int, int);
-void write_clip(Terminal *term, void *frontend, wchar_t *, int *, int, int);
+void write_clip(Terminal *, void *, wchar_t *, int *, int, int);
 void get_clip(void *frontend, wchar_t **, int *);
 void optimised_move(void *frontend, int, int, int);
 void set_raw_mouse_mode(void *frontend, int);
diff --git a/version.c b/version.c
index d10a912..3779fd6 100644
--- a/version.c
+++ b/version.c
@@ -70,4 +70,4 @@ char sshver[] = "PuTTY-Local: " __DATE__ " " __TIME__;
  * SSH local version string MUST be under 40 characters. Here's a
  * compile time assertion to verify this.
  */
-enum { vorpal_sword = 1 / (sizeof(sshver) <= 40) };
+//enum { vorpal_sword = 1 / (sizeof(sshver) <= 40) };
diff --git a/windows/cthelper/Makefile b/windows/cthelper/Makefile
index c83ed8c..1871cbf 100644
--- a/windows/cthelper/Makefile
+++ b/windows/cthelper/Makefile
@@ -29,9 +29,9 @@ SRC = cthelper.c buffer.c buffer.h dump.c debug.h
 OBJ = cthelper.o buffer.o message.o $(APUE_OBJ) $(DBUG_OBJ)

 default: all
-all: cthelper.exe
+all: cthelper64.exe

-cthelper.exe: $(OBJ)
+cthelper64.exe: $(OBJ)
        $(q) $(LINK) $(LDFLAGS) -o $@ $(OBJ) $(LDLIBS)
 cthelper.o: cthelper.c cthelper.h ptyfork.h buffer.h debug.h
 buffer.o: buffer.c buffer.h debug.h

Original comment by c...@chaz6.com on 1 Sep 2013 at 11:44

@GoogleCodeExporter
Copy link
Author

make VER="-DSNAPSHOT=$(date '+%Y-%m-%d') 
-DSVN_REV=9548f68a762c82962d8a6f402500bf043484fb71 -DMODIFIED" 
TOOLPATH=x86_64-w64-mingw32- -f Makefile.cyg all

Original comment by c...@chaz6.com on 1 Sep 2013 at 11:44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant