<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Times New Roman" size="3"><a name="BM_BEGIN"></a>
<div><font size="2">Yup .. Since January<br>
<br>
<a href="http://www.raspberrypi.org/archives/3094">http://www.raspberrypi.org/archives/3094</a><br>
<br>
<br>
-----Original Message-----<br>
From: filepro-list-bounces+doug.luurs=gmail.com@lists.celestial.com [<a href="mailto:filepro-list-bounces+doug.luurs=gmail.com@lists.celestial.com">mailto:filepro-list-bounces+doug.luurs=gmail.com@lists.celestial.com</a>] On Behalf Of Brian K. White<br>
Sent: Thursday, May 02, 2013 4:23 PM<br>
To: filepro-list@lists.celestial.com<br>
Subject: Re: raspberry Pi<br>
<br>
On 5/2/2013 1:28 PM, Henry Arredondo wrote:<br>
> Hi,<br>
><br>
> I got the raspberry pi and I want to use it to ssh to a SCO box like a dumb terminal, I tested it but the DEL key is not working, Do you know the terminal emulation needed when using linux -> SCO Unix ?<br>
><br>
> Is it possible to install filepro running an ARM microprocessor, the raspberry can run any of these distros already :<br>
><br>
> Raspian wheezy.. It's a reference root filesystem from Alex and Dom, <br>
> based on the Raspbian<http://www.raspbian.org/> optimised version of <br>
> Debian, and containing LXDE, Midori, development tools and example <br>
> source code for multimedia functions<br>
><br>
> Soft-float debian wheezy .. This image is identical to the Raspbian "wheezy" image, but uses the slower soft-float ABI. It is only intended for use with software such as the Oracle JVM<http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html>
which does not yet support the hard-float ABI used by Raspbian.<br>
><br>
> Arch linux ARM...Arch Linux ARM is based on Arch Linux, which aims for simplicity and full control to the end user. Note that this distribution may not be suitable for beginners. The latest version of this image uses the hard-float ABI, and boots to a command
prompt in around ten seconds.<br>
><br>
> Thanks<br>
><br>
> Henry Arredondo<br>
<br>
The answer is complicated.<br>
<br>
You can make the console on the rasberry pi work as a sco console with some effort, and at the expense of slightly breaking all the local linux applications. It's so messy I will not actually get into it unless you convince me that that's really what you want
is to make a completely broken linux system on the pi, but it will function as a scoansi dumb terminal and you don't care at all about using the pi for it's own local linux system and you won't be doing updates even.<br>
<br>
Or were you even talking about the console or were you talking about xterm or lxterm or some other xterm-alike? which is a totally different problem and totally different answers.<br>
<br>
The real answer is, you do not make the linux console or xterm apps emulate a sco console, you tell the sco system what your terminal is, which is linux or xterm, or you run a terminal _emulator_ app, to _emulate_ a sco console.<br>
<br>
That means copying linux and xterm terminal definitions from termcap and terminfo from linux to sco, and in /etc/profile on sco add a few lines to detect if TERM is linux or xterm and in that case run an stty command to change the break key to ctrl-c: "stty
intr ^c"<br>
<br>
If your terminal is the linux console or an xterm-alike, the del key can not be used as the break key because those terminals emit a multi-byte sequence ^[[3~ from the Del key, not a single byte. A sco console emits a single byte "^?" from the Del key, so it
can be used as break.<br>
<br>
There ARE ways to hack both the linux console and most xterm-alike apps to change what the keys do, like you could make the Del key send ^?
<br>
instead of ^[[3~ , but when you do that you break the terminal for every other app because it's still called "linux" or "xterm" but it is no longer doing what linux or xterm terminals do.<br>
<br>
So if you want to ask instead how to teach the sco box to recognize a linux console or xterm, that I can answer in detail.<br>
<br>
Or if you want to ask instead what is a good sco-ansi emulator app that you can run on a raspberry pi, I don't know off-hand, but that also is at least a valid question. In gui there is a linux version of putty that can do an OK job of emulating scoansi. The
pi may not have the horsepower but you can also run most windows terminal emulators in wine.<br>
Or you could take any xterm-based app and possibly modify it enough through .Xdefaults without having to modify it's source code, and make a special menu entry or desktop icon that loads the special config without breaking the app the rest of the time for everything
else. Outside of gui I don't know any console apps that can emulate scoansi but there might be one somewhere.<br>
<br>
But asking how to make the the linux console behave as a sco console... <br>
that's only a valid question in the way that shooting yourself in the foot is a valid wish.<br>
<br>
Another idea, is there a FreeBSD port yet?<br>
The freebsd console calls itself "cons25" in the TERM variable, which the sco box will not recognize by default, but it is almost exactly the same as the sco console, including that it sends ^? from it's Del key. I don't think the freebsd system defaults to
using Del for break the way sco does, but it can at least. If you installed freebsd on the pi, it's Del key would send ^?, so when you then ssh to a sco box, Del would work as break. You'd still have to do a little hacking on the sco box. Maybe as little as
simply overwriting TERM to say TERM=ansi.<br>
<br>
--<br>
bkw<br>
_______________________________________________<br>
Filepro-list mailing list<br>
Filepro-list@lists.celestial.com<br>
Subscribe/Unsubscribe/Subscription Changes <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list">
http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
</font></div>
</font>
<P align=left><FONT face=Tahoma size=2><FONT color=#0000ff><EM>-- </EM></FONT></FONT></P>
<P align=left><FONT face=Tahoma color=#0000ff size=2><EM>These commodities/technical data, including attachments, are controlled under the United States Export Administration Regulations (EAR) and the International Traffic in Arms Regulations (ITAR). This information may not be exported to a foreign person, either in the U.S. or abroad, without the proper authorization of the U.S. Department of State or the U.S. Department of Commerce. Prior to distributing, please contact Amphenol Borisch Technologies to obtain related information for commodity classification and jurisdiction as well as end users.</EM></FONT></P>
<P><FONT face=Tahoma color=#0000ff size=2><EM>This E-mail, including any attachments, should be considered confidential and proprietary information. Further, this information is intended solely for use by the individual to whom it is addressed. If you received this E-mail in error, please notify the sender, do not disclose its contents to others, and delete it from your system. Any other use of this E-mail and/or attachments is prohibited. This message is not meant to constitute an electronic signature or intent to contract electronically.</EM></FONT></P>
<P align=left><FONT face=Tahoma color=#0000ff size=2></FONT> </P><A title="gfidisc.borisch.com" href="#"> </A></body>
</html>