Pressing "Enter/Space bar" using Net::TELNET? in Perl


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Pressing "Enter/Space bar" using Net::TELNET? in Perl
# 1  
Old 10-26-2009
Pressing "Enter/Space bar" using Net::TELNET? in Perl

I'm trying to learn how to get my script to execute the enter button when it telnets into a router and the router displays output but you need to press the space bar or enter button to continue displaying my output of the router.

How is this done?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Have to click "enter" key twice to successfully login

Hi Guys, When using plink ( plink -ssh $IP) to connect to an AIX box, the password is correct, but always after input the password and click enter I got "access denied", then I am promted for password again, this time no matter what password I give, correct or bad, after I re-click enter, as... (2 Replies)
Discussion started by: kensview
2 Replies

2. Shell Programming and Scripting

Syntax error near unexpected token `"Hit <ENTER> to continue:"'

the below code will search attr string inside makefile under the modelno on given path. echo "Enter model no for searching string inside makefile" read inputs2 #find /pools/home_unix/sapte/work/models/model/$inputs2 -name "makefile" | xargs grep "attr" \; #;;I am getting below error.... (7 Replies)
Discussion started by: lathigara
7 Replies

3. Shell Programming and Scripting

Perl: errors during "install Net::SSLeay"

Hi, Here is the errors: Any help will be greatly appreciated! (4 Replies)
Discussion started by: aixlover
4 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. Shell Programming and Scripting

Make scipt except from "Y","y" and "yes" to take [Enter] as being "yes"

This is the script: #!/bin/sh if ; then rm -rf /usr/share/WallpaperChanger; fi if ; then rm -rf /usr/bin/wallch; fi; if ; then rm -rf /usr/share/applications/wallch.desktop; fi if ; then rm -rf /usr/share/doc/wallch; fi if ; then rm -rf /usr/share/man/man1/wallch.1.gz; fi echo "Delete... (4 Replies)
Discussion started by: hakermania
4 Replies

6. Web Development

How to make "enter" work in HTML syntax

I have one syntax to find something from desktop on server, the script is as below, I actually speaking don't know anything in this script. It creates a window, where i get a drop down boxes with folder names given below and a blank box where i have to put the folder name to search. and then I... (2 Replies)
Discussion started by: patilrakesh1984
2 Replies

7. Infrastructure Monitoring

HPUX net-SNMP interpreter "/bin/perl" not found

I am trying to install net-snmp on an HPUX box. I am getting the fallowing error message when I try to run the snmpconf file. I installed the fallowing version of net-snmp net-snmp-5.0.10.2-HP-UX_B.11.11_9000_800.tar and my HPUX box is version HP-UX commnms B.11.11 U 9000/800... (2 Replies)
Discussion started by: krisarmstrong
2 Replies

8. Shell Programming and Scripting

Need help on use of "cmd" command in net::Telnet module in PERL

in "cmd" command i want to copy the ouput of the command excuted to a particular file in a directory. How to do this..?? Ex : $telnet->cmd(String => 'allip:acl=a1;',Prompt => '/</'); i want to copy o/p of the command "allip:acl=a1;" in a log file in a particular directory. Plz suggest.. (1 Reply)
Discussion started by: sudhakaryadav
1 Replies

9. Windows & DOS: Issues & Discussions

Need Help on "waitfor" command in net::Telnet Module in PERL

Hi, Can anybody help me in writing command "waitfor" for string "C:\WINNT\Profiles\mfcf0508>" while using net::Telnet module. I tried the below format : $telnet->waitfor('/"C\:\WINNT\Profiles\mfcf0508>".*$/i'); Getting error as : pattern match timed-out Plz help me (3 Replies)
Discussion started by: sudhakaryadav
3 Replies

10. Shell Programming and Scripting

Need Help on "waitfor" command in net::Telnet Module

Hi, Can anybody help me in writing command "waitfor" for string "C:\WINNT\Profiles\mfcf0508>" while using net::Telnet module. I tried the below format : $telnet->waitfor('/"C\:\WINNT\Profiles\mfcf0508>".*$/i'); Getting error as : pattern match timed-out Plz help me (1 Reply)
Discussion started by: sudhakaryadav
1 Replies
Login or Register to Ask a Question
moovida(1)						      General Commands Manual							moovida(1)

NAME
moovida - open source cross-platform media center SYNOPSIS
moovida [ OPTION]... [ CONFIG FILE] DESCRIPTION
Moovida is an open source cross-platform media center solution designed to be simple for people not particularly familiar with computers. With Moovida you can enjoy: * Watch your pictures with previews and nicely animated slideshows. * Watch your movies and video clips as well as online ones. * Manage your music collection by artists or albums covers. * Moovida finds automatically medias on your network, from network drives, Windows Mediaplayer, etc. * Detects automatically iPods, cameras, USB hard drives, etc. Moovida runs on the top of the GStreamer multimedia framework and uses the Pigment library for graphical user interaction. You can use it with your mouse, lirc-input device or simply with the keyboard. OPTIONS
--version Print the version of Moovida. --twisted-version Print the version of twisted. -t, --tracebacks Output tracebacks on the console output. Disabled by default. -l, --log Log the output to the given file. --shell Open an interactive shell of the Moovida environment in the terminal. --headless Start Moovida in headless mode. --force-startup Start even when another instance is running. -f, --fullscreen Start fullscreen (default). -u, --unfullscreen Do not start fullscreen. -n, --nosplash Do not show the splash schreen on startup. -i, --import=FILE Import the given Python file and run it in the Moovida environment (used by Windows only). -c, --config-file=FILE Use the specified configuration file instead of the default one. --rss=URL Start Moovida with a specific URL of an RSS feed. --help Show usage information and exit. KEYBOARD CONTROL
To navigate through the menus, Moovida reacts on key presses: Basic keys Left/Right/Up/Down Move left/right/up/down f or Escape Toggle fullscreen mode Enter Activate/open selected item Backspace Go back Menu hidden and player active Left or v Seek backward Right or b Seek forward Up/Down Volume up/down Enter Toggle play/pause x Previous track of playlist c Next track of playlist List menu mode Up/Down Navigate in the current menu level Right Go in the "More Options" menu if there's one. If there's no such menu you in fact go to the top context bar. Enter Call the default action on the selected item (ex: play the movie if you are in a movie list) Backspace Go to previous menu Grid menu mode The user can navigate in the 4 directions (up, down, left, right) using the direction keys (Left/Right/Up/Down). When the first row of the grid is reached, the user can enter the top context bar by hitting Up key once more. When the last row of the grid is reached, the user can enter the grid context bar by hitting Down key once more. Navigation inside the grid context bar is horizontal, use Left/Right keys to navigate in the 3 buttons. To activate a button, press Enter. To leave the context bar, press Up key. Top context bar When navigating inside menus, there should always be a context bar available on the top of the window. Navigation inside this bar is horizontal, use Left/Right keys to navigate in the bar buttons. To activate a button, press Enter. To leave the context bar, press Down key. FILES
~/.moovida/moovida.conf REPORTING BUGS
Report Moovida bugs on Launchpad: <http://bugs.launchpad.net/elisa/>. AUTHORS
Moovida was written by the Moovida team <contact@fluendo.com>. This manual page was previously written Philippe Normand, got reworked by Benjamin Kampmann and updated by Paul van Tilburg. DISTRIBUTION
The latest version of Moovida may be downloaded from <http://www.moovida.com/>. 2009-07-14 moovida(1)