![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | |
mscollins
Newbie
Joined: March 15 2004 Location: United States Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Topic: Adds VP emulation in Unix: LF vs CR/LFPosted: January 20 2005 at 8:55am |
|
We are running D3 on an AIX machine and we generally use VP emulation. I'm having what I believe to be a common issue with the way VP handles newline characters received from the host. Everything within D3 is fine, but when I need to go out to Unix that's where things get a little goofy.
Unix uses only LF (or ASCII char 0A) for a newline, vs. the DOS/Windows combo of CR LF (or 0D 0A). When I use VP emulation and run a Unix command from TCL or PickBASIC (like ls, grep, or cat) I get newlines but not a carriage return. This behavior does not happen in VT mode, but I can't change all of my stations to use VT. Does anyone know how to configure AT2K2 v5.2a (or later) so that VP will interpret a LF from the host as the equivalent of CR LF? Thanks, Michael Collins California, USA |
|
![]() |
|
kilomike
Beta Tester
Joined: March 18 2004 Location: United States Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: January 20 2005 at 12:55pm |
|
Which terminal emulation are you using?
ADDS Viewpoint A2 or Viewpoint A2 Enhanced? Also try the SCO console emulation. |
|
![]() |
|
PSchellenbach
Admin Group
Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
Quote Reply
Posted: January 24 2005 at 5:16am |
|
Hi Michael -
Try doing "stty onlcr" from the AIX prompt. You might want to add this command to the .profile so when a user logs in it always executes. Thanks, Pete |
|
![]() |
|
mscollins
Newbie
Joined: March 15 2004 Location: United States Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: January 28 2005 at 12:32pm |
|
Gentlemen,
Thanks for your replies. We are using VP A2 Enhanced. I will try the 'stty onlcr' and see if that does the trick. -MC |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |