Home · Articles · Downloads · Hobby Wear · Forums · Web Links · News CategoriesTuesday, April 24, 2018
Navigation
Home
Articles
Downloads
Hobby Wear
FAQ
Forums
Web Links
News Categories
Contact Us
Photo Gallery
OpenVMS Bigot
Search
Users Online
Guests Online: 3
No Members Online

Registered Members: 7,100
Newest Member: zhebaby0721
PdfFactory Pro Enterprise 2.31, MATFOR 4.00.061031 in Lahey Fortran, Adobe PhotoShop 9.0 CS2 oem, Trend Micro InterScan VirusWall 6.0, Adobe Acrobat 7.0 Professional sale, Salon Iris 5.05, Drafix Pro Landscape 11.2, oem Adobe PhotoShop CS 8.0 cheap buy, Catia 5 R12 P3 with SP2, Mcafee Secure Internet Gateway 4.5, oem Adobe Acrobat Professional 8 oem, Visual UML 4.1 Developer Edition, sale Adobe CS3 Design Premium Vol for Mac low price, Nuance Dragon Naturally Speaking 9.0 Professional With SP1, Adobe After Effects Plugins, low price AutoCAD 2006 cheap buy, Avid NewsCutter XP 3.8, The Movie Library 1.7.11, oem Adobe Creative Suite Premium Edition 2.0, ProFlyers 6.0 PDF Forms for Adobe Acrobat, PTC Pro Engineer Routed Systems Designer 5.0, sale DVDXCopy Platinum 4.0.38, CyberBizPlan v1.0.165 WinAll, NeverCenter Silo 1.16b, cheap buy AutoCAD 2005, Norton Save And Restore 11, sale Adobe Creative Suite 3 Design Premium sale, Adobe Premiere Plugins Collection 2007, cheap buy Adobe Creative Suite Premium Edition 2.0 for Mac sale, Active Desktop Calendar 6.5.061124, sale Adobe Acrobat 6.0 Professional, X-Rite MonacoPROFILER Platinum 4.8, EmailUnlimited 6.1 Win98NTME, oem Adobe Photoshop CS3 Extended sale
Sponsors
Island Computer
View Thread
OpenVMS Hobbyist Program | Alpha Systems Forums | FreeAXP
Author Putty log file location
VolkerHalle
Member

User Avatar

Posts: 96
Location: Germany
Joined: 02.04.10
Posted on April 06 2010 23:37
I normally enable the Putty log file for the Putty console terminal to cause all console messages etc. to be logged - just in case something happens to OpenVMS and has to be diagnosed.

When doing this with the Putty console terminal started by FreeAXP, I had to look around quite a while, until I finally found the Putty.log file under C:\Windows\SysWOW64 - running Windows 7 Enterprise.

Could Putty be started with the FreeAXP install directory as the 'default directory' ?

I also recognized, that all the console messages will automatically be included in the ALPHA.LOG FreeAXP emulator log file. While this seems to be a good idea, it might cause problems, when emulating a real Alpha system, where noone was watching the console terminal before and where lots of messages where being output in 'normal' operating mode.

Volker.
http://www.invenate.de
Author RE: Putty log file location
Bruce Claremont
Moderator

Posts: 500
Joined: 07.01.10
Posted on April 07 2010 05:08
Thanks for the feedback. The best way to default the location of the PuTTY log would be with a command line switch on the PuTTY call within the FreeAXP configuration file. However, I do not see such an option available in PuTTY.

Barring that, the second best option is to use the Change Settings option in PuTTY the first time it launches the FreeAXP console, configure PuTTY to your specifications, and then save the changes. Future sessions will then launch with your save changes. I'll make a note to add this suggestion to the user guide.
Author RE: consider to start Putty with default directory
VolkerHalle
Member

User Avatar

Posts: 96
Location: Germany
Joined: 02.04.10
Posted on April 09 2010 02:27
Bruce,

if I look at the Putty console terminal process started for PersonalAlpha with Process Explorere (-> properties -> image), I see a default directory string - at least on Windows XP - which matches the PersonalAlpha install directory.

I couldn't see this on WIndows 7 Enterprise with Process Explorer.

This observation seems to imply, that there should be some way to start a process with a given default directory string. So if you can figure out that parameter, it would be nice, if Putty is actually started with the FreeAXP install directory as the default directory.

Volker.
http://www.invenate.de
Author RE: Serial Logging
Bruce Claremont
Moderator

Posts: 500
Joined: 07.01.10
Posted on April 09 2010 04:22
If there is a way to launch PuTTY with logging enabled from the command line, there are lots of people on the Internet that would like to learn about it, including me! The best explanation I've found regarding enabling PuTTY logging requires a registry tweak:

http://johnstanfield.com/?p=178

One of our development goals for FreeAXP and Avanti is to stay out of the Windows Registry as much as possible, so we're not going to add a registry modification for PuTTY.

However, in discussing this issue with our chief hardware illusionist, there is another option that may serve your purpose equally well. It is feasible to add a serial log to each serial port (OPAO and TTA0). It can be accomplished by adding the following code to the FreeAXP configuration file.


