Dear all,
when I do a remote shell command from a FUJITSU Unix to an HP-UX,
I always get this:
but no problem when I login on the remote machine and type the same command.
If I do a rsh ... "tty" I receive
while a tty directly on the remote machine give:
while a rsh ... "stty":
and directly on the remote machine :
I tried loading profile files at the beginning of the rsh command,
and changing some option regarding stty, but it does not work and I'm not able to solve the problem, and it's important for the execution of a shell script
from a remote calculator.
Thank you in advance,
In bash, you can do something like this:
#!/bin/bash
echo -n "What is your name? " > /dev/tty
read thename < /dev/tty
How can I do the same in python?
I have a python script that has the following content:
#!/usr/bin/python2.7
import getpass
import sys
import telnetlib
import... (2 Replies)
I am not sure if I am using the correct terminology but somehow my tty keeps changing on me. The man pages are confusing to me on what exactly the tty is. This is what I see when I run the tty command. Could anyone explain why my tty keeps changing?
~ $ tty
/dev/pts/1
~ $ tty
/dev/pts/0 (6 Replies)
It's happened multiple times and I can't figure out why it's happening or how to undo it, but hitting CTRL-S seems to disable the given TTY on 'nixes of various flavors. Killing the pid doesn't bring the tty back, I end up having to use other tty's until I reboot.
Anyone got some information for... (2 Replies)
When I do a who command I get the following:
mohit :0 2009-04-07 14:07
mohit pts/0 2009-04-07 17:25 (:0.0)
mohit pts/1 2009-04-09 12:07 (:0.0)
mohit pts/2 2009-04-16 11:38 (:0.0)
mohit pts/3 2009-04-16 16:09 (:0.0)
mohit pts/4 ... (1 Reply)
I'm hoping someone can help me out here.
I'm having a problem on my Red Hat Enterprise 5 Server where my tty devices "tty" are being set to read only permissions.
I need them to be set to 777 in order to write to the serial printers through a custome application.
I have gone through many... (2 Replies)
hi iam very new to linux can anyone tell me about pts and tty
acctually today morning i logged into my pc at 9:51
when i have given #who
it has given
sam tty7 9:51
sam pts/1 10:11
so what does it mean (1 Reply)
Hi gurus,
Need help to code some tools dealing with all the tty thingies, raw mode etc ....
Can you juss point me to some cool links related to tty programming, i've tried google but found none so far :confused:
Thanks all. (2 Replies)