Active Topics

 


Reply
Thread Tools
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#1
Hey all!

So yeah, I'm looking for a terminal, putty, tinyfugue, command line, option, hack, roxterm added option, a way to use "luit" in Xterm, or anything else creative to get on telnet using "CP 437" character coding instead of the typical UTF-8 or ISO-88591-1 encoding.

I'm trying to get IBMgraphics on the tablet... and yes, I'm a total dork trying to run Nethack using such encoding.

Is this not possible because I'm coming up short on everything I'm looking at and searching for.

Even a simple yes or no if this can be done would lighten up my day!

Thanks!
 
Posts: 118 | Thanked: 26 times | Joined on Feb 2008
#2
I am shooting darts in the dark here - but "screen" might be able to do the conversion?

Martin
 

The Following 2 Users Say Thank You to m_stolle For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#3
Originally Posted by m_stolle View Post
I am shooting darts in the dark here - but "screen" might be able to do the conversion?
How do I correctly state that command in Xterm?

I thought luit was the command needed but I don't believe Xterm features such a thing.

Thanks for the response Martin, hope to hear from you again.
 
Posts: 118 | Thanked: 26 times | Joined on Feb 2008
#4
Did you try this? I am afraid that luit (nor screen) are in the diablo repos. However, if you are running something on a remote machine, you can probably run this:

luit -g2 'CP 437'

Martin
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#5
Hey, thanks again for the response, Martin.

Not sure what you mean by using a remote machine though, all I have is the N800 tablet running under Diablo.

luit -g2 'CP 437' gives me
-sh: luit: not found

and basically the same error when using Qwerty's Roxterm.

Is there another terminal that can support such a command line?
 
Posts: 118 | Thanked: 26 times | Joined on Feb 2008
#6
Ok, I was assuming you wanted to run a program on another machine that you had logged into from your tablet. What program on the tablet does not output to utf-8?

There is no such thing as "another terminal that can support such a command line". Luit is a standalone program which in principle can work with any terminal. The problem is not to find "the right terminal" but to find luit compiled for the Internet Tablets. If you were running a program on a remote machine, you could just run luit from that remote machine (which would probably be easier).

Martin
 

The Following User Says Thank You to m_stolle For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#7
Originally Posted by Addison View Post
...

and basically the same error when using Qwerty's Roxterm.

Is there another terminal that can support such a command line?
Allow me to clear your confusion a little...

It's not the property of a terminal application to support different command line commands. The terminal application simply echoes to screen what a given program is printing and supplying keystrokes back to the program as input. Normally, inside the terminal (or connected to the terminal or whatever) runs a program called "shell", typically "bash" on a desktop Linux system, but a cut-down compatible version called "ash" on the tablets. The shell provides a command prompt where you can type the names of external programs (*) and any parameters you want to pass to them, which the shell then runs. "screen" and "luit" are such programs, completely separate from the shell and the terminal application.

Does this help any?


(*) Shells typically reserve some command names for their own use. These are called "built-in" commands. Typing such a command name on the command prompt does not cause the shell to run an external program of that name, unless explicitly told so.
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#8
Okay, problem solved so this topic can now burn for all I care.

Turns out I needed to install konwert_1.8-11.1_armel and konwert-filters_1.8-11.1_all along with bash2.

From there it was as simple as:
telnet [address] | konwert cp437-utf8

So yeah, my tablet can now display IBMgraphics. Pretty Cool!



Thanks for the help guys!
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:07.