serial0 = i16550
{
s0_log = logfile
{
filename="D:\BURNER\OPA0.log";
}
s0_tn = telnet
{
port = 9000;
wait = true;
action = """C:\Program Files\FreeAXP\putty.exe"" telnet://localhost:9000";
}
}





I'll include this information in the next set of Release Notes.
Author RE: Putty log file location
VolkerHalle
Member

User Avatar

Posts: 96
Location: Germany
Joined: 02.04.10
Posted on April 09 2010 05:00
Bruce,

thanks for showing another alternative on logging the output of the serial port(s).

I don't need a 'registry hack' to enable Putty logging, this I can easily do myself at any time Putty has been started. I normally specify console_&Y_&M_&D.log as the log file name. I would have expected to find the log file in the FreeAXP install directory, but in this case I had to go search for it... - I could have used Browse... to locate the directory.

Example:

If you are in directory C:\X and start Putty with > C:\Program Files\Putty.exe and then try to turn on logging, the 'default directory' for the log file becomes C:\X - check with Browse. So all I'm trying to ask for is: before starting Putty do the equivalent of $ SET DEFAULT C:\Program Files\FreeAXP - sorry, I'm not a Windows programmer...

By switching Session Logging from 'Printable Output' to 'None' and back to 'Printable Output' I can even reset the log file while Putty is running. And the new file will have a new name (based on the current date). This becomes useful, if running an emulator in production mode and you don't want to have to reboot to reset the log file.

Thanks,

Volker.
http://www.invenate.de
Author RE: Putty log file location
Bruce Claremont
Moderator

Posts: 500
Joined: 07.01.10
Posted on April 09 2010 07:34
Thanks for the clarification. I've added this issue to our enhancements list.
Author RE: generic feedback: log file maintenance
VolkerHalle
Member

User Avatar

Posts: 96
Location: Germany
Joined: 02.04.10
Posted on April 10 2010 20:40
Bruce,

while we're discussing log file issues, here is another feedback, especially for the production versions:

Whenever you use log files being written directly from the emulator, please consider to think about - and eventually implement - some kind of automatic log file maintenance.

I've seen cases where something happened and a running emulator wrote a multi GB log file. I've even seen a case, where an emulator log file overflowed the Windows disk.

In those cases, you don't want to stop 'production' to just reset the log file or even try to look at it. As I explained before, it's easy with Putty: you can re-start the log file while running.

For log files written directly by the emulator, consider:

- specify maximum size and have emulator automatically create a new file and save the old one (with ;-1)
- specify maximum lifetime (30 days) of the log file
- create some mechanism to reset the log file(s) based on some 'signal' received from an external program

Log files are an improvement versus real Alphas, but they can also create new problems.

Volker.
http://www.invenate.de
Author RE: Putty log file location
Bruce Claremont
Moderator

Posts: 500
Joined: 07.01.10
Posted on April 11 2010 05:14
Yep, planned for the production release FreeAXP will specific a default size for the log file (300Ksmiley that can be changed via a command line parameter. If the size is exceeded, it will use the versioning trick (why has no other O/S implemented versioning) to retain up to 5 logs. We'll probably put in a version limit command line parameter as well.
Edited by Bruce Claremont on April 11 2010 05:17
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Are you going to OpenVMS Boot Camp 2016?

Yes

No

You must login to vote.
Shoutbox
You must login to post a message.

LouF91
April 05 2018
ah maybe they love that!

malmberg
March 24 2018
Probably. More people hang out on the comp.os.vms newsgroup.

vaxpert
March 23 2018
I have a PE42A and other Alpha system stuff for sale. I'm in So California. Any interest out there?

goodbyespy
February 27 2018
To Prohorenko. Please, visit group OpenVMS in the ok.ru

peteherrera
February 24 2018
How much does it cost to buy a complete OpenVMS hardcopy documentation set of the latest version

prohorenko
February 17 2018
Please help to obtain the license on OpenVMS

malmberg
December 12 2017
HPE only makes the most current version of OpenVMS Alpha / IA64 /VAX available to hobbyists. When I had access to the Alliance 1 program it was the same. No public downloads are allowed by HPE.

nmbonao
December 08 2017
Is anybody knows OpenVMS 8.2 version downloadable version? or CD copy? Thank you very much

aarommes
December 02 2017
Bitcoin and Blockchain enthusiasts ( plus distributed computing ) please connec / reply: http://www.openvmshobbyis
t.com/forum/viewthread.ph
p?forum_id=130&thread_id=
2991


malmberg
September 10 2017
https://sourceforge.net/p
/vms-ports/wiki/VMSInstal
lation/ For the most part just use VMS 6.1 media instead of 7.3. But why run the older release?


DoeveR
August 07 2017
Where can I find the write up on running VMS 6.1 using the simh emulator?

Bart
March 20 2017
Happy to have found my password again!

pintero
March 16 2017
peteherrera. Agreed.

peteherrera
March 04 2017
It would be nice to be able to buy the lastest hardcopy full OpenVMS docset at a very reduced price through the Hobbyist program. smiley

malmberg
February 05 2017
Decus > Connect > Encompass<Country>

Shoutbox Archive