Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 May, 2013, 10:04:42 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1] 2 3 4   Go Down
  Print  
Author Topic: FXTerm - VT100 terminal emulator for Casio fx cg -  (Read 4233 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 13 May, 2013, 22:06:15
Date Registered: 04 January, 2011, 18:41:18
Posts: 159


Topic starter
Total Post Ratings: +28

View Profile WWW
« on: 24 June, 2011, 09:39:22 »
+4

Hello,
I would like to show you my first program for Casio fx cg. It is VT100-like terminal emulator, it has to be connected to the linux (or unix, bsd,...) machine supporting serial console. It is in very early stage, not all is functioning.

What works (somehow:-) ):
- shell prompt
- Midnight commander (mc -a -c), see image
- special attributes (try man ls), see image

What doesn't work:
- editors (I tried joe and internal editor from mc), there are some escape sequences to be implemented
- many other things, you will find them :-)

After you connect (and login), please tell the server the terminal resolution (terminal is 64x27, default settings (80x24) would wrap lines).
On linux execute :
# stty rows 27 columns 64

Martin

* FXTERM.G3A (40.39 KB - downloaded 81 times.)

* man_ls.jpg (61.91 KB, 676x507 - viewed 866 times.)

* mc.JPG (71.49 KB, 676x507 - viewed 957 times.)
« Last Edit: 24 June, 2011, 09:42:28 by MPoupe » Logged
Juju
Evil Fluttershy (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Coder Of Tomorrow
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Today at 08:57:32
Date Registered: 17 March, 2010, 07:46:57
Location: Québec, North Equestria
Posts: 4524


Total Post Ratings: +394

View Profile WWW
« Reply #1 on: 24 June, 2011, 09:47:23 »
0

Awesome Cheesy
Logged

LuaIDE
Reuben Quest HD: The PC Remake
Zarmina Project: Play Read
Nspire I/O: Info Download


THEGAME
Spoiler for Other stuff:
Also Yuki "ジュジュ" Kagayaki
Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads
Find what P+4zJ means and you get free candy! cc4daa9c4645bd123ed22e385ed701fd
#omnimaga on OmniNet, EFNet and Pesterchum
Omnimaga Owner and Former Administrator
Fan of My Little Jim Bauwens: Losing the Game is Magic
Proud member of POLN - Ponys Oppositing Lol Names
Member of OBEL - Omnimaga Board of the EFnrgelnicshh Language - Office Omnimagois de la Langue FArnagnlçaaiiss
あなたはこのゲームを失った
Spoiler for Old spoileryception stuff:

Spoiler for Coming soon...:
Indefinitely halted [|.........] 10%
OmnomIRC Mobile [||||......] 40% (argh threads >_<)
Spoiler for Current/Past TI-related projects:
The Axe Parser Wiki / Founder and maintainer
Keytar Hero [|||||_____] 50% Engine done, wackiness left to do (Halted)
OmniOS
VVVVVV [||||______] 40% (Made most of the engine, extremely glitchy) (Gave it to Leafy)
░█▀█░█░█░█▀▀░█▀█░█▀█░█▀█░▀█▀░█▀▄
░█▀█░▄▀▄░█▀▀░█▀█░█░█░█░█░░█░░█░█
v0.1.0
░▀░▀░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀▀▀░▀▀░[|||||||||¦] 95ish% (Completed)
tilibs-wii? [._________] 0% (Nope.)
Spoiler for Spoilers:
<!---->
wxWabbitemu Developer
Spoiler for Other Userbars:






<!--Everything done, got 90% Cheesy sudo apt-get install z80asm z80dasm-->
Spoiler for Quote:
We are in 2034. The situation on Earth is catastrophic. The ozone layer has been completely destroyed by the carbonic gas of automobiles, the chemical industries, and the poosh-poosh in little cans. In the end, the earth cooks under the rays of the sun. We must find a planet on which can live 6 billion idiots. The planetary federation turns to the strongest country in the world: Canada. It is Canadian knowledge that has allowed, on October 28, 2034, the launch of the spaceship Romano Fafard, which leaves earth to search the confines of the Universe. Where the hand of man has never set foot.
I hate TI right now
Quote from: jimbauwens
You make me lose the game
Everytime I read your name
Spoiler for The real answer to life, the universe and everything:
Spoiler for Old HTML stuff:
<div style="margin:20px; margin-top:5px"><div class="smallfont" style="margin-bottom:2px">Spoiler for This is another spoiler: <input type="button" value="Show" style="width:60px;font-size:10px;margin:0px;padding:0px;" onclick="window.location.replace('http://goo.gl/QMET');"></div><div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none; ">HAHAHA SUCCESSFUL RICKROLL IS SUCCESSFUL</div></div></div><!-- old avatars:
http://fc00.deviantart.net/fs71/f/2011/120/d/f/nepeta_nyan_cat_by_supuru-d3f8tcx.gif
http://th01.deviantart.net/fs70/PRE/i/2011/099/5/b/rainbow_dash_derping_by_moongazeponies-d3dmg7l.png--><!---->
I may or may not be inactive during work hours (9AM to 5PM EST, Monday to Friday), so for any inquiries please leave a message after the beep and I'll answer you when I have time. Beep. Nevermind, I'm on vacation now. Cheesy
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #2 on: 24 June, 2011, 10:00:22 »
0

Oh, a shell for the PRIZM, very nice Cheesy
Logged
AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 00:41:29
Date Registered: 15 August, 2010, 09:18:54
Posts: 3187


Total Post Ratings: +218

View Profile
« Reply #3 on: 24 June, 2011, 10:05:08 »
0

I don't think this is a shell.
Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:21:22
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #4 on: 24 June, 2011, 10:08:45 »
0

Ok, I really want one now! Imagine hooking this up to embedded devices and the like....
Logged

SimonLothar
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 20 March, 2013, 17:01:25
Date Registered: 16 February, 2011, 08:25:46
Location: Krautland
Posts: 122


Total Post Ratings: +33

View Profile
« Reply #5 on: 24 June, 2011, 10:25:47 »
0

I would like to show you my first program for Casio fx cg. It is VT100-like terminal emulator...
Very well done. Congrats!
Logged

I'll be back.
MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 13 May, 2013, 22:06:15
Date Registered: 04 January, 2011, 18:41:18
Posts: 159


Topic starter
Total Post Ratings: +28

View Profile WWW
« Reply #6 on: 24 June, 2011, 11:14:00 »
0

Very well done. Congrats!
Thank you. Your docs and mini-SDK allows me to do it.
Logged
MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 13 May, 2013, 22:06:15
Date Registered: 04 January, 2011, 18:41:18
Posts: 159


Topic starter
Total Post Ratings: +28

View Profile WWW
« Reply #7 on: 24 June, 2011, 11:21:14 »
0

If you try fxterm with Casio serial cable, you may find, that stream PC->fxterm goes OK, but fxterm->PC doesn't. The problem is in DTR signal on COM port, which must be set ON. The cable (probably) uses it to get power.
I used following (and very dirty workaround):
Linux is running in vmware (which run on windows), it has serial port, which is configured as named pipe (\\.\pipe\seriak), vmware end is server,other end is an application.
On windows run proxy - attached application, which forwards data between pipe and real COM1 port. The proxy ensures, that DTR signal is ON, so it works.

This is very dirty solution, proxy is very dirty software, but at least it works for testing:-)
I hope there is a way to configure Linux to set DTR signal ON, I did a very quick research, but found nothing:-(
Martin

* proxy.rar (32.92 KB - downloaded 49 times.)
Logged
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #8 on: 24 June, 2011, 13:28:12 »
0

I don't think this is a shell.

Oh sorry I meant terminal*. Is it a terminal?
Logged
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:21:22
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #9 on: 24 June, 2011, 13:31:09 »
0

It a console. It connect to a computer through serial.

So its a BIT like a screen connected to your computer.
Logged

MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 13 May, 2013, 22:06:15
Date Registered: 04 January, 2011, 18:41:18
Posts: 159


Topic starter
Total Post Ratings: +28

View Profile WWW
« Reply #10 on: 24 June, 2011, 13:31:25 »
0

Oh sorry I meant terminal*. Is it a terminal?
Yes, it is emulator of VT 100 terminal, so it is a terminal.
Logged
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #11 on: 24 June, 2011, 13:32:43 »
0

It a console. It connect to a computer through serial.

So its a BIT like a screen connected to your computer.

Oh sorry I meant terminal*. Is it a terminal?
Yes, it is emulator of VT 100 terminal, so it is a terminal.

Thank you I get it, because I don't really know the VT 100 Terminal.
Logged
fxdev
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 19 March, 2013, 20:52:08
Date Registered: 18 January, 2011, 16:21:14
Posts: 177

Total Post Ratings: +28

View Profile
« Reply #12 on: 24 June, 2011, 14:13:10 »
0

Amazing. I wanna see a Linux or BSD system running on the Prizm! Cheesy
Logged
Eiyeron
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 07 January, 2013, 20:29:04
Date Registered: 09 August, 2011, 16:51:22
Location: Err 404.
Posts: 552


Total Post Ratings: +19

View Profile WWW
« Reply #13 on: 06 October, 2011, 17:34:58 »
0

Maybe on Fx*9860, too, no? PLease
Juste for terminal! :p
Logged




MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 13 May, 2013, 22:06:15
Date Registered: 04 January, 2011, 18:41:18
Posts: 159


Topic starter
Total Post Ratings: +28

View Profile WWW
« Reply #14 on: 07 October, 2011, 11:32:32 »
0

Maybe on Fx*9860, too, no? PLease
Juste for terminal! :p
I was thinking about such program when I bought my fx9860G, but I found a problem with font / screen resolution. Simply the screen is too small to display moderate count of character in a row. Standard font has 5+1 pixel width => 21 characters, which is too few (the +1 is for space between letters).
Smaller font (4+1) would be hard to read and you get 25 characters.
More smaller font (3+1) would get moderate count of characters, but there are hardly distinguishable characters (such like M/N/W/H ).
I want not to use proportional font as it sucks :-)

The FXTerm is not finished (some escape sequences are ignored, so e.g. editors don't work). I can finish this after I find some spare time and then I can port it to fx9860G, but I need to solve somehow the font problem.

Do you have any idea ?
Logged
Pages: [1] 2 3 4   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.271 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.