yongchaofan / flterm Goto Github PK
View Code? Open in Web Editor NEWfast light terminal emulator
Home Page: https://yongchaofan.github.io/FLTerm
License: GNU General Public License v3.0
fast light terminal emulator
Home Page: https://yongchaofan.github.io/FLTerm
License: GNU General Public License v3.0
The c++ runtime dlls should probably be included in the Microsoft Store release. This is legal, as answered on SO. Alternatively, it's possible to static link.
Trying...connected
Session failure, Press Enter to reconnect
Trying...connected
Session failure, Press Enter to reconnect
Trying...connected
Session failure, Press Enter to reconnect
FLTerm > Trying...
refused, Press Enter to reconnect
FLTerm > Trying...
Thanks for this terminal software, it is great because it just works and is super lightweight and slick. I use it mostly to connect via serial to microcontrollers. However, often i need to disconnect and reconnect (to free com port and then reconnect). A keyboard shortcut for disconnecting would be really appreciated.
Thx
FG
cc -std=c++11 -I/usr/local/include -I/usr/local/include/FL/images -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -c src/tiny2.cxx -o obj/tiny2.o
src/tiny2.cxx:782:8: error: use of undeclared identifier 'fl_chdir'
if ( fl_chdir(getenv(HOMEDIR))==0 ) {
^
src/tiny2.cxx:900:13: error: no member named 'window_menu_style' in 'Fl_Sys_Menu_Bar'
pMenuBar->window_menu_style(Fl_Sys_Menu_Bar::no_window_menu);
~~~~~~~~ ^
src/tiny2.cxx:900:48: error: no member named 'no_window_menu' in 'Fl_Sys_Menu_Bar'
pMenuBar->window_menu_style(Fl_Sys_Menu_Bar::no_window_menu);
~~~~~~~~~~~~~~~~~^
src/tiny2.cxx:903:13: error: no member named 'about' in 'Fl_Sys_Menu_Bar'
pMenuBar->about(about_cb, NULL);
~~~~~~~~ ^
src/tiny2.cxx:945:2: error: use of undeclared identifier 'fl_chdir'
fl_chdir(cwd); //in case cwd was changed in sftp_lcd
^
5 errors generated.
make: *** [obj/tiny2.o] Error 1
Trying to use FLTerm for connecting Mac to a Cisco serial port. Need to send break sequence to do password recovery. How can I do that?
Dear @yongchaofan,
I am on macOS 12, builds FLTK with iTerm2 + brew + Xcode console only.
Is there anyway to find your required libraries as
clang: error: no such file or directory: '/usr/local/lib/libssl.a'
clang: error: no such file or directory: '/usr/local/lib/libcrypto.a'
If developer using brew on macOS, there's libssh2 or libssh by installing brew install libssh2
.
Also libssl should ignored by libssh2.
Is there any different dependency with brew versions ?
I just tested modify your Makefile.macos as
Makefile for macOS with openssl crypto backend
HEADERS = src/host.h src/ssh2.h src/Fl_Term.h src/Fl_Browser_Input.h
OBJS = obj/tiny2.o obj/ssh2.o obj/host.o obj/Fl_Term.o obj/Fl_Browser_Input.o obj/cocoa_wrapper.o
#LIBS = /usr/local/lib/libssh2.a /usr/local/lib/libssl.a /usr/local/lib/libcrypto.a
#libmbedcrypto.a
LIBS += -lssh2
CFLAGS= -std=c++11 ${shell fltk-config --cxxflags}
LDFLAGS = ${shell fltk-config --ldstaticflags} -lstdc++ -lz
#-lssl -lcrypto
all: tinyTerm2
tinyTerm2: ${OBJS}
cc -o "$@" ${OBJS} ${LDFLAGS} ${LIBS}
obj/cocoa_wrapper.o: src/cocoa_wrapper.mm
${CC} ${CFLAGS} -c $< -o $@
obj/%.o: src/%.cxx ${HEADERS}
${CC} ${CFLAGS} -c $< -o $@
clean:
rm obj/*.o "tinyTerm2"
and it builds as well, and runs well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.