TPU editor and 8-bit characters

Everything about buying, using, and managing OpenVMS systems not covered by other sections.

Topic author
csewell
Contributor
Posts: 22
Joined: Tue Feb 15, 2022 3:47 pm
Reputation: 0
Status: Offline

TPU editor and 8-bit characters

Post by csewell » Wed Feb 28, 2024 3:20 pm

Did EVE/TPU ever support 8-bit characters? I know it has a /CHARACTER_SET qualifier but this doesn't seem to do much. If I edit a file that includes accented characters, the characters just disappear as if they were not even there. If I try to paste in accented characters, the sign bit is stripped and they show up as their 7-bit equivalents.

User avatar

arne_v
Master
Posts: 347
Joined: Fri Apr 17, 2020 7:31 pm
Reputation: 0
Location: Rhode Island, USA
Status: Online
Contact:

Re: TPU editor and 8-bit characters

Post by arne_v » Wed Feb 28, 2024 4:58 pm

Yes. Out of the box.

DECMCS/ISO-8859-1 not UTF-8 of course.
Arne
arne@vajhoej.dk
VMS user since 1986


Topic author
csewell
Contributor
Posts: 22
Joined: Tue Feb 15, 2022 3:47 pm
Reputation: 0
Status: Offline

Re: TPU editor and 8-bit characters

Post by csewell » Wed Feb 28, 2024 10:37 pm

So why am I not seeing 8-bit characters in the TPU/EVE editor and why am I not able to paste in 8-bit characters? Typing a file with 8-bit characters displays the characters just fine in PuTTY. Editing the file with TPU does not. What am I missing?

User avatar

arne_v
Master
Posts: 347
Joined: Fri Apr 17, 2020 7:31 pm
Reputation: 0
Location: Rhode Island, USA
Status: Online
Contact:

Re: TPU editor and 8-bit characters

Post by arne_v » Wed Feb 28, 2024 10:41 pm

I think we need more info.

What does:

$ SHOW TERM

show?

What is Putty settings?
Last edited by arne_v on Wed Feb 28, 2024 10:49 pm, edited 1 time in total.
Arne
arne@vajhoej.dk
VMS user since 1986


Topic author
csewell
Contributor
Posts: 22
Joined: Tue Feb 15, 2022 3:47 pm
Reputation: 0
Status: Offline

Re: TPU editor and 8-bit characters

Post by csewell » Thu Feb 29, 2024 2:31 pm

Thanks, you solved it for me. I have a SET TERMINAL /INQUIRE in my LOGIN.COM. This sets it to VT102 which is /NOEIGHT_BIT. SET TERMINAL /INQUIRE /EIGHT_BIT fixed it.
Last edited by csewell on Thu Feb 29, 2024 2:47 pm, edited 2 times in total.

User avatar

arne_v
Master
Posts: 347
Joined: Fri Apr 17, 2020 7:31 pm
Reputation: 0
Location: Rhode Island, USA
Status: Online
Contact:

Re: TPU editor and 8-bit characters

Post by arne_v » Thu Feb 29, 2024 3:56 pm

Putty is OK, but I have never had much luck with:

$ set term/inq

and I always use:

$ set term/dev=vt400/wid=132
Arne
arne@vajhoej.dk
VMS user since 1986


Topic author
csewell
Contributor
Posts: 22
Joined: Tue Feb 15, 2022 3:47 pm
Reputation: 0
Status: Offline

Re: TPU editor and 8-bit characters

Post by csewell » Thu Feb 29, 2024 4:16 pm

I don't like to be limited by the standard 24x80 or 24x132 size. /INQUIRE will set my width and page size to whatever my PuTTY window size + font size is.


thorleif
Contributor
Posts: 16
Joined: Tue Jan 05, 2021 10:26 pm
Reputation: 0
Status: Offline

Re: TPU editor and 8-bit characters

Post by thorleif » Fri Mar 22, 2024 10:27 am

Hello
I have not used eve since the '80s. It is very slow and it takes a long time to start. It says no such file and no such folder when it's starting.. I use Device_Type: VT100 because it's the only device type that works for me. I am in Iceland and we need support for special charcter (8 bit). Do you know what i can do to make eve more responsive

Thanks,
Thorleifur


sms
Master
Posts: 349
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: TPU editor and 8-bit characters

Post by sms » Fri Mar 22, 2024 10:44 am

Code: Select all

> [...] it takes a long time to start. [...]

   Define "a long time".  How big is the file?

   TPU reads the whole file into RAM, which can be slow if your disk
("disk") is slow, or if your process memory is small.

      show memory /physical

   Run AUTHORIZE, SHOW <user>, look at WSdef/WSquo/WSextent?


thorleif
Contributor
Posts: 16
Joined: Tue Jan 05, 2021 10:26 pm
Reputation: 0
Status: Offline

Re: TPU editor and 8-bit characters

Post by thorleif » Fri Mar 22, 2024 11:11 am

It is just a small file

$ type demo.cxx
#include <iostream>
#include <vector>
int main(){

std::cout << "hALLO HEIMUR" <<'\n';

std::vector<int> v;

v.push_back(1);
int i;
i=v.back(
return 0;

}

Post Reply