FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 08-22-2008, 06:03 PM
"Allen, Jack"
 
Default Terminfo problem

Hello:
We have an old application that uses a special Terminal Emulator
running on their PC for DG (Data General) terminals. The cursor
positioning uses the binary value of a single character for the X and Y
location. Basically a ^PXY where X is a character and Y is a character.
The problem is a binary 0 needs to be sent. Looking at the curses
document it states something about 0 value characters being changed to
octal 0200 so it will not be a null and terminate a string and most
terminals will strip the high bit and see the value as 0. But the
Terminal Emulator does not strip the high bit an uses the value, which
is 128 and therefore moves the cursor to the wrong position.

The current cup value is 20%p2%c%p1%c. Does anyone know how I
can change this so it will truly send a 0 value and not the 0200 value?

---
Thanks:
Jack Allen

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 08-25-2008, 11:46 AM
George Magklaras
 
Default Terminfo problem

Is this by any chance a Kermit95 terminal emulator? If yes, see
ftp://kermit.columbia.edu/kermit/k95/newbugs.txt


for more info. If not, what sort of TE is it? It seems to me that the
emulator does not really have its TERM type set properly. Most of these
oldies should have either a SET TERMINAL or equivalent set of
commands/graphical menus through which you could really set the DG
terminal type (200, 400?)


Alternatively, man/info stty?

GM

--
--
George Magklaras

Senior Computer Systems Engineer/UNIX Systems Administrator
EMBnet Technical Management Board
The Biotechnology Centre of Oslo,
University of Oslo
http://folk.uio.no/georgios

Allen, Jack wrote:
Hello:
We have an old application that uses a special Terminal Emulator

running on their PC for DG (Data General) terminals. The cursor
positioning uses the binary value of a single character for the X and Y
location. Basically a ^PXY where X is a character and Y is a character.
The problem is a binary 0 needs to be sent. Looking at the curses
document it states something about 0 value characters being changed to
octal 0200 so it will not be a null and terminate a string and most
terminals will strip the high bit and see the value as 0. But the
Terminal Emulator does not strip the high bit an uses the value, which
is 128 and therefore moves the cursor to the wrong position.

The current cup value is 20%p2%c%p1%c. Does anyone know how I
can change this so it will truly send a 0 value and not the 0200 value?

---
Thanks:
Jack Allen






--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 03:59 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org