Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2007

Tip: Looking for answers? Try searching our database.

How to disable the option of writing to the screen in tcsh

Thread view: 
Gali - 30 Jul 2007 20:07 GMT
Hello,

I need to disable the option to write to the screen in tcsh. in ksh:
"stty -echo" works but i can't find somthing similar in tcsh. I also
would like to undo this option in specific scenario,

Thanks,
Gali.
Matthias Buelow - 30 Jul 2007 20:51 GMT
> I need to disable the option to write to the screen in tcsh. in ksh:
> "stty -echo" works but i can't find somthing similar in tcsh. I also
> would like to undo this option in specific scenario,

The stty command sets the terminal in non-echoing mode, it is not a
shell builtin and such it doesn't matter what shell you use. It might
work on ksh since the (original) ksh is using some clever combination of
raw and cooked mode and thus can have the terminal echoing (or not
echoing) things. I don't know if ksh93 still does this, though. Tcsh is
doing character-by-character reads and echoes back on its own, so stty
-echo doesn't have an effect on it. You can however try to disable
tcsh's editor with "unset edit", in which case, tcsh will revert to
reading full lines from the terminal (in raw mode). This should achieve
what you want.

F'up-to comp.unix.shell, since it doesn't belong in this newsgroup.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.