Announcement

Collapse
No announcement yet.

Shrinking screen after shell?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Lance Edmonds
    replied
    One more idea... contact be privately, and I'll do you a modified version of WINLINK for you that performs an explicit CONSOLE SCREEN to 80x25 mode, before returning control to the DOS app.


    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Lance Edmonds
    replied
    1st port of call is to HP to find out how to disable their "print manager" application.

    Next, and it is a long shot, but try it for size:

    Create a shortcut to any DOS app, and set the properties of the console appropriately.

    Next edit the shortcut and change the target to WINLINK.EXE

    Try again...

    Good luck!

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Mike Doty
    replied
    WIDTH 80,25 didn't help.
    This occurs after shelling to an HP 940 printer.
    Tried killing all HP software in memory and noticed
    that 2 HP programs always come back after printing
    and the shrunk screen. This is also a network file
    server. The problem does not exist on any other machine.
    Went into conagent and looked at properties.
    They are the same as for the program running. About to punt.


    ------------------

    Leave a comment:


  • Gustavo Asplanatti
    replied
    I don't know reason exactly. I suppose that the subsystem of windows console tries to normalize the system to a resolution of 80 x 25.
    Believe me, I could solve it normalizing to a standard resolution of 80 x 25 before the SHELL.

    ------------------
    Gustavo Asplanatti
    [email protected]

    Leave a comment:


  • Mike Doty
    replied
    I'll try WIDTH 80,25 before and after the shell.

    ------------------

    Leave a comment:


  • Mike Doty
    replied
    Before the shell? Trying to figure out why?


    ------------------

    Leave a comment:


  • Gustavo Asplanatti
    replied
    I meant :

    I believe that you should put a WIDTH 80,25 ...

    Sorry...



    ------------------
    Gustavo Asplanatti
    [email protected]

    Leave a comment:


  • Gustavo Asplanatti
    replied
    I had a similar problem using PB/Vision with a resolution of 80X30.
    The solution (in my case) went to normalize the resolution to 80x25 BEFORE making a SHELL.
    I believe that you should put a WIDTH 80,30 BEFORE making a SHELL.

    I wish to have helped you a little. Luck!!


    ------------------
    Gustavo Asplanatti
    [email protected]

    Leave a comment:


  • Mike Doty
    replied
    Windows 98 SE.
    WIDTH 80,25 was at the beginning of the program.
    Added WIDTH 80,25 after the SHELL.
    Won't know until they download if it corrects this.
    Strange that this is the only call I've received.


    ------------------

    Leave a comment:


  • Lance Edmonds
    replied
    Somehow, somewhere, something is switching the DOS window to 80x50 mode... possibly the default console settings are being applied to WINLINK by the O/S. What O/S is this happening on (I suspect it will be XP).

    Try adding a WIDTH 80,25 statement to the DOS code at the start of the program, and possibly after each SHELL statement.

    You could also set the default console properties for WINLINK.EXE to 80x25 - thay may have an effect (In NT/2000/XP, the default console is 80x300, which generally switches to 80x50 as the closest standard mode for DOS app's and full-screen display).

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Mike Doty
    started a topic Shrinking screen after shell?

    Shrinking screen after shell?

    Anyone ever seen a screen shrink in half after a shell
    while starting in a windowed mode? The shell is to
    a program that does not use the video.
    Can't duplicate it here.
    The shell statement is SHELL "WINLINK PROGRAM"
    I've sent a test program out without using winlink
    to see if it might be modifying the video.

    ------------------
Working...
X