Nano editor suspended using Ctrl+Z does not resume properly while run in switch user (su) environment
Issue
-
Login to a RHEL5 server as any user
-
Switch to another user with su command
su - username
- Now launch nano editor using -z option to enable suspend ability
nano -z filename
- Hit Ctrl + Z to suspend the file
- Type fg to return to the file
- File is not displayed properly and unable to use any nano commands.
Environment
- Red Hat Enterprise Linux 5
- Nano
- Switch User (su)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
