search for: stty

Displaying 20 results from an estimated 148 matches for "stty".

Did you mean: stts
2009 Mar 18
2
stty and sockets
With local com ports I can use stty to inspect the port settings. Is there a similiar method with a socket connection? I have an odd situation happening where my data collection program that is working on 3 machines is not working on the 4th. The program opens a socket to remote RS232 device no data is recieved. strangely though i...
2004 Dec 16
2
Strange command histories in hacked shell server
...gan ttyp0 0.02 secs Tue Dec 14 00:27 cat - tsgan ttyp0 0.00 secs Tue Dec 14 00:28 su - tsgan ttyp0 0.00 secs Tue Dec 14 00:28 sleep - tsgan ttyp0 0.00 secs Tue Dec 14 00:27 ^^^^^^ stty - tsgan ttyp0 0.00 secs Tue Dec 14 00:27 stty - tsgan ttyp0 0.00 secs Tue Dec 14 00:27 ^^^^^^ fortune - tsgan ttyp0 0.00 secs Tue Dec 14 00:27 ... I don't quite understand why he used sleep and s...
2003 Sep 24
1
stty: : Operation not supported on transport endpoint
...ails from IRIX 6.3 system which has OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f. I had to reinstall my Mandrake, and after that ssh gives me strange error messages. When I run command: ssh -f -L 1234:irixhost.somedomain.fi:110 irixhost.somedomain.fi sleep 5 on my Mandrake I get stty error mentioned on subject line. Also when I run: [tkn at localhost tkn]$ scp foobar.txt irixhost I get no error message, but when I run: [tkn at localhost tkn]$ scp foobar.txt irixhost: I get error again: stty: : Operation not supported on transport endpoint I am using rsa_key with passwo...
2000 Nov 20
1
openssh kills the stty values?
Hi all, I found that on some HP-UX 11 machines running openssh-2.3.0p1 the default values for intr in stty don't work. The problem is that stty shows the correct values but they don' work and I cannot det the values to others. Once I connect via telnet or rlogin I can use the intr-sequence. Any ideas? Thanks Stephan -- LDS Brandenburg Dr. Stephan Hendl fon: +49-(0)331-39 471 fax: +49-(0)331-...
2006 Dec 11
2
Small Rcmdr issue
Just installed Rcmdr on a Linux box. When I exit from both Rcmdr and R together from the regular Rcmdr exit menu, it leaves my xterm with "stty -echo", so that nothing that is typed appears. If I exit only Rcmdr, and then exit R normally, everything is okay (stty echo). Other than that minor irritant, everything seems to work just fine. Linux 2.6.16-gentoo-r3 Athlon 64 X2 3800+ R version 2.4.0 (2006-10-03) Rcmdr Version 1.2-5 --...
2004 Jul 11
2
smbldap-tools, setting password on command line?
...ese tools. I tried smbldap-passwd.pl testuser1 < pass where pass contains on two lines the passwort, but thats a solution I'm not proud of, especially since I get this warning/error: fileserver:~ # /opt/samba3/sbin/smbldap-passwd.pl testuser2 < testpasses Changing password for testuser2 stty: standard input: Inappropriate ioctl for device New password : stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device Retype new password : stty: standard input: Inappropriate ioctl for device Is there any straight-forward solution? With kind reg...
2009 Feb 28
2
devd question
I'm trying to make devd run an stty command whenever a USB serial device is attached. Unfortunately, $device-name is ucom[0-9] and the device names are /dev/cuaU[0-9] - how do I get the correct name in the device action? I haven't found a way to extract the number by itself, so I'm stuck with specifying a separate rule for...
2003 May 06
1
rsync/ssh/cygwin
...ssh -rav --exclude=SunWS_cache --exclude='*.o' --progress --stats amackenz@edw450-1-1:Code . amackenz@edw450-1-1's password: Warning: No xauth data; using fake authentication data for X11 forwarding. channel 0: chan_shutdown_read: close() failed for fd-1: Socket operation on non-socket stty: : Invalid argument stty: : Invalid argument rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) channel 0: chan_shutdown_write: close() failed for fd-1: Socket operation on non-socket rsync: read error: Connection rese...
2009 Jan 20
1
default stty profile settings in CentOS
Hi folks [Please CC me, I am not on the list] I am here at a customer who have this in profile (.cshrc): stty erase "^H" kill "^?" intr "^C" Backspace clears the hole command line. How is the CentOS default? kind regards Sven
2010 Mar 23
2
Samba / Lucid / Windows 7 problem
Hi list I'm running a Samba PDC on Ubuntu Lucid (3.4.7) and am unable to join Windows 7 machines to the domain. I have applied the registry changes described at http://wiki.samba.org/index.php/Windows7 Windows XP machines can join with no problems. Samba log: stty: standard input: Inappropriate ioctl for device Use of uninitialized value $pass in chomp at /usr/sbin/smbldap-useradd line 324. stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device Use of uninitialized value $pass2 in chomp at /usr/sbin/smbldap...
2001 Mar 12
1
Problems with SSH2 display under OpenServer
...em using SSH2. I've compiled OpenSSH 2.5.1p1 on SunOS 5.7, HP-UX 11, and OpenServer 5.0.5. Whenever the destination is the OpenServer system, the display has a step-ladder effect. This behavior exhibits itself no matter what box the origination point is. A quick inspection revealed that the stty settings of the login are not "standard". Manually changing the stty settings for that session alleviates the problem. Of course, when you reconnect, the problem pops up again. I've compiled the various systems using OpenSSL 0.9.6, zlib 1.1.3, and the most recent version of gcc ava...
2004 Jun 02
1
Unable to execute program from smbldap-passwd.pl om samba 3.0.4
Hello! Recently I've migrated from samba 2.2.8a to 3.0.4. I use ldap as user database backend. To synchronize unix password the smbldap-passwd.pl script is used. But I need to sync virtual mail passwords as well. That is why I added to the script few lines of code. Mainly I call external programs. The code is like this: system("/etc/cron.hourly/sqwebmail-cron-cleancache"); When I
2004 Feb 25
1
probleb with 'passwd chat' and 'passwd program'
...d (coucou) is send two times. You can find the logs bellow. But the script should normally also changed the userPassword attribut and this is not done. The smbldap-passwd script read the passwords like that (it's a perl script) : -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= system "stty -echo"; print "New password : "; chomp($pass=<STDIN>); print "\n"; system "stty echo"; system "echo pass=$pass >> /tmp/bla.txt"; system "stty -echo"; print "Retype new password : "; chomp($pass2=<STDIN>); print &quo...
2000 Mar 16
2
default-path
...pace/local/bin but when I log in to the system, I get ssh wierdlm at karadi wierdlm at karadi.msci.memphis.edu's password: Warning: Remote host denied X11 forwarding. Last login: Thu Mar 16 12:28:52 2000 from wierdlmpc.msci.m Sun Microsystems Inc. SunOS 5.6 Generic August 1997 bash: stty: command not found bash: stty: command not found bash: stty: command not found bash: uname: command not found I suppose I need to put some more dirs in default-path. What other dirs do I need to specify on my Solaris box? What is the syntax to specify a path? Is it correct to write --with-defa...
2000 Nov 22
1
Antw: Re: openssh kills the stty values?
...acked down in the source were the problem was, but I cannot remember if a patch was ever submitted and integrated. -Garrick James On Mon, 20 Nov 2000, Stephan Hendl wrote: > Hi all, > > I found that on some HP-UX 11 machines running openssh-2.3.0p1 the > default values for intr in stty don't work. The problem is that stty > shows the correct values but they don' work and I cannot det the > values to others. Once I connect via telnet or rlogin I can use the > intr-sequence. > > Any ideas? > > Thanks > Stephan > > > -- > LDS Brandenbu...
2017 Feb 12
1
Pressing either Ctrl-\ of Ctrl-4 core dumps R
...R without saving workspace 4: exit R saving workspace 5: ignore SIGQUIT (continue evaluation) Selection: giving the option to ignore a SIGQUIT send by mistake. Not sure how big of a problem this is (I'm surprise I never hit Ctrl+\ by mistake previously). Also, I'm sharing my notes about stty and SIGQUIT in case someone else finds them useful: My terminal (Linux / Ubuntu 16.04) settings are the same as Bill's (stty --all). Thus, pressing Ctrl+\ causes the terminal to signals SIGQUIT to the running process (= R). Since R does not handle / capture this specifically, this results in...
2002 Nov 04
1
[R] CTRL-C suspends echo of shell (R versions 1.6.0 and 1.6.1) (PR#2253)
Problem: - Shell does not echo anymore after using CTRL-C (to interrupt calculations) once during a R session. Procedure: - [start session] R - [input] CTRL-C - [end session] q() Some details: - `stty` before: speed 38400 baud; line = 0; lnext = <undef>; - `stty` after: speed 38400 baud; line = 0; lnext = <undef>; min = 1; time = 0; -icrnl -icanon -echo I have seen the problem in versions 1.6.0 and 1.6.1, but not in 1.5.1 which I am running on SuSE Linux 7.3. The shell used...
2004 Jan 14
0
Réf. : samba 2.2.8a PDC LDAP CTRL+ALT+DEL password change, not chaning Unix password
...$user))) { print "$0: user $user doesn't exist\n"; exit (10); } my $dn = get_dn_from_line($dn_line); my $samba = is_samba_user($user); print "Changing password for $user\n"; # non-root user if (!defined($oldpass)) { # prompt for current password system "stty -echo"; print "(current) UNIX password: "; chomp($oldpass=<STDIN>); print "\n"; system "stty echo"; if (!is_user_valid($user, $dn, $oldpass)) { print "Authentication failure\n"; exit (10); } } # prompt for new password my $pass;...
2001 Mar 30
4
linux tcsetattr failed
does anyone else see this on linux: localhost sshd[14418]: Accepted password for stevesk from 15.126.45.158 port 49594 localhost sshd[14418]: Setting tty modes failed: Invalid argument redhat with kernel 2.2.17. ttymodes.c: /* Set the new modes for the terminal. */ if (tcsetattr(fd, TCSANOW, &tio) < 0) log("Setting tty modes failed: %.100s", strerror(errno)); return;
2016 Apr 20
2
Backspace key does not work in a ssh chroot jail
I setup a ssh chroot jail following this[1] guide. It works for my user to login, use ls and use scp which is all I really want. I do have a problem I cannot solve: when connected and navigating the filesystem, the backspace key actually moves the cursor forward and does not delete what I type. I may have found a hint from some googling that readline will read in /etc/inputrc on login but if