Lines Matching refs:ptr
78 struct pmtab *ptr; in main() local
97 if ((ptr = ALLOC_PMTAB) == PNULL) { in main()
101 ptr->p_modules = ""; in main()
102 ptr->p_dmsg = ""; in main()
103 ptr->p_termtype = ""; in main()
104 ptr->p_softcar = ""; in main()
105 ptr->p_prompt = "login\\: "; in main()
117 ptr->p_device = optarg; in main()
142 ptr->p_termtype = optarg; in main()
148 ptr->p_softcar = "y"; in main()
152 ptr->p_softcar = "n"; in main()
159 ptr->p_server = optarg; in main()
171 ptr->p_ttylabel = optarg; in main()
175 ptr->p_modules = optarg; in main()
179 ptr->p_prompt = prompt; in main()
180 copystr(ptr->p_prompt,optarg); in main()
183 ptr->p_dmsg = dmsg; in main()
184 copystr(ptr->p_dmsg,optarg); in main()
197 if (check_device(ptr->p_device) != 0) in main()
199 if (check_cmd(ptr->p_server) != 0) in main()
201 if (check_label(ptr->p_ttylabel) != 0) in main()
203 if (mflag && (vml(ptr->p_modules) != 0)) in main()
208 ptr->p_device, ttyflags, count, ptr->p_server, in main()
209 timeout, ptr->p_ttylabel, ptr->p_modules, in main()
210 ptr->p_prompt, ptr->p_dmsg, ptr->p_termtype, in main()
211 ptr->p_softcar); in main()