Pagers and editors in remote PSSessions

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Marty Wiedmeyer Marty Wiedmeyer 2 years, 2 months ago.

  • Author
    Posts
  • #18982

    Hi Folks,

    Coming historically from a UNIX and Linux scripting background, even though my Windows admin experience pre-dates NT, I am used to having full character based functionality in a remote session.

    In *x, when I ssh to a remote system, I can edit a file with vi and less pages a file exactly as on my local system.

    With *-PSSession that is not the case.

    More and less are not effective, the text just scrolls by.

    vi is unresponsive, showing only a blinking cursor... 🙁

    Is it because that Windows, having always been tied so closely to a GUI in the past, has no concept/implementation of terminal emulation?

    Marty

  • #18984
    Profile photo of Dave Wyatt
    Dave Wyatt
    Moderator

    PSSessions are not terminal emulators, and interactive console applications are not supported in this context. That said, v5 is adding a new feature to the ISE where you can enter a PSSession and then run "psedit " to edit a file remotely, which will come in handy.

  • #18994

    Thanks, Dave.

    I suspected as much...

    We need to monitor (read and search) text based log files remotely w/o using RD at all.

You must be logged in to reply to this topic